Forums / General Questions / Can't log into admin side: "headers already sent"

Can't log into admin side: "headers already sent"

Started by danmiddo on 7 Nov 2012, 2:28 PM · Views: 1,034

Results 1 to 2 of 2
7 Nov 2012, 2:28 PM
#1
danmiddo avatar

danmiddo

New Zenner

Join Date:
Jun 2012
Posts:
18
Plugin Contributions:
0

Can't log into admin side: "headers already sent"

I keep getting a blank screen when i log into the admin side
this is my debug code... any ideas???
using v1.5

[07-Nov-2012 14:24:45] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/content/62/7925862/html/admin/includes/classes/logger.php:106) in /home/content/62/7925862/html/includes/functions/sessions.php on line 336
[07-Nov-2012 14:24:45] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/62/7925862/html/admin/includes/classes/logger.php:106) in /home/content/62/7925862/html/admin/includes/init_includes/init_templates.php on line 80
[07-Nov-2012 14:24:45] PHP Warning: session_regenerate_id() [<a href='function.session-regenerate-id'>function.session-regenerate-id</a>]: Cannot regenerate session id - headers already sent in /home/content/62/7925862/html/includes/functions/sessions.php on line 531
[07-Nov-2012 14:24:45] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/content/62/7925862/html/admin/includes/classes/logger.php:106) in /home/content/62/7925862/html/admin/includes/functions/general.php on line 37

7 Nov 2012, 3:32 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Can't log into admin side: "headers already sent"

Line 106 of your /admin/includes/classes/logger.php file is causing the problem.
Ref: http://www.zen-cart.com/content.php?129-warning-headers-already-sent

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.