This is a discussion on Please help with this error: Warning: Unknown(): A session is active. within the PHP Language forums, part of the PHP Programming Forums category; Hi! I've searched high and low for this on the net but stil haven't found an answer. I'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi! I've searched high and low for this on the net but stil haven't found an answer. I'm trying to install both postnuke and xoops on a win2k server with php 4.3.3. and mysql installed. Both applications are loading terribly slow. When the page finally has been rendered I got the following error: Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 Is it a bug in PHP? Has it something to do with the fact that I'm running it at win2k? Since I think it has something to do with sessions, I attach a snapshot of the results for phpinfo() Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 On On session.bug_compat_warn On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 100 100 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path D:\programfiles\php\sessiondata D:\programfiles\php\sessiondata session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid Off Off Best Regards, Remco --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.522 / Virus Database: 320 - Release Date: 29-9-2003 |
|
|||
|
"Rea" <pluisje@fastmail.fm> wrote in message
news:vnmhq5eve2518b@corp.supernews.com... > > Hi! > > I've searched high and low for this on the net but stil haven't found an > answer. > > I'm trying to install both postnuke and xoops on a win2k server with php > 4.3.3. and mysql installed. > > Both applications are loading terribly slow. When the page finally has been > rendered I got the following error: > > Warning: Unknown(): A session is active. You cannot change the session > module's ini settings at this time. in Unknown on line 0 Look for ini_set(*blah*) in the script. That 's where the ini settings are being changed. Try moving that to before session_start() which is higher up in the code apparently. > Is it a bug in PHP? Has it something to do with the fact that I'm running it > at win2k? > > Since I think it has something to do with sessions, I attach a snapshot of > the results for phpinfo() > > Directive Local Value Master Value > session.auto_start Off Off > session.bug_compat_42 On On > session.bug_compat_warn On On > session.cache_expire 180 180 > session.cache_limiter nocache nocache > session.cookie_domain no value no value > session.cookie_lifetime 0 0 > session.cookie_path / / > session.cookie_secure Off Off > session.entropy_file no value no value > session.entropy_length 0 0 > session.gc_divisor 100 100 > session.gc_maxlifetime 1440 1440 > session.gc_probability 1 1 > session.name PHPSESSID PHPSESSID > session.referer_check no value no value > session.save_handler files files > session.save_path D:\programfiles\php\sessiondata > D:\programfiles\php\sessiondata > session.serialize_handler php php > session.use_cookies On On > session.use_only_cookies Off Off > session.use_trans_sid Off Off > > Best Regards, > > Remco > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.522 / Virus Database: 320 - Release Date: 29-9-2003 > > |
|
|||
|
On Thu, 2 Oct 2003 16:15:25 +0200, "Ivo" <no@thank.you> wrote:
It will be slow forever. It is terribly bad written PHP, nothing is optimized, and it uses to many resources. Especially the use of GD lib is badly programmed. Albert |