Mantis - php5
Viewing Issue Advanced Details
4911 regular use block always 2012-02-28 01:43 2012-03-25 04:51
hudesd  
bwalton  
normal  
closed  
fixed  
none    
none  
0004911: session_cache_limiter() is undefined in php5.3.10
Mantis triggers the message
"PHP Fatal error: Call to undefined function session_cache_limiter() in /opt/csw/share/www/mantis/htdocs/core/session_api.php on line 107"

after upgrading php5 to 5.3.10,REV=2012.02.10


Issue History
2012-02-28 01:43 hudesd New Issue
2012-02-28 01:54 bwalton Note Added: 0009676
2012-02-28 01:54 bwalton Assigned To => bwalton
2012-02-28 01:54 bwalton Status new => feedback
2012-02-28 01:59 hudesd Note Added: 0009678
2012-02-28 02:02 bwalton Note Added: 0009679
2012-03-02 02:37 bwalton Note Added: 0009698
2012-03-02 02:37 bwalton Status feedback => resolved
2012-03-02 02:37 bwalton Resolution open => fixed
2012-03-15 01:23 bwalton Note Added: 0009725
2012-03-25 04:51 bwalton Note Added: 0009762
2012-03-25 04:51 bwalton Status resolved => closed

Notes
(0009676)
bwalton   
2012-02-28 01:54   
Do you have php5_session installed? This was split out by the previous maintainer. I need to move it back to the main package but haven't yet.

Thanks
-Ben
(0009678)
hudesd   
2012-02-28 01:59   
thank you for the prompt response and clue. Yes, php5_session is installed. There doesn't seem to be anything related in php5.ini that is commented out.

pkginfo -il CSWphp5-session
   PKGINST: CSWphp5-session
      NAME: php5_session - The session extention for PHP5
  CATEGORY: application
      ARCH: sparc
   VERSION: 5.3.10,REV=2012.02.10
   BASEDIR: /
    VENDOR: http://www.php.net/ [^] packaged for CSW by Ben Walton
    PSTAMP: bwalton@unstable10s-20120210173100
  INSTDATE: Feb 27 2012 14:37
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: bwalton@opencsw.org
    STATUS: completely installed
     FILES: 18 installed pathnames
                   9 shared pathnames
                  11 directories
                   1 executables
                 307 blocks used (approx)
(0009679)
bwalton   
2012-02-28 02:02   
Is there a extension=session.so line in your php.ini? If not, it should be added. I think there is a bug with the default php.ini.CSW file that it doesn't include this line now. And if there was a problem with your migration of php.ini, then you're likely getting the default php.ini.CSW file instead. (See bug 0004905.)

Thanks
-Ben
(0009698)
bwalton   
2012-03-02 02:37   
The template php.ini file now contains the line for loadable session.so support. That should prevent this issue on clean installs.
(0009725)
bwalton   
2012-03-15 01:23   
Test packages available in the bdw experimental repo: http://buildfarm.opencsw.org/experimental.html [^]

Feedback welcomed.
(0009762)
bwalton   
2012-03-25 04:51   
Updated packages pushed to unstable.