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
Author « Topic »  

gm4toe
New Member

United Kingdom
55 Posts

Posted - 07/31/2018 :  05:21:22  
I put my website into "Vacation" mode while I changed a number of product options. Now I have made it live again the following message is posted above the home page. What do I need to do to correct this please?

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/sotashop/public_html/wp-content/themes/ectwpindoors/page-home.php:9) in /home/sotashop/public_html/wp-content/themes/ectwpindoors/header.php on line 3

Andy
ECT Moderator

95440 Posts

Posted - 07/31/2018 :  05:37:52  
Hi

Can you open header.php in a text editor and check the first 5 or 6 lines? It should look something like 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"; ?><!DOCTYPE html>

with no spaces before that code.

Andy

Please feel free to review / rate our software

gm4toe
New Member

United Kingdom
55 Posts

Posted - 07/31/2018 :  05:57:58  
Hi Andy,

Exactly that although the last line is:
include "vsadmin/inc/metainfo.php"; ?><!DOCTYPE html><html lang="en">

Andy
ECT Moderator

95440 Posts

Posted - 07/31/2018 :  06:07:07  
That should be fine then, is this only happening on the home page or on all store pages?

Andy

Please feel free to review / rate our software

Andy
ECT Moderator

95440 Posts

Posted - 07/31/2018 :  06:23:21  
I found your site and see it is only happening on the home page

Can you go to Appearance > Editor in Wordpress and then choose page-home.php and let us know the first 10 lines of code from that page? It may be a space there causing the problem.

Andy

Please feel free to review / rate our software

gm4toe
New Member

United Kingdom
55 Posts

Posted - 07/31/2018 :  07:24:44  
Not sure how far you needed (there is a blank line between each code line) but here goes:
<?php

/*

Template Name:Home Page

*/?>

<?php get_header();?>

<div class="bannner">

<div class="bannner_left">

<div class="callbacks_container"><?php HomeSlider();?></div>

</div>

<div class="bannner_right"><?php RightBanner()?></div>

<div class="clear"></div>

</div>

Andy
ECT Moderator

95440 Posts

Posted - 07/31/2018 :  07:26:08  
Can you remove all those blank lines and save the file?

Andy

Please feel free to review / rate our software

gm4toe
New Member

United Kingdom
55 Posts

Posted - 07/31/2018 :  07:32:21  
Done

gm4toe
New Member

United Kingdom
55 Posts

Posted - 07/31/2018 :  07:33:27  
Seems to have cleared it
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.04 seconds. Snitz Forums 2000