Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 47
  1. #31
    Join Date
    Jun 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: php 5.2.0 update problem

    php.net have marked their bug or better fcukup as bogus now so they won't fix it

  2. #32
    Join Date
    May 2004
    Posts
    2
    Plugin Contributions
    0

    Default Re: php 5.2.0 update problem

    All--

    Running into an interesting challenge with our store. We did an upgrade to our server for XML purposes, ran into the session challenge described in this thread. Using Dr. Byte's fix seemed to work...for a few days. Then one of our admin users (there are 5, using the main admin password) described getting kicked out of the Admin area....but only on some computers. We performed the usual cache and session clearing on her computer, plus installed Firefox since we're convinced that IE is the root of all internet evil. The problem seemed to right itself...at least for a few days.

    We've gotten word that another user is having this problem, only clearing cache and switching to Firefox seems to do nothing. We've logged into her computer using a different user profile (running win xp) and the admin area works fine. However, no matter what we do, we can't get reports to work for her. The usual answer would be to fix the roaming profile she uses on the Win2k3 server, but roaming profiles are off....and the problem persists across any computer she jumps on in the office.

    Anybody have any ideas at all? I'm convinced this is a profile issue, but we can't prove it.

    Thanks,
    Ben Peterson
    Interactive Media Developer
    Space Foundation

  3. #33
    Join Date
    Oct 2006
    Posts
    49
    Plugin Contributions
    0

    Default Re: php 5.2.0 update problem

    i tired this fix but got this error.

    Fatal error: Cannot redeclare _sess_write() (previously declared in /home/bdmaxcl/public_html/store/includes/functions/sessions.php:34) in /home/bdmaxcl/public_html/store/includes/functions/sessions.php on line 53

    please post fix asap.

  4. #34
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default

    Both of the sessions.php function files need to be updated ...

    http://www.zen-cart.com/forum/showpo...7&postcount=26



    /includes/functions/sessions.php

    /admin/includes/functions/sessions.php

    The files are pretty similar ... and the fix is more or less the same ...



    NOTE: If this fix "works" for you, then you need to upgrade your version of Zen Cart ... sooner than later. The latest version of Zen Cart contains a number of fixes related to PHP5 and MySQL5. You should plan your upgrade ... soon.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #35
    Join Date
    Mar 2006
    Posts
    122
    Plugin Contributions
    0

    help question Re: php 5.2.0 update problem

    Okay. I have done the session fix. While the error message is gone, when I "sign in", I don't get any further than the sign in page. That's right. It's like the sign in page is refreshing.

    Marci
    Marci Baun, Publisher
    http://www.wildchildpublishing.com/ -- Break free...read wild!
    http://www.freyasbower.com/ -- Weaving passion into words...

  6. #36
    Join Date
    Feb 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: php 5.2.0 update problem

    Make sure both look EXACTLY like this:

    Code:
        function _sess_write($key, $val) {
          // The following is only to work around a PHP 5.2.0 bug:
          global $db;
          if (!is_object($db)) {
            //PHP 5.2.0 bug workaround ...
            $db = new queryFactory();
            $db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
          }
          global $SESS_LIFE;


    NOTE: If this fix "works" for you, then you need to upgrade your version of Zen Cart ... sooner than later. The latest version of Zen Cart contains a number of fixes related to PHP5 and MySQL5. You should plan your upgrade ... soon.

  7. #37
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: php 5.2.0 update problem

    NOTE: this php 5.2.0 bug does have a temporary fix built into Zen Cart v1.3.7 ...

    For this and other issues for security, bugfixes and additional features it is strongly recommended that you upgrade to Zen Cart v1.3.7 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #38
    Join Date
    Feb 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: php 5.2.0 update problem

    Thanks for the workaround DrByte! Works like a charm!

  9. #39
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: php 5.2.0 update problem

    NOTE: this is built into the current version of Zen Cart ... v1.3.7 ... might want to upgrade for this and many other bugfixes, security issues and features ...

    Plus, if using PayPal ... keep an eye on the PayPal Patch thread:
    http://www.zen-cart.com/forum/showthread.php?t=56216
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #40
    Join Date
    Aug 2005
    Posts
    62
    Plugin Contributions
    0

    Default Re: php 5.2.0 update problem

    On this and other threads, I'm seeing some people recommend this:
    define('STORE_SESSIONS', '');

    and some this:
    define('STORE_SESSIONS', 'file');

    Is there a difference between these two options? Is one of them better? They both seem to work.

 

 
Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. v153 myDEBUG: after update to php 5.4.31
    By RixStix in forum Bug Reports
    Replies: 2
    Last Post: 22 Aug 2014, 04:47 PM
  2. v151 Update to PHP 5.4
    By GabyWalker in forum Basic Configuration
    Replies: 8
    Last Post: 16 May 2014, 10:45 PM
  3. my english.php won't update?
    By blind1 in forum Basic Configuration
    Replies: 4
    Last Post: 23 Dec 2008, 12:41 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