Guest Posted July 8, 2006 Posted July 8, 2006 In desperate need to get this fixed.... My website ensane-merchandise.com.au. I had a freelancer install a Guest Account contribution, but I don't know which one. I'm getting this error when I log in to my account during the checkout process: Warning: Cannot modify header information - headers already sent by (output started at /home/ensaneme/public_html/shop/includes/languages/english/login.php:37) in /home/ensaneme/public_html/shop/includes/functions/general.php on line 33 It does log me in, but its not redirecting me to continue the checkout process like it should. I was told this is the problem: Guest code is not able to redirect after login, unable to execute this line due to error in guest code. tep_redirect($origin_href); If your willing to help, pls let me know which files I should show here, I suspect its only a minor error in the code, but its all just jibberish to me. Also, while testing I found it to be a pain in the ass to not be able to "logout", if somebody knows of a contribution or a way to have a logout button, it would be greatly appreciated.
Guest Posted July 8, 2006 Posted July 8, 2006 You have whitespace at the end of /includes/languages/english/login.php Open the file in a text editor, place your mouse cursor after the last ?> tag at the end of the file and hit your delete key. Save the file and upload it to your server :) Matti
Guest Posted July 8, 2006 Posted July 8, 2006 You can add this link wherever you want for log out: <?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" >Log off</a><?php } ?> Matti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.