Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2006
    Location
    Vermont
    Posts
    128
    Plugin Contributions
    0

    Default 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:
    [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.

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    3,800
    Plugin Contributions
    60

    Default 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
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  3. #3
    Join Date
    Dec 2006
    Location
    Vermont
    Posts
    128
    Plugin Contributions
    0

    Default 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 View Post
    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

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    3,800
    Plugin Contributions
    60

    Default 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
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

 

 

Similar Threads

  1. v151 How to debug when NO ERROR LOG file created?
    By Jeff_Mash in forum General Questions
    Replies: 8
    Last Post: 24 Jan 2014, 10:50 PM
  2. PHP Error - Blank Page w/ log files from debug utility.
    By jester8131 in forum General Questions
    Replies: 2
    Last Post: 5 Feb 2010, 05:35 AM
  3. Getting a blank page, debug error-logging not working
    By credenscel in forum General Questions
    Replies: 7
    Last Post: 26 Jul 2009, 07:32 PM
  4. Reading Debug error log
    By billscheltema in forum General Questions
    Replies: 18
    Last Post: 2 Feb 2009, 11:17 PM
  5. My Debug Error Log
    By chris32882 in forum General Questions
    Replies: 2
    Last Post: 13 Nov 2008, 10:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR