Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error in apache? using sts template?


eberswine

Recommended Posts

Posted

Looking at my apache error log, I found that every time i visit my store ,.. I get the following:

 

[Wed Jun 16 13:37:42 2010] [error] [client ip address here] File does not exist: /var/chroot/home/content/5/5/5/website/html/shop/catalog/undefined

 

 

I am using sts templates and a few other plugins/add ons.. I am baffled on what this is??? especially because it says undefined.. what does this mean?

 

any clues?

 

Thanks in advance!

Posted

The web page it's trying to open is named "undefined". It's looking for "/shop/catalog/undefined" and can't find it, because it obviously doesn't exist.

 

Can't help you more than that, unfortunately. Perhaps you could do a source code search for the string "undefined".

Check out Chad's News.

Posted

If you can't find "undefined" in the PHP code, it's possible that it's bad Javascript code that is requesting a bad file name from the server, possibly in a link. It's failing to determine the name when it builds the link or whatever, because it's using an "undefined" variable. It's possible that someone has planted some hack in your store's Javascript, but you won't find "undefined" in the page source. If that's what's going on, you'll have a lot of debugging to do. Maybe start by looking at all your store's files (.php, .js, etc.) and seeing if anything has a very recent date, later than anything you can account for with changes/add-ons you've made.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...