From: Reini U. <ru...@x-...> - 2007-02-12 07:51:48
|
Libby Hemphill schrieb: > I turned DEBUG = 1. Now I'm noticing strange session stuff. For > example, when I first visit the wiki, without logging in or anything, > and I go to UserPreferences, it thinks I'm <USE_SESSION_ID>. What > does that mean? I administer the server this lives on, so I can make > changes to PHP permissions if that's what needs to happen. > > Thanks for your help! > Libby Now we see the problem. lib/DbSession/SQL.php:23 Warning[2]: ini_set() [<a href='function.ini-set'>function.ini-set</a>]: A session is active. You cannot change the session module's ini settings at this time. lib/DbSession/SQL.php:24 Warning[2]: session_module_name() [<a href='function.session-module-name'>function.session-module-name</a>]: A session is active. You cannot change the session module's ini settings at this time. A php session is already active, so the change to the user session methods will not work. Sessions usually activate itself automatically by some whitespace after the ending ?> in a php file before ob_start() is started. (loaded with the Request object in lib/main.php) > On 2/10/07, Reini Urban <ru...@x-...> wrote: >> Libby Hemphill schrieb: >>> I'm trying to set up my first Phpwiki, and I'm getting PHP Warnings on >>> all my pages. You can see the site at http://siwiki.shorturl.com. Is >>> there a setting I'm missing or that I messed up? Thanks for the help! >> The easiest would be to add DEBUG=1 to your config.ini >> and disable the ini_set() calls in the lines mentioned in the warnings. >> >> There's no setting to workaround missing PHP permissions to >> ini_set, sorry. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |