4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: EyeCandy on May 30, 2005, 10:22:40 PM

Title: All kinds of problems
Post by: EyeCandy on May 30, 2005, 10:22:40 PM
I just installed 4images... and I'm getting this above the login section..

Notice: Undefined offset: 1 in D:\Requiem\4images\global.php on line 238

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\Requiem\4images\global.php:238) in D:\Requiem\4images\includes\sessions.php on line 84

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\Requiem\4images\global.php:238) in D:\Requiem\4images\includes\sessions.php on line 84

Warning: Cannot modify header information - headers already sent by (output started at D:\Requiem\4images\global.php:238) in D:\Requiem\4images\includes\sessions.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at D:\Requiem\4images\global.php:238) in D:\Requiem\4images\includes\sessions.php on line 92


Any ideas?  :?:
Title: Re: All kinds of problems
Post by: V@no on May 30, 2005, 10:31:44 PM
Yeah, we saw that error for a while before the forum was hacked. It actually turned out to be a bug in the Zend Optimizer and upgrading to the latest patch cured the problem. Details are here:

http://www.zend.com/store/products/zend-optimizer.php

Quote
Due to incompatibility of the previous version of Zend Optimizer with PHP 4.3.10, it is strongly recommended that owners of Zend Performance Suite, Zend Accelerator, Zend Studio Server, and Zend WinEnabler, upgrade to Zend Optimizer 2.5.7.

It is also recommended you upgrade to PHP 4.3.10 or PHP 5.0.3.

http://bugs.php.net/bug.php?id=31108
Title: Re: All kinds of problems
Post by: EyeCandy on June 01, 2005, 04:05:08 AM
I went ahead and upgraded to 2.5.7 and I'm still getting the same thing as before.
Title: Re: All kinds of problems
Post by: V@no on June 01, 2005, 05:24:20 AM
ok, seems to me its due to windows based server...
try replace in global.php:
Code: [Select]
  $script_url  = ($port_match[1] == 443) ? "https://" : "http://";with:
Code: [Select]
  $script_url  = (isset($port_match[1]) && $port_match[1] == 443) ? "https://" : "http://";