JmanA9 Posted December 14, 2008 Share Posted December 14, 2008 Hi, I haven't made any changes to my configuration, but all of a sudden, there's two errors on my admin page, and I can't proceed to the checkout. My webhost might have made some changes to their servers. I don't see any blank lines before and/or after the php tags. When I try to add something to the cart, I get this: Warning: Cannot modify header information - headers already sent by (output started at /public_html/cart/includes/application_top.php:515) in /public_html/cart/includes/functions/general.php on line 29 It's just that error, and a blank page, nothing else. On the admin page, I get these two: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /public_html/cart/admin/includes/filenames.php:56) in /public_html/cart/admin/includes/functions/sessions.php on line 67 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /public_html/cart/admin/includes/filenames.php:56) in /public_html/cart/admin/includes/functions/sessions.php on line 67 Here's the relevant sections of those files: Line 29: header('Location: ' . $url); That's all by itself. sessions.php: function tep_session_start() { return session_start(); } If someone can tell me what to do to fix this, I'd really appreciate it. Here are links to the whole files: General.php Sessions.php Link to comment Share on other sites More sharing options...
germ Posted December 14, 2008 Share Posted December 14, 2008 Headers Already Sent Error explained at the above link. /cart/includes/application_top.php line 515 /cart/admin/includes/filenames.php line 56 If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
JmanA9 Posted December 17, 2008 Author Share Posted December 17, 2008 Headers Already Sent Error explained at the above link. /cart/includes/application_top.php line 515 /cart/admin/includes/filenames.php line 56 Thanks. I checked the other files listed in the errors, but not those two. I don't know how the spaces got there, I hadn't changed anything. Oh well. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.