Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2008
    Posts
    27
    Plugin Contributions
    0

    Default admin/whos_online.php error: Maximum execution time of 60 seconds exceeded

    Hi, i have zen cart1.38a, have a few addons on it, everything working ok, (have made some modifications prior to this problem, so first thing to try was to revert to backups for the files modified)
    Yesterday i noticed that the admin/whos_online.php is taking a long time to load, around 1 minute. Also all visitors have active carts icon(green) assigned to then, even thou there shopping cart is empty and customers ho have items in the shopping cart , these dont show up in admin/whos_online.php. I have also installed User Traking mod and there active customers with shopping cart are assigned User Shopping Cart :session expired, so nowhere is the shopping cart off customers displayed in the admin.
    Also noticed that i get an error in the logs like this:
    PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/xxxxxxxx/public_html/xxxxxxxx/admin/whos_online.php on line 416
    or
    PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/xxxxxxxx/public_html/xxxxxxxx/admin/whos_online.php on line 410
    Around line 409-421 i have in admin/whos_online.php
    PHP Code:
    for ($i=$start_cart$i<$length$i++) {
            if (
    $session_data[$i] == '{') {
              if (isset(
    $tag)) {
                
    $tag++;
              } else {
                
    $tag 1;
              }
            } elseif (
    $session_data[$i] == '}') {
              
    $tag--;
            } elseif ( (isset(
    $tag)) && ($tag 1) ) {
              break;
            }
          } 
    I have tried to revert to full backups but no result, tried older backups also. I think that is has to do with sesions but dont know where to look for the problem. Did not trye older DB backup.
    Any help is welcome.
    Best regards Zoli.

  2. #2
    Join Date
    Nov 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: admin/whos_online.php error: Maximum execution time of 60 seconds exceeded

    Mine started doing the exact same thing last night


    Help would be GREAT

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: admin/whos_online.php error: Maximum execution time of 60 seconds exceeded

    Your hosting company has probably enabled suhosin on your server, which is not compatible with Zen Cart v1.3.8 and earlier.
    http://www.zen-cart.com/forum/showpost.php?p=507685
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jan 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: admin/whos_online.php error: Maximum execution time of 60 seconds exceeded

    hmm. having the same problem. I will check on the status of suhosin

 

 

Similar Threads

  1. Maximum execution time of 60 seconds exceeded
    By doooomed in forum General Questions
    Replies: 5
    Last Post: 1 Dec 2011, 11:30 PM
  2. Maximum execution time of 30 seconds exceeded - At random times
    By spetznaz2588 in forum Installing on a Windows Server
    Replies: 5
    Last Post: 17 Feb 2011, 07:58 PM
  3. Maximum execution time of 60 seconds exceeded in whos_on line.php
    By haroldpage in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 21 May 2010, 01:55 AM
  4. Who's Online - maximum execution time exceeded?
    By frank18 in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 19 Apr 2010, 06:48 AM
  5. Replies: 30
    Last Post: 20 May 2009, 05:44 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