Zen Cart Logo
Forums / General Questions / Very Odd Error Logs

Very Odd Error Logs

Locked

Views: 1,061

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
18 Aug 2010, 10:47 AM
#1
spo0f avatar

spo0f

Zen Follower

Join Date:
Aug 2007
Posts:
109
Plugin Contributions:
0

Very Odd Error Logs

Hi,

I am getting error logs for every page i visit on my site, and example of two are:

[Wed Aug 18 11:39:17 2010] [error] [client 86.132.190.212] File does not exist: /home/mydir/public_html/403.shtml, referer: http://www.mydomain.co.uk/

[Wed Aug 18 11:39:17 2010] [error] [client 86.132.190.212] client denied by server configuration: /home/mydir/public_html/includes/templates/mytemp/images/index.php, referer: http://www.mydomain.co.uk/

Does anyone have any idea what this maybe, the site seems to be functioning perfectly on the front end??

18 Aug 2010, 11:18 AM
#2
spo0f avatar

spo0f

Zen Follower

Join Date:
Aug 2007
Posts:
109
Plugin Contributions:
0

Re: Very Odd Error Logs

also getting:

[Wed Aug 18 12:15:09 2010] [error] [client 86.132.190.212] client denied by server configuration: /home/mydir/public_html/includes/templates/temp/images/index.php, referer: http://www.mydomain.co.uk/min/?f=/includes/templates/temp/css/stylesheet.css,/includes/templates/temp/css/stylesheet_inc_ex_tax.css,/includes/templates/temp/css/stylesheet_slimbox_ex.css&1253106834

18 Aug 2010, 8:34 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Very Odd Error Logs

The system is specifically and intentionally set up to prevent browser access to .php files under the /includes/ folder.

But, something in one of your addons is trying to load /includes/templates/temp/images/index.php, which breaks those important rules.

Fix whatever you've got that's trying to access that file, and those messages will go away.

The ONLY files you should ever be accessing under the /includes/ folder is the .css and .js and .jpg/.gif/etc files for display purposes. Accessing .php files there is a no-no.

19 Aug 2010, 7:30 PM
#4
spo0f avatar

spo0f

Zen Follower

Join Date:
Aug 2007
Posts:
109
Plugin Contributions:
0

Re: Very Odd Error Logs

Hi,

Thank you for your advice so far. How would you recommend i track what add on is causing this. Secondly what should i do for the 403 shtml erorr log, as far as im aware there should not be a 403 shtml file in zencart. Would you advise editing the htaccess?

Thanks,

Elliot

19 Aug 2010, 7:38 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Very Odd Error Logs

Spo0f:

How would you recommend i track what add on is causing this.Well, since nothing of that sort exists in original Zen Cart files, I suggest you compare your site against original Zen Cart files to see what's different.
Then analyze every addon you've installed to see if any of them do something rogue like that.
Spo0f:

Secondly what should i do for the 403 shtml erorr log, as far as im aware there should not be a 403 shtml file in zencart.
Correct, there's no such file included with Zen Cart.
Every host configures their server differently. It's common for hosts to point to a 403.shtml file when 403 errors occur, allowing you to simply create a custom 403-error-page as 403.shtml. Or you can just ignore it.