| Author |
Topic  |
Trabe
Advanced Member
United Kingdom
181 Posts Pre-sales questions only (More Details...)
|
Posted - 06/26/2012 : 09:15
|
Hi I've just updated from v6.1.4 to v6.2.1 and I have the following error showing pressing paypal express checkout button
Warning: Cannot modify header information - headers already sent by (output started at **/cart.php:115) in **vsadmin/inc/inccart.php on line 1697
Any ideas please??
Trace |
|
Andy
Administrator
69489 Posts |
|
Trabe
Advanced Member
United Kingdom
181 Posts Pre-sales questions only (More Details...)
|
Posted - 06/26/2012 : 10:34
|
Hi Andy,
No this is Paypal Express in normal working mode - its been working for ages and we recently had some customers complaining that it didn't work but that seemed to have been intermittent. I finally got round to the update and hoped that would help. SO I've done the update and tried it myself today, it clearly has an error somewhere.
The forwarding text shows up albeit it doesn't forward to paypal automatically. But if you press 'click here' it does forward to paypal ok.
Trace |
 |
|
Andy
Administrator
69489 Posts |
|
Trabe
Advanced Member
United Kingdom
181 Posts Pre-sales questions only (More Details...)
|
Posted - 06/26/2012 : 10:50
|
First 5 or 6 lines in cart.php
<SCRIPT LANGUAGE="php"> session_cache_limiter('none'); session_start(); </SCRIPT><html> <head>
Trace |
Edited by - Trabe on 06/26/2012 10:51 |
 |
|
Trabe
Advanced Member
United Kingdom
181 Posts Pre-sales questions only (More Details...)
|
Posted - 06/26/2012 : 10:53
|
Also I have just updated our other eshop and that had paypal express order go through fine this morning and that also now has the same error since the update to 6.2.1 aarrggghhh
but headers sent from a different page this time so something isn't right somewhere??...
Warning: Cannot modify header information - headers already sent by (output started at **/includes/leftnavigation.htm:20) in **/vsadmin/inc/inccart.php on line 1697
Trace |
 |
|
Sinbad
Administrator
USA
53964 Posts |
Posted - 06/26/2012 : 15:38
|
Hi Trace, have you checked for any empty spaces at the very top of the cart page? If you like to send over the ftp for one of the site, click on my user name to send via email.
Winners never quit, quitters never win User Manual for Ecommerce Templates
|
 |
|
Trabe
Advanced Member
United Kingdom
181 Posts Pre-sales questions only (More Details...)
|
Posted - 06/26/2012 : 18:12
|
Hi Sinbad,
There is def no space at the top of the cart page
top of page here... <SCRIPT LANGUAGE="php"> session_cache_limiter('none'); session_start(); </SCRIPT><html> <head> <title>cart</title>
Is this what it should say??
Trace |
 |
|
Sinbad
Administrator
USA
53964 Posts |
Posted - 06/26/2012 : 23:57
|
Hi sometimes characters can creep in front of the php lines, I use html-kit to check pages. If you like I can check for you.
Winners never quit, quitters never win User Manual for Ecommerce Templates
|
 |
|
Trabe
Advanced Member
United Kingdom
181 Posts Pre-sales questions only (More Details...)
|
Posted - 06/27/2012 : 04:56
|
I've had to revert one eshop back to 6.1.4 which I hope is ok as this is the only way to get rid of the error?
Please help, there are definitely no characters in front of text I have shown you - I have checked in 2 different coding programs.
How do characters creep in there anyway??
The eshop that still has the problem I have disabled the paypal option while we fix this, but this will impact sales! I have been using this ecommerce templates for years please don't let me loose faith now?
Trace |
 |
|
Andy
Administrator
69489 Posts |
|
Trabe
Advanced Member
United Kingdom
181 Posts Pre-sales questions only (More Details...)
|
Posted - 06/27/2012 : 05:40
|
Andy,
No I didn't I would like to correct the errors myself if possible - if its the only way to resolve the problem then I will - but I'm wary of handing out that kind of information.
Speaking of which did you solve my other problem of 'also bought' not working in my cross sell???
Trace |
 |
|
Trabe
Advanced Member
United Kingdom
181 Posts Pre-sales questions only (More Details...)
|
Posted - 06/27/2012 : 05:42
|
Also for extra info - I've just updated my other eshop which has a different newer designed template from yourselves and that has no errors at all that I've found 
So I'm guessing its to do with the older style templates ?? So can I just copy the top of the pages from one template to the other or is it more involved than that?
Trace |
 |
|
Andy
Administrator
69489 Posts |
|
Trabe
Advanced Member
United Kingdom
181 Posts Pre-sales questions only (More Details...)
|
Posted - 06/28/2012 : 07:40
|
I have used the HTML-Kit and it didn't help - there was no characters that I could find.... but a little trial and error and comparing it to the newer cart page that works i have proved that it needed..
ob_start();
adding in so the top now looks like
<?php session_cache_limiter('none'); session_start(); ob_start(); ?> <html> <head>
<title>cart</title>
and the problem is now fixed on the first site - hooray! I'm going to try the other.
Trace |
Edited by - Trabe on 06/28/2012 07:49 |
 |
|
Andy
Administrator
69489 Posts |
|
Topic  |
|