#32721 [NEW]: custom session error
| From: | julio dot p dot dominguez at dhs dot gov | Date: | Fri, 15 Apr 2005 15:24:07 +0000 |
| Subject: | #32721 [NEW]: custom session error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-77603@lists.php.net to get a copy of this message | ||
From: julio dot p dot dominguez at dhs dot gov
Operating system: RedHat Enterprise 3
PHP version: 4.3.11
PHP Bug Type: Session related
Bug description: custom session error
Description:
------------
configure command
'./configure' '--with-apache=../apache_1.3.33' '--with-mcrypt'
'--with-zlib-dir=/usr/lib' '--with-jpeg-dir=/usr/lib'
'--with-tiff-dir=/usr/lib' '--with-png-dir=/usr/lib'
'--with-oci8-instant-client' '--with-pdflib=/usr/local/pdflib'
'--enable-sigchild' '--enable-track-vars'
'--with-config-file-path=/usr/local/etc' '--with-gd'
This problem does not occur when I use version 4.3.10.
when using custom session handling receive the following message:
Warning: session_set_save_handler(): Argument 1 is not a valid callback in
/webserver/htdocs/survey/inc/header.inc on line 2
Reproduce code:
---------------
session_set_save_handler("mysql_session_open","mysql_session_close","mysql_session_select",
"mysql_session_write","mysql_session_destroy","mysql_session_garbage_collect");
Expected result:
----------------
no error should occur
Actual result:
--------------
Warning: session_set_save_handler(): Argument 1 is not a valid callback in
/webserver/htdocs/survey/inc/header.inc on line 2
--
Edit bug report at http://bugs.php.net/?id=32721&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32721&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32721&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32721&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32721&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32721&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32721&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32721&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32721&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32721&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32721&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32721&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32721&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32721&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32721&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32721&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32721&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32721&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32721&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32721&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32721&r=mysqlcfg