Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Error message on product detail page
Author « Topic »  

bagmaker
Starting Member

United Kingdom
27 Posts

Pre-sales questions only
(More Details...)

Posted - 08/19/2018 :  04:39:49  
This error message has suddenly appeared on the product detail page ...

Warning: Cannot modify header information - headers already sent by (output started at /homepages/10/d125692768/htdocs/karltest/proddetail.php:36) in /homepages/10/d125692768/htdocs/karltest/vsadmin/inc/incfunctions.php on line 1672

It doesn't appear on my android device but only on the PC

http://www.test.karlrobinson.co.uk/proddetail.php?prod=3233

Any idea what might be causing it?

Andy
ECT Moderator

95440 Posts

Posted - 08/19/2018 :  06:13:05  
Hi

Can you open proddetail.php and let us know what you have from lines 34 to 38 on that page in the code?

andy

Please feel free to review / rate our software

bagmaker
Starting Member

United Kingdom
27 Posts

Pre-sales questions only
(More Details...)

Posted - 08/19/2018 :  06:29:12  
Hi Andy

lines 34-38 in proddetail.php ...


<body>

<?php include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";

Andy
ECT Moderator

95440 Posts

Posted - 08/19/2018 :  07:05:40  
Can you check if any of those lines are duplicated on the page and remove the duplicate?

Andy

Please feel free to review / rate our software

bagmaker
Starting Member

United Kingdom
27 Posts

Pre-sales questions only
(More Details...)

Posted - 08/19/2018 :  07:16:18  
There's no duplicates of those lines other than the blank line (line 35)

Andy
ECT Moderator

95440 Posts

Posted - 08/19/2018 :  07:58:40  
Can you remove those PHP include lines (with the exception of the incproddetail.php include line which comes later) The at the top of the ocde use this

<?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?><html>


instead of

<?php
session_cache_limiter('none');
session_start();
ob_start();
?><html>

Andy


Please feel free to review / rate our software

bagmaker
Starting Member

United Kingdom
27 Posts

Pre-sales questions only
(More Details...)

Posted - 08/19/2018 :  08:19:11  
Hi Andy

Fixed now. My mistake I think .... I must have deleted the session_cache .... lines from the main template by accident!

Thanks again for all your help.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000