Site down, getting error in debug error log
Hi,
My site has been acting odd for several days, possibly due to some hacked code that was found by my ISP, and I've just gotten it back to somewhat of a 'workable' state...
I still have a problem that the site doesn't display properly, due to an error, I think.
The error is:
Quote:
[24-Mar-2009 20:56:53] PHP Warning: Variable passed to each() is not an array or object in /home/rcrosier/public_html/includes/classes/db/mysql/query_factory.php on line 114
[24-Mar-2009 20:56:53] PHP Warning: Variable passed to each() is not an array or object in /home/rcrosier/public_html/includes/classes/db/mysql/query_factory.php on line 114
Can anyone tell me what might be causing this, or how to figure it out?
Thanks.
Re: Site down, getting error in debug error log
If you have been hacked then to be safe you should restore your cart's files from an unhacked backup or restore the default ZC files from a fresh copy.
Once access is made, you cannot be sure where they went and what they did.
~Melanie
Re: Site down, getting error in debug error log
I did a complete restore from a "non-hacked" backup last night, and today it's BAACK... that's why I think the host has a problem.
I've notified them about it.
I just downloaded my entire site to my local PC, and searched for that hack code, and found 44 files that have it now... they are all clean on my backup copy.
I'm repairing them now, but don't know what to do to stop it from happening again, and not sure I even CAN stop it.
It's even in PHP files for sub-domains I have, that have not been used for months...
Quote:
Originally Posted by
mprough
If you have been hacked then to be safe you should restore your cart's files from an unhacked backup or restore the default ZC files from a fresh copy.
Once access is made, you cannot be sure where they went and what they did.
~Melanie
Re: Site down, getting error in debug error log
1. Change every single password associated with your hosting account and website http://www.pctools.com/guides/password/
2. Remove anonymous FTP access
3. Remove any shell access
4. Make sure your cart is properly patched http://www.zen-cart.com/forum/forumdisplay.php?f=2
~Melanie