Zen Cart Logo
Forums / General Questions / Blank screen after curesec-com file insert ("headers already sent")

Blank screen after curesec-com file insert ("headers already sent")

Views: 3,261

Results 1 to 5 of 5
13 Sep 2015, 1:39 PM
#1
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Blank screen after curesec-com file insert ("headers already sent")

Created the file security_patch_v154_and_older.php
by copying/pasting the code into Notepad++ then save

ftp that file to /includes/extra_configures/security_patch_v154_and_older.php

Forgot my password
enter email address
click submit
Blank screen

ftp that same file to a vanilla v154 install with demo data. Same result.

Remove file. Forgot my password functions as expected.

myDEBUG

[13-Sep-2015 06:16:36 America/Los_Angeles] PHP Warning:  session_start(): Cannot send session cookie - headers already sent by (output started at /usr/home/srevcinf/public_html/zen154/includes/extra_configures/security_patch_v154_and_older.php:1) in /usr/home/srevcinf/public_html/zen154/includes/functions/sessions.php on line 115
[13-Sep-2015 06:16:36 America/Los_Angeles] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/home/srevcinf/public_html/zen154/includes/extra_configures/security_patch_v154_and_older.php:1) in /usr/home/srevcinf/public_html/zen154/includes/functions/sessions.php on line 115
[13-Sep-2015 06:16:36 America/Los_Angeles] PHP Warning:  Cannot modify header information - headers already sent by (output started at /usr/home/srevcinf/public_html/zen154/includes/extra_configures/security_patch_v154_and_older.php:1) in /usr/home/srevcinf/public_html/zen154/includes/init_includes/init_templates.php on line 78
[13-Sep-2015 06:19:09 America/Los_Angeles] Request URI: /, IP address: 199.231.113.241
#1  session_start() called at [/home/MYcPanelID/public_html/includes/functions/sessions.php:109]
#2  zen_session_start() called at [/home/MYcPanelID/public_html/includes/init_includes/init_sessions.php:89]
#3  require(/home/MYcPanelID/public_html/includes/init_includes/init_sessions.php) called at [/home/MYcPanelID/public_html/includes/autoload_func.php:48]
#4  require(/home/MYcPanelID/public_html/includes/autoload_func.php) called at [/home/MYcPanelID/public_html/includes/application_top.php:158]
#5  require(/home/MYcPanelID/public_html/includes/application_top.php) called at [/home/MYcPanelID/public_html/index.php:26]

[13-Sep-2015 06:19:09 America/Los_Angeles] PHP Warning:  session_start(): Cannot send session cookie - headers already sent by (output started at /home/MYcPanelID/public_html/includes/extra_configures/security_patch_v154_and_older.php:1) in /home/MYcPanelID/public_html/includes/functions/sessions.php on line 109
[13-Sep-2015 06:19:09 America/Los_Angeles] Request URI: /, IP address: 199.231.113.241
#1  session_start() called at [/home/MYcPanelID/public_html/includes/functions/sessions.php:109]
#2  zen_session_start() called at [/home/MYcPanelID/public_html/includes/init_includes/init_sessions.php:89]
#3  require(/home/MYcPanelID/public_html/includes/init_includes/init_sessions.php) called at [/home/MYcPanelID/public_html/includes/autoload_func.php:48]
#4  require(/home/MYcPanelID/public_html/includes/autoload_func.php) called at [/home/MYcPanelID/public_html/includes/application_top.php:158]
#5  require(/home/MYcPanelID/public_html/includes/application_top.php) called at [/home/MYcPanelID/public_html/index.php:26]

[13-Sep-2015 06:19:09 America/Los_Angeles] PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/MYcPanelID/public_html/includes/extra_configures/security_patch_v154_and_older.php:1) in /home/MYcPanelID/public_html/includes/functions/sessions.php on line 109
[13-Sep-2015 06:19:09 America/Los_Angeles] Request URI: /, IP address: 199.231.113.241
#1  header() called at [/home/MYcPanelID/public_html/includes/init_includes/init_templates.php:78]
#2  require(/home/MYcPanelID/public_html/includes/init_includes/init_templates.php) called at [/home/MYcPanelID/public_html/includes/autoload_func.php:48]
#3  require(/home/MYcPanelID/public_html/includes/autoload_func.php) called at [/home/MYcPanelID/public_html/includes/application_top.php:158]
#4  require(/home/MYcPanelID/public_html/includes/application_top.php) called at [/home/MYcPanelID/public_html/index.php:26]

[13-Sep-2015 06:19:09 America/Los_Angeles] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/MYcPanelID/public_html/includes/extra_configures/security_patch_v154_and_older.php:1) in /home/MYcPanelID/public_html/includes/init_includes/init_templates.php on line 78
13 Sep 2015, 1:46 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Blank screen after curesec-com file insert ("headers already sent")

Check your new file and see if you have a space and or blank line in front of the opening <?php tag ... if so remove that ...

13 Sep 2015, 1:53 PM
#3
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Blank screen after curesec-com file insert ("headers already sent")

Well, fud

Didn't expect that when I just highlight/copy/openblankfile/paste

I can be my worst enemy. TNX.

Created the file 3 times separated by hours and did the same thing each time. Carp happens. Sorry for the bother. TNX for pointing out my error.

13 Sep 2015, 2:01 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Blank screen after curesec-com file insert ("headers already sent")

Don't feel too bad ... I kinda sorta did the same thing just before while testing a site to see what you might have done ... :blush:

Not sure how that little goober slipped through ... granted I am just finishing my first cup of coffee late nights will do that to you ... :cool:

13 Sep 2015, 8:58 PM
#5
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Blank screen after curesec-com file insert ("headers already sent")

Ajeh:

Check your new file and see if you have a space and or blank line in front of the opening <?php tag ... if so remove that ...

Thanks for this - I had similar problem, but also with sign in + password = blank page. Removing the space fixed. zc154