Zen Cart Logo
Forums / General Questions / I have a problem Help Please

I have a problem Help Please

Locked

Views: 1,185

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
17 Sep 2010, 3:56 AM
#1
jld avatar

jld

New Zenner

Join Date:
Dec 2007
Posts:
37
Plugin Contributions:
0

I have a problem Help Please

Hi,

I am still running Zen Cart v1.3.7/v1.3.7 but I am having a problem with my site.

Whenever anyone tries to log on to their account the following error displays.

Can anyone give me ideas on what I need to do to fix it please.

Johanne

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /var/www/sites/horsemansshop/horsemansshop.com.au/subdomains/www/html/shop/includes/functions/sessions.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /var/www/sites/horsemansshop/horsemansshop.com.au/subdomains/www/html/shop/includes/languages/english/extra_definitions/blank_sidebox_defines.php:23) in /var/www/sites/horsemansshop/horsemansshop.com.au/subdomains/www/html/shop/includes/functions/functions_general.php on line 44

17 Sep 2010, 7:14 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: I have a problem Help Please

jld:

Hi,

I am still running Zen Cart v1.3.7/v1.3.7 but I am having a problem with my site.

Whenever anyone tries to log on to their account the following error displays.

Can anyone give me ideas on what I need to do to fix it please.

Johanne

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /var/www/sites/horsemansshop/horsemansshop.com.au/subdomains/www/html/shop/includes/functions/sessions.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /var/www/sites/horsemansshop/horsemansshop.com.au/subdomains/www/html/shop/includes/languages/english/extra_definitions/blank_sidebox_defines.php:23) in /var/www/sites/horsemansshop/horsemansshop.com.au/subdomains/www/html/shop/includes/functions/functions_general.php on line 44

From the admin panel, navigate to configure/sessions, set
Recreate Session to False.

This will (well, may) HIDE THE ERROR and introduce a security risk, but thats better than nothing.

Sorry, but I don't know the 'proper' fix, nor the cause.

Cheers
Rod

17 Sep 2010, 5:58 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: I have a problem Help Please

The problem has NOTHING to do with sessions.

  1. DO NOT set Recreate Session to FALSE. Ever.

  2. The error message is telling you exactly what's wrong:

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/sites/horsemansshop/horsemansshop.com.au/subdomains/www/html**/shop/includes/languages/english/extra_definitions/blank_sidebox_defines.php:23**) in ...

    Ref: https://www.zen-cart.com/tutorials/index.php?article=87

17 Sep 2010, 5:58 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: I have a problem Help Please

Further, this is not a bug with Zen Cart. Thus, this discussion is being moved out of the Bug Reports section.