Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2011
    Posts
    20
    Plugin Contributions
    0

    Default reCAPTCHA Problems!!!! headers already sent by recaptcha_functions.php

    I have installed reCAPTCHA today .. everything was going fine until I logged out of admin, tried to log back in and get a blank screen, had a look in the admin cache folder for errors .. this is what it shows!!!


    Code:
    PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/*****/public_html/admin/includes/functions/extra_functions/recaptcha_functions.php:128) in /home/*****/public_html/includes/functions/sessions.php on line 113
    Code:
    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/*****/public_html/admin/includes/functions/extra_functions/recaptcha_functions.php:128) in /home/*****/public_html/includes/functions/sessions.php on line 113
    Code:
    PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/******/public_html/adminp/includes/functions/extra_functions/recaptcha_functions.php:128) in /home/*****/public_html/adminparagon/includes/init_includes/init_templates.php on line 28
    Code:
    PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/*****/public_html/admin/includes/functions/extra_functions/recaptcha_functions.php:128) in /home/*****/public_html/admin/includes/functions/general.php on line 21

    I also noticed that the reCAPTCHA link in admin goes nowhere and just goes back to the home page?

    The only way i can use admin is to remove these files!

    HELPPPPPPPPPPPPPP! PLEASE!

  2. #2
    Join Date
    Sep 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: reCAPTCHA Problems!!!! headers already sent by recaptcha_functions.php

    Remove white spaces from recaptcha_functions.php
    or delete the file. The recaptcha still works without it.

  3. #3
    Join Date
    Sep 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: reCAPTCHA Problems!!!! headers already sent by recaptcha_functions.php

    Quote Originally Posted by akyeame View Post
    Remove white spaces from recaptcha_functions.php
    or delete the file. The recaptcha still works without it.
    I have no idea what 'Remove the white spaces' means, but I renamed the file (don't like deleting things) and I now have access to admin. I checked my Contacts and Create New Account pages and Recaptcha is still there.

    Thanks.

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

    Default Re: reCAPTCHA Problems!!!! headers already sent by recaptcha_functions.php

    Removing the white space means that there is a space(s) or blank lines after the closing php tag ?> at the end of the file ...

    At the end of:
    recaptcha_functions.php

    you will see the closing php tag ?> ... as that is not needed, you can remove it and that should correct the problem that you are having with the file ...

    Usually, if that closing tag is left in, it should be the last thing in the file and if you click on that line and move your mouse to the right, you should have no space(s) or blank line(s) next to or below that tag ... if you do, that will cause errors ...

    The solution is to either delete the space(s) and/or blank line(s) or, to delete the closing tag all together to eliminate the error ... then, save the file and reload it to the server ...
    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!]
    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!

 

 

Similar Threads

  1. headers already sent: security_patch_v154_and_older.php
    By brittainmark in forum Bug Reports
    Replies: 3
    Last Post: 21 Sep 2015, 07:54 PM
  2. Replies: 5
    Last Post: 18 Feb 2012, 10:20 PM
  3. Headers already sent
    By TelTel in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 4 May 2011, 05:39 PM
  4. Headers Already Sent
    By chadderuski in forum General Questions
    Replies: 13
    Last Post: 29 Apr 2011, 10:23 PM
  5. Replies: 4
    Last Post: 12 Dec 2008, 04:52 AM

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