By: srabutdotcom
Date: 2013-01-21
Time: 03:42
|
sometime error sometime is notDear Skrol.
My website at http://erozashop.com sometime show an error like
but sometime no error. Could anyone help me what is wrong.? Rgds |
||
By: Sarah
Date: 2013-01-21
Time: 19:46
|
Re: sometime error sometime is notIs there any way that that file sometimes doesn't exist? Have you tried loading the file directly when you are seeing the error? When you say sometimes it gives an error, do you mean a single page load will error and the next will be fine, or that you have outage periods when you will get the error several times in a row?
If the file is non-essential, you can always hide the error with parameter 'noerr': |
||
By: Skrol29
Date: 2013-01-21
Time: 23:46
|
Re: sometime error sometime is notAnother thing to check: the TBS field uses parameter "file" but the file path is an URL. This makes PHP to open a file using an HTTP request, this is strange and not optimized. Your file path should better be a local path, from the point of view of the server.
|
||
By: srabutdotcom
Date: 2013-01-23
Time: 21:21
|
Re: sometime error sometime is notThanks all,
Skrol advise is good but i have to use a full path using
so every different path of html loaded php call the same source of path instead relative to path of html opened. Do you have a better idea.? regards |
||
By: Skrol29
Date: 2013-01-27
Time: 01:39
|
Re: sometime error sometime is not>so every different path of html loaded php call the same source of path instead relative to path of html opened. >Do you have a better idea.? You can use a static path but for Linux, not for an HTTP request. Something like "/httpdocs/js/". |
||
By: handoko
Date: 2013-01-27
Time: 01:45
|
Re: sometime error sometime is notYes it work for
thanks anyway Skrol |