Author Topic: All kinds of problems  (Read 21391 times)

0 Members and 1 Guest are viewing this topic.

Offline EyeCandy

  • Pre-Newbie
  • Posts: 2
    • View Profile
All kinds of problems
« 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?  :?:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: All kinds of problems
« Reply #1 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
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline EyeCandy

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: All kinds of problems
« Reply #2 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.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: All kinds of problems
« Reply #3 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://";
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)