Guest Posted September 23, 2005 Share Posted September 23, 2005 Hi, just had another error on my live shop which I hadn't noticed until this morning. If you select the Buy button without going to More it comes up with - Warning: Cannot modify header information - headers already sent by (output started at path/to/my/shop/var/www/html/shop/language/dk/config.inc.php:7) in path/to/my/shop/var/www/html/shop/includes/boxes/shoppingCart.inc.php on line 53 It does not effect my localhost shop, only the live one which is running on a linux server... Anyideas? Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted September 23, 2005 Share Posted September 23, 2005 Right if I comment out line 53 on the shoppingCart.inc.php file it seems to be working. // header("Location: index.php?act=viewProd&productId=".$_POST['add']); Quote Link to comment Share on other sites More sharing options...
Guest Posted September 23, 2005 Share Posted September 23, 2005 Again theirs still a problem with this page, if a product has an option it goes blank rather than forwarding to the more info page to select product option... Anyideas? Quote Link to comment Share on other sites More sharing options...
Guest jeromas Posted September 23, 2005 Share Posted September 23, 2005 I'm not sure of your specific error, but I can tell you the general cause of that error. Basically it is saying you've already sent some output to your browser (like text, images, whatever), so PHP can't send any more headers. Check and make sure you don't have any spaces or blank lines before your php tags, and that there is not some statement (like an echo or print statement) that is being executed before your header() function is executed. If you want to post the relevant code included in the error messages, I can probably give you a better diagnosis. Quote Link to comment Share on other sites More sharing options...
Guest jeromas Posted September 24, 2005 Share Posted September 24, 2005 I got the same error today, so I looked into it. It turns out the following file: shop/language/dk/config.inc.php has 2 extra lines in it after the closing php tag. Delete those two lines, upload the modified file, and the error will be cleared. Be sure to uncomment the header() function you commented out earlier. Cheers ;) Quote Link to comment Share on other sites More sharing options...
Guest Posted September 24, 2005 Share Posted September 24, 2005 I got the same error today, so I looked into it. It turns out the following file: shop/language/dk/config.inc.php has 2 extra lines in it after the closing php tag. Delete those two lines, upload the modified file, and the error will be cleared. Be sure to uncomment the header() function you commented out earlier. Cheers Thanks works a treat. I had taken a look a the dk config file, never noticed the two extra lines Regards! Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 26, 2005 Share Posted September 26, 2005 This whitspace has been removed from 3.0.4 Cheers. Quote Link to comment Share on other sites More sharing options...
Guest fiddy Posted September 26, 2005 Share Posted September 26, 2005 3.0.4....3.0.4!! the pixels aren't even dry on 3.0.3 yet. sheesh. */* Quote Link to comment Share on other sites More sharing options...
Guest sunshine Posted September 27, 2005 Share Posted September 27, 2005 B) Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 27, 2005 Share Posted September 27, 2005 Development contunies as normal. Zzzzz Zzzzz Zzzzz Zzzzz It will never stop 3.1.0 (yes 3.1.0) will have coupons and some other much requested features like csv import. :) Quote Link to comment Share on other sites More sharing options...
Guest fiddy Posted September 27, 2005 Share Posted September 27, 2005 Development contunies as normal. Zzzzz Zzzzz Zzzzz Zzzzz It will never stop 3.1.0 (yes 3.1.0) will have coupons and some other much requested features like csv import. And a spelling checker too? /fully expects the quote above to be 'edited' so I look a fool. :ninja: Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted September 27, 2005 Share Posted September 27, 2005 LOL spelling has always been a weakness. Quote Link to comment Share on other sites More sharing options...
Guest rukiman Posted September 27, 2005 Share Posted September 27, 2005 are we going from 3.0.4 -> 3.1.0 or do we have to wait for 3.0.5, 3.0.6, 3.0.7, 3.0.8 and 3.0.9 beforehand? B) Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted September 29, 2005 Share Posted September 29, 2005 are we going from 3.0.4 -> 3.1.0 or do we have to wait for 3.0.5, 3.0.6, 3.0.7, 3.0.8 and 3.0.9 beforehand? LOL. That would be sweet :huh: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.