468,761 Members | 1,759 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,761 developers. It's quick & easy.

Please help with this error: Warning: Unknown(): A session is active.

Rea

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
Jul 17 '05 #1
2 4233
Ivo
"Rea" <pl*****@fastmail.fm> wrote in message
news:vn************@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

Jul 17 '05 #2
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
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Dan | last post: by
3 posts views Thread by Owen Jacobson | last post: by
29 posts views Thread by Tom wilson | last post: by
reply views Thread by Ewart MacLucas | last post: by
2 posts views Thread by BruceWho | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.