Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My error log is flooding with duplicate errors


bigbob2

Recommended Posts

Posted

I am having a problem with my 2.3.3 site overloading it's allocated memory space on the shared hosting server and in viewing the error log, I notice that every time I view a page in IE9, there are 8 duplicate errors for that page. If I view a page in Chrome, there are no errors. So now I am thinking that my problem is caused by some weird Internet Explorer incompatibility. Can anyone suggest anything that I could try?

 

For example:

 

[Tue Aug 06 13:19:32 2013] [error] [client 203.167.191.74] File does not exist: /home/acme2/public_html/store/fancybox, referer: http://www.mydomain.com/store/product_info.php/product22-p-218
[Tue Aug 06 13:19:32 2013] [error] [client 203.167.191.74] File does not exist: /home/acme2/public_html/store/fancybox, referer: http://www.mydomain.com/store/product_info.php/product22-p-218
[Tue Aug 06 13:19:32 2013] [error] [client 203.167.191.74] File does not exist: /home/acme2/public_html/store/fancybox, referer: http://www.mydomain.com/store/product_info.php/product22-p-218
[Tue Aug 06 13:19:32 2013] [error] [client 203.167.191.74] File does not exist: /home/acme2/public_html/store/fancybox, referer: http://www.mydomain.com/store/product_info.php/product22-p-218
[Tue Aug 06 13:19:32 2013] [error] [client 203.167.191.74] File does not exist: /home/acme2/public_html/store/fancybox, referer: http://www.mydomain.com/store/product_info.php/product22-p-218
[Tue Aug 06 13:19:32 2013] [error] [client 203.167.191.74] File does not exist: /home/acme2/public_html/store/fancybox, referer: http://www.mydomain.com/store/product_info.php/product22-p-218
[Tue Aug 06 13:19:32 2013] [error] [client 203.167.191.74] File does not exist: /home/acme2/public_html/store/fancybox, referer: http://www.mydomain.com/store/product_info.php/product22-p-218
[Tue Aug 06 13:19:32 2013] [error] [client 203.167.191.74] File does not exist: /home/acme2/public_html/store/fancybox, referer: http://www.mydomain.com/store/product_info.php/product22-p-218

 

Thanks

Kev

Posted

I suggest you take a look at the file product_info.php and check where it is calling "fancybox", maybe there's an interpretation error that other browsers disregard...

Posted

Look in the HTML code (browser View > Page Source) and see the exact code in and around this "fancybox" reference, for a browser that works and one that doesn't. Is "fancybox" the full name of the file, or is it missing an extension or is it a directory? IE seems to be interpreting it as a file. If it's supposed to be a directory, the fix may be as simple as tacking a / on the end. If the code is different, or some of it is in IE-only mode, could you paste both sections here? *** out domain names and hosting account numbers, etc.

 

You might also look at "compatibility mode" in IE to see if that has any effect. Unfortunately, you don't want to have to have your customers change their browser configurations. However, that could be more information towards solving this.

Posted

Hi there, thanks for your time. There are a few references to the fancybox thing when viewing the page source, so here they all are:

 

<link rel="stylesheet" type="text/css" href="ext/jquery/fancybox/jquery.fancybox-1.3.4.css" />
<script type="text/javascript" src="ext/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script>

 

<li class="wrapper_pic_div"><a href="http://www.mydomain.com/catalog/images/Phone.jpg" target="_blank" rel="fancybox" title="" class="prods_pic_bg" style="width:225px;height:302px;"><img src="images/Phone.jpg" alt="" width="225" height="302"  style="width:225px;height:302px;margin:0px 0px 0px 0px;" />

 

<li class="wrapper_pic_div"><a href="http://www.mydomain.com/catalog/images/phone2.jpg" target="_blank" rel="fancybox" title="" class="prods_pic_bg" style="width:225px;height:302px;"><img src="images/phone2.jpg" alt="" width="225" height="302"  style="width:225px;height:302px;margin:0px 0px 0px 0px;" />

 

 

<script type="text/javascript">
   $("#piGal a[rel^='fancybox']").fancybox({
  cyclic: true
   });
   </script>

 

Thanks again for your help.

Kev

Posted

Oh and here is the IE bit:

 

<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>    <!--[if lt IE 9]>
  <link href="css/ie_style.css" rel="stylesheet" type="text/css" />
   <![endif]-->
 <script type="text/javascript" src="ext/js/imagepreloader.js"></script>
 <script type="text/javascript">
 preloadImages([
 // 'images/user_menu.gif',
  'images/bg_list.png',
  'images/hover_bg.png',
  'images/nivo-nav.png',
  'images/button_content.png',		
  'images/wrapper_pic.png',
  'images/wrapper_pic-act.png']);
</script>

Posted

Assuming you're running in /store, the only thing I can see that would come close to generating a reference to /store/fancybox might be the jQuery in the last part of your code post. It might not hurt to double check that you have the appropriate level of jQuery libraries installed, although if other browsers work correctly, presumably you do. Recent versions of IE (especially 9 and 10) are supposedly extremely strict about the HTML they're handed, so maybe you could run your page through the W3C validator and see if it complains about anything (validator.w3.org).

Archived

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

×
×
  • Create New...