lunos Posted September 12, 2017 Share Posted September 12, 2017 (edited) Hi, How I can fix this error, which is shown in Backoffice under Configuration Information. Some PrestaShop files are missing from your server. (/cache/smarty/compile/index.php) PrestaShop version 1.6.1.5 Thanks, Edited September 13, 2017 by lunos (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted September 12, 2017 Share Posted September 12, 2017 (edited) This is the content. Copy this to an editor, save the file as index.php and upload it to the mentionned path. And don't delete files you you don't know exactely what you are doing. <?php /* * 2007-2014 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-2014 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); header("Location: ../"); exit; Edited September 12, 2017 by Scully (see edit history) 3 1 Link to comment Share on other sites More sharing options...
Scully Posted September 13, 2017 Share Posted September 13, 2017 A short feedback is always very appreciated. Is your problem solved? Link to comment Share on other sites More sharing options...
lunos Posted September 13, 2017 Author Share Posted September 13, 2017 Thank you Scully! Very fast help, now its solved! Link to comment Share on other sites More sharing options...
Scully Posted September 13, 2017 Share Posted September 13, 2017 Excellent. Thank you for the feedback. Link to comment Share on other sites More sharing options...
doogaloo13 Posted November 14, 2017 Share Posted November 14, 2017 On 9/12/2017 at 1:52 AM, Scully said: This is the content. Copy this to an editor, save the file as index.php and upload it to the mentionned path. And don't delete files you you don't know exactely what you are doing. Quote <?php /* * 2007-2014 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-2014 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); header("Location: ../"); exit; Thank you so much! This fixed my error too. Link to comment Share on other sites More sharing options...
bartom34 Posted August 27, 2018 Share Posted August 27, 2018 Scully solution works perfectly Link to comment Share on other sites More sharing options...
kostys2 Posted January 30, 2020 Share Posted January 30, 2020 What about cache/smarty/cache index.php ? Can you help with it? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now