Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    46
    Plugin Contributions
    0

    Default Whos_online.php throwing a fatal error all of sudden

    Few different things going on.. I need some help tracking down the problem.

    SOME BACKGROUND (although i cant tell you if it actually started after one of these changes, i had been hacked over a week ago and while that issue is resolved, my mind is still on overload.)

    I am using version 1.3.7

    I did change the name of my admin recently, changed in configure file.. not having any other issues regarding that.

    I did just recently install the captcha mod.


    PROBLEMS:
    Each time there are actual customers on the site and i choose "whos online" from admin.. it hangs for a long time and while it does give me partial information, the cart contents (if any) that i used to be able to see is GONE and i get this error above the info

    Fatal error: Maximum execution time of 60 seconds exceeded in /public_html/shop/MY ADMIN NAME/whos_online.php on line 416

    the line number changes on the error... sometimes line 410, sometimes 419 etc.

    Can someone please help me figure out what got changed, and what i need to do to get it back so i can see cart contents and not have it hang so long?

    TIA!
    Melissa

  2. #2
    Join Date
    Aug 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Whos_online.php throwing a fatal error all of sudden

    Now im getting a "500 Internal server error" when i try to click on "who's online"

    this only happens if there are actual shoppers, if it is just bots or no one is one, it will bring the page up fine.

    anyone please?????

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Whos_online.php throwing a fatal error all of sudden

    Not knowing how you were hacked or the remedy used, might be best to remove all Zen Cart files and install the current version. You can keep your database as that should be OK.

    As to the timeout problems, did they start after the hack episode? If the timeouts were happening before then it could be a Server overloaded situation.

  4. #4
    Join Date
    Sep 2006
    Posts
    20
    Plugin Contributions
    0

    Default Re: Whos_online.php throwing a fatal error all of sudden

    see also thread
    http://www.zen-cart.com/forum/showthread.php?t=85765

    others are having admin who's online timeouts...

    this sounds like possibly a zen-cart php5 issue?

    I get it with a 1.3.7 version and 1.3.8a
    for admin who's online.

    SO it may be the version of mysql and PHP, likely php ?

    mysql-server-5.0.51
    php5-core-5.2.5p1

  5. #5
    Join Date
    Sep 2006
    Posts
    20
    Plugin Contributions
    0

    Default Re: Whos_online.php throwing a fatal error all of sudden

    In the other thread, CJPinder may have spotted it...
    http://www.zen-cart.com/forum/showth...d=1#post506074

    It may be in an endless for next loop, thus when time expires the actual last line varies a litte.

    perhays the $start_cart used to define loop was not an integer?

    TRY putting
    settype($start_cart,"integer");

    before


    for ($i=$start_cart; $i<$length; $i++) {

  6. #6
    Join Date
    Jun 2006
    Location
    Oz
    Posts
    31
    Plugin Contributions
    0

    Default Re: Whos_online.php throwing a fatal error all of sudden

    Hi Guys... just thought I would let people know, I had the same problem with new 1.3.8a install on php5.
    I tried .htaccess files and php.ini files none worked except the above line of code.
    TRY putting
    settype($start_cart,"integer");

    before

    for ($i=$start_cart; $i<$length; $i++) {

    Worked great... Thanks

 

 

Similar Threads

  1. Replies: 6
    Last Post: 16 Jul 2013, 10:58 PM
  2. sudden headers error in flat.php and func_general.php
    By glennnphp in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 28 Jul 2009, 03:22 PM
  3. fatal error, page not working all of a sudden
    By millo_magno in forum General Questions
    Replies: 0
    Last Post: 25 Jan 2008, 08:48 PM
  4. paypal express throwing PHP error?
    By SarahL in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 1 Nov 2007, 02:38 PM

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