From: Libby H. <li...@um...> - 2007-02-08 21:17:47
|
Hi, 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! Libby |
From: Reini U. <ru...@x-...> - 2007-02-10 19:21:22
|
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/ |
From: Libby H. <li...@um...> - 2007-02-11 21:44:28
|
Hi, 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 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/ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > |
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/ |
From: Libby H. <li...@um...> - 2007-02-12 18:39:43
|
I've tried debugging with session_destroy and doublechecked files for trailing whitespace. I hadn't made code changes, so I'm not sure where whitespace would've been introduced anyway. Would this go away if I tried a clean install? There's no content to keep in my wiki anyway. Thanks! Libby On 2/12/07, Reini Urban <ru...@x-...> wrote: > 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/ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > |