soulmann Posted January 8, 2013 Share Posted January 8, 2013 HI our website is now showing the follwoing error message Warning : Cannot modify header information - headers already sent by (output started at /home/content/68/7929968/html/index.php:1) in /home/content/68/7929968/html/classes/FrontController.php on line 464 can anyone help as were seem to be going around in circles and nothing seems to be correcting it please help thanks Link to comment Share on other sites More sharing options...
vekia Posted January 8, 2013 Share Posted January 8, 2013 do you change something in this file? if so - try the tip in this related topic: http://www.prestashop.com/forums/topic/83462-solvedwarning-cannot-modify-header-information/ if it doesnt help, try to add ob_start(); and ob_end_flush(); (first before, second after any code) in index.php file Link to comment Share on other sites More sharing options...
soulmann Posted January 10, 2013 Author Share Posted January 10, 2013 No i didnt change anything as I just leave these alone as there too tehincal for me will look into the article you have recommended Link to comment Share on other sites More sharing options...
soulmann Posted January 10, 2013 Author Share Posted January 10, 2013 ive read the article but i dnt know what is a bom This is the code at the top <?php /* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 10218 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class ToolsCore { protected static $file_exists_cache = array(); protected static $_forceCompile; protected static $_caching; now wheres the bom that i need to look for ? Link to comment Share on other sites More sharing options...
El Patron Posted January 10, 2013 Share Posted January 10, 2013 Most likely you have added a module that caused this, you could disable the different modules you have loaded until it goes away...then you would know where to look....or you could simply turn off errors. 1.4 - 1.5.2 config/config.inc.php 1.5.3 config/defines.inc.php @ini_set('display_errors', 'off'); please in the future post your PS version on every post... Link to comment Share on other sites More sharing options...
vekia Posted January 11, 2013 Share Posted January 11, 2013 @soulmann Is the elpatron solution give some more information about issue? Link to comment Share on other sites More sharing options...
soulmann Posted January 14, 2013 Author Share Posted January 14, 2013 (edited) If you go to www.kapradirect.co.uk and you will see the issue the latest module that was installed was for the eu cookie policy but it was working fine for a while my prestashop version is 1.4.6.2 Edited January 14, 2013 by soulmann (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 14, 2013 Share Posted January 14, 2013 ... what about that i said before? if it doesnt help, try to add ob_start(); and ob_end_flush(); (first before, second after any code) in index.php file Link to comment Share on other sites More sharing options...
soulmann Posted January 16, 2013 Author Share Posted January 16, 2013 Sorry but I had not tried that but I will try it this evening Link to comment Share on other sites More sharing options...
soulmann Posted January 16, 2013 Author Share Posted January 16, 2013 i done what you told me to do and the page has gone bananas on me ....aaaahh Link to comment Share on other sites More sharing options...
Recommended Posts