Hello Skye,
On Tuesday, December 10, 2002, Skye Poier wrote...

> I'm trying to install squirrelmail-1.2.10 on FreeBSD 4.6.2, with
> Apache/1.3.27 and PHP/4.2.3

> All I've done so far is unpack and configure SQM, but I've run into
> an error. When I open any SQM web page, I get the error:

> Notice: Undefined variable: _SESSION in
> /mnt/www/squirrelmail-1.2.10/src/global.php on line 108

> The only message in the php log is exactly the same as the above
> (all errors are ON)

> I've searched and searched, can't find any reference to this problem.

>From a guess, you have E_ALL turned on in your php.ini file and
register_globals turned off. This results in all slight imperfections
in the code to become glaringly obvious, such as a variable is not
being define before it is used to compare, or retrieve a value (ie if
$a == $b where $b might not yet have been set). Try changing
error_reporting to the following line:

  error_reporting  =  E_ALL & ~E_NOTICE

And restart apache, see if that helps.

-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to