Failure after upgrade to PHP 4.3.11

Help
Bruce
2005-04-13
2013-04-24
  • Bruce
    Bruce
    2005-04-13

    Accessing phpMyLibrary (v 2.0.3 and 2.0.4-dev) after my host's upgrade to PHP 4.3.11 results in the following error:

    Warning: session_set_save_handler(): Argument 2 is not a valid callback in /home/httpd/vhosts/<domain name>/httpdocs/phpmylibrary/polerio/lib/Session.php on line 127

    Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/httpd/vhosts/<domain name>/httpdocs/phpmylibrary/polerio/lib/Session.php on line 211

    It was fine under 4.3.9 and 4.3.10 until the upgrade.  A bug with session_set_save_hander was fixed in 4.3.11.  See the changelog at http://bugs.php.net/bug.php?id=31454

    Could this have introduced the poroblem?

    Either way, what can be don to solve this?

    Thanks.

     
    • Bruce
      Bruce
      2005-04-13

      Sorry.  Should have read the other posts first.  Editing /polerio/lib/Session.php to read:

      session_set_save_handler("SessionOpen", 
      "pnSessionClose", 
      "SessionRead", 
      "SessionWrite", 
      "SessionDestroy", 
      "SessionGC"); 

      seems to have solved it.  Not sure what other issues that may introduce.