|
Hello,
I'm using SM 1.4.1 on FreeBSD 4.9 with PHP 4.3.6 and am getting the following error when attempting to get to the login screen. Fatal error: Call to undefined function: session_id() in /usr/local/www/data/webmail/functions/global.php on line 293 This started happening after a user opened their mailbox and received a message similar to "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4097 bytes) in ./mail/functions/imap_general.php on line 82" from the FAQ. Unfortunately they didn't write down the exact message. At this point,
SquirrelMail stopped working for everyone. Restarting Apache produced an error
with a missing PHP file. To replace it, we upgraded PHP to 4.3.6 from the
FreeBSD ports tree. This is when we started receiving the error related to the
session_id above. A Google search turned up the following
info:
Apparently the error may be related to PHP compiling options,
but unfortunately I don't know which options are selected when compiling
PHP from the FreeBSD Ports tree with the default settings. I don't recall
having to do any special configuration of PHP for FreeBSD for SquirrelMail, and
I installed SquirrelMail from the Ports as well just to see if it would make a
difference (it doesn't).
Any ideas? I also tried using SM 1.4.3 from source in a separate directory and am receiving the same error message, so apparently it must have something to do with PHP. A document in the SquirrelMail FreeBSD Port suggested trying to set session.auto_start = 1 in php.ini if there are login difficulties, but this resulted in SquirrelMail outputing a blank HTML page. Viewing source shows nothing more than the HTML and BODY opening and closing tags. Thanks, Mike Oliveri Systems Administrator UTI Systems, Inc. |
- [SM-USERS] Fatal error at login -- session_id/global.php Mike Oliveri
- Re: [SM-USERS] Fatal error at login -- session_id/gl... Mike Oliveri
- Re: [SM-USERS] Fatal error at login -- session_id/gl... Jonathan Angliss
- Re: [SM-USERS] Fatal error at login -- session_i... p dont think
