Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    1,807
    Plugin Contributions
    1

    Default 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
    Code:
    [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
    Code:
    [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
    Last edited by RixStix; 13 Sep 2015 at 02:45 PM.
    Rick
    ChainWeavers (dot) com

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,474
    Plugin Contributions
    6

    Default Re: Blank screen after curesec-com file insert

    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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    1,807
    Plugin Contributions
    1

    Default Re: Blank screen after curesec-com file insert

    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.
    Last edited by RixStix; 13 Sep 2015 at 02:55 PM.
    Rick
    ChainWeavers (dot) com

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,474
    Plugin Contributions
    6

    Default Re: Blank screen after curesec-com file insert

    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 ...

    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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2008
    Posts
    530
    Plugin Contributions
    0

    Default Re: Blank screen after curesec-com file insert

    Quote Originally Posted by Ajeh View Post
    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

 

 

Similar Threads

  1. v154 How did she know "headers already sent" was junk in file?
    By lruskauff in forum General Questions
    Replies: 2
    Last Post: 2 Jul 2015, 10:09 PM
  2. Urgent Help Needed - "headers already sent"
    By CnTGifts in forum General Questions
    Replies: 2
    Last Post: 17 Mar 2008, 07:44 AM
  3. "headers already sent" error in 1.37 upon fresh installation
    By robax in forum Installing on a Windows Server
    Replies: 4
    Last Post: 19 Feb 2007, 02:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR