Jump to content

Recommended Posts

Posted (edited)

Hi

I just checked my error log and found thousands of these errors just for today!

Help please!

Claudia

 

[10-Jul-2017 16:02:55 UTC] PHP Warning:  Security Warning: Illegal array key "$Path" was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 111
[10-Jul-2017 16:02:55 UTC] PHP Warning:  Security Warning: Illegal array key "$Domain" was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 111
[10-Jul-2017 16:02:55 UTC] PHP Warning:  Security Warning: Illegal array key "$Version" was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 111
[10-Jul-2017 16:02:55 UTC] PHP Warning:  Security Warning: Illegal array key "$Path" was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 111
[10-Jul-2017 16:02:55 UTC] PHP Warning:  Security Warning: Illegal array key "$Domain" was detected and was removed. in /home/claudias/public_html/classes/sanitize.class.php on line 111

 

Edited by Claudia M

Posted

These "look" like the parts of info passed via cookie.

The question is, what outside entity is sending these corrupted cookies.

You may be able to determine that by looking at CubeCart's admin, Statistics, Users Online tab.

If not, then examining the web site's access logs in your hosting control panel should reveal the IP address.

Then find out who owns that IP address.

We would need to add some diagnostic code to show what exactly the cookie contains.

Posted

I looked at the CubeCart's admin, Statistics, Users Online tab and didn't find any times that matched my Cpanel access log. I've contacted Havenswift (my host) and Ian is looking into it.

Thanks Brian, may still need your help!

Claudia

Posted

Your Users Online tab may show times set to your store's timezone. The error log shows UTC. You may need to add or subtract a number of hours (minutes will be equal) to match up the two lists.

Posted

I did find this:  The IP address A LOT!!!  I didn't know who they were so I looked them up.  IP 104.131.50.243 belongs to Digial Ocean, Inc. a cloud service.  Never heard of them.  also that OpenLinkProfiler.org  Don't know about them

104.131.50.243 - - [10/Jul/2017:18:40:14 +0100] "GET /deer-or-buck-in-the-woods-small-dreamcatcher.html HTTP/1.1" 200 18041 "https://www.claudiasbargains.com/sitemap.html" "Mozilla/5.0 (compatible; spbot/5.0.3; +http://OpenLinkProfiler.org/bot )"

Posted

What caused all my errors was a bot called Baidu.  Business is located in China, but the IP is from Brazil.  This is concerning.   Ian from Havenswift thinks it might be a spider making itself look like it is from Baidu when it actually isn’t. We both read that Baidu does not respect robots. txt, but this may be why.  It isnt Baidu at all !  Anyway, I added the following to my robots.txt.  I’m going to clear my error log and see what happens.  No more errors we know it’s Baidu.  Lots more errors we know it isn’t and .htaccess changes come into play.  Thank you Ian for all your help.

User-agent: Baiduspider
Disallow: /

and

User-agent: Baiduspider-image
Disallow: /

  • Like 1
Posted

I've had trouble with Baidu before and had already added the Disallows. I was not using Ian's hosting at that time and had to figure it out for myself. It's situations like this that make Havenswift Hosting my preference.

  • Like 1
Posted

Thank you to both of you for the kind words.  I do see this on quite a few sites and it is usually just the odd warning line entry here and there in the error_log, but 8500 entries in a little over one hour was a bit extreme !

Ian

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...