Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31
  1. #11
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: 1.3.9 whos online error?? maybe

    Kitcorsa,

    If Who's Online was working for you in v1.3.8 then try the following:

    Edit /admin/whos_online.php and at line 386-389 there should be these lines:
    PHP Code:
    $suhosinExtension extension_loaded('suhosin');
    $suhosinSetting strtoupper(@ini_get('suhosin.session.encrypt'));
    $hardenedStatus = ($suhosinExtension == TRUE || $suhosinSetting == 'On' || $suhosinSetting == 1) ? TRUE FALSE;
    if (
    $session_data != '' && $hardenedStatus == TRUE$session_data ''
    Remove those lines and then upload the modified file to your /admin directory.

    Hopefully that should allow you to see the contents of people's carts. If they are still not showing, ask your host to turn off Suhosin Session Encryption.

    Regards,
    Christian.

  2. #12
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: 1.3.9 whos online error?? maybe

    this was on line 771 for my when using Notepad++

  3. #13
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: 1.3.9 whos online error?? maybe

    Quote Originally Posted by kitcorsa View Post
    this was on line 771 for my when using Notepad++
    The v1.3.9 /admin/whos_online.php file only has 453 lines. Are you using an add-on that replaces that file?

    Did removing the lines allow you to see the contents of visitors carts?

    Regards,
    Christian.

  4. #14
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: 1.3.9 whos online error?? maybe

    yes removing the line allowed the whos online cart to return.

    nope i have found on alot of files when using notepad++ the line count differs. if using the standard notpad the line count is correct.

  5. #15
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: 1.3.9 whos online error?? maybe

    Quote Originally Posted by kitcorsa View Post
    yes removing the line allowed the whos online cart to return.
    Cool. Glad you got it working.

    Quote Originally Posted by kitcorsa View Post
    nope i have found on alot of files when using notepad++ the line count differs. if using the standard notpad the line count is correct.
    How odd, it was notepad++ I was using to look at the file and determine the line numbers.

    Regards,
    Christian.

  6. #16
    Join Date
    Jan 2005
    Posts
    186
    Plugin Contributions
    0

    Default Re: 1.3.9 whos online error?? maybe

    Is there a workaround for 1.3.9e whos_online.php yet?

    Thanks,
    Marc

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

    Default Re: 1.3.9 whos online error?? maybe

    The workaround is in v1.3.9e, which was released yesterday.
    .

    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.

  8. #18
    Join Date
    Jan 2005
    Posts
    186
    Plugin Contributions
    0

    Default Re: 1.3.9 whos online error?? maybe

    Hmmm, I upgraded first thing yesterday morning when I saw the email alert. Who's Online is working but I am not able to see the items in the shoppers cart again. I even tried uncommented the line that mentioned having suhosin and seeing errors but still not seeing the cart items. Any suggestions?

    Thanks,
    Marc

  9. #19
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: 1.3.9 whos online error?? maybe

    Hi,

    I think the problem is because the code is checking if suhosin is installed but not checking if session encryption is turned on or off. Try this...

    Edit /admin/whos_online.php and starting at line 387 you should see...
    PHP Code:
        if (!$suhosinExtension) {
          if (
    strpos($session_data'cart|O') == 0$session_data base64_decode($session_data);
          if (
    strpos($session_data'cart|O') == 0$session_data '';
        } 
    ...change it to...
    PHP Code:
          if (strpos($session_data'cart|O') == 0$session_data base64_decode($session_data);
          if (
    strpos($session_data'cart|O') == 0$session_data ''
    Leave the commented out line below this commented out.

    I hope that helps.

    Regards,
    Christian.

  10. #20
    Join Date
    Jan 2005
    Posts
    186
    Plugin Contributions
    0

    Default Re: 1.3.9 whos online error?? maybe

    BINGO! Thanks for the help.

    Marc

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Change whos online
    By Wilkesy in forum General Questions
    Replies: 0
    Last Post: 20 May 2008, 10:26 PM
  2. Whos Online Questions
    By keystonewebworks in forum General Questions
    Replies: 2
    Last Post: 3 Mar 2008, 12:16 PM
  3. Whos Online Error in Admin & Store
    By annieb in forum Basic Configuration
    Replies: 6
    Last Post: 11 Feb 2008, 05:01 PM
  4. Whos Online Error. Zen Cart no longer working
    By greenongreen in forum General Questions
    Replies: 7
    Last Post: 20 Sep 2007, 07:04 AM
  5. whos online
    By oxicottin in forum General Questions
    Replies: 0
    Last Post: 7 May 2007, 04:14 PM

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