bikeerrr Posted October 2, 2019 Share Posted October 2, 2019 Zdravím, mám takový problém že po přesunu stránek se mi asi špatně nakopíroval soubor index.php a nejde hlavní stránka... do adminu se v pohodě dostanu... dá se obsah toho souboru odněkud překopírovat a abych zkusil jestli to pojede v pořádku? V tom mém souboru je text viz: <?php /** * 2007-2017 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: * https://opensource.org/licenses/OSL-3.0 * 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-2017 PrestaShop SA * @license https://opensource.org/licenses/OSL-3.0 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; Díky za případné informace.... Link to comment Share on other sites More sharing options...
Caleydon Posted October 2, 2019 Share Posted October 2, 2019 Prosim, napis umiestnenie index.php o ktorom pises a verziu PrestaShopu. Link to comment Share on other sites More sharing options...
Caleydon Posted October 2, 2019 Share Posted October 2, 2019 Ak je to koren PrestaShopu, obsah ma vyzerat takto: <?php /* * 2007-2017 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-2017 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require(dirname(__FILE__).'/config/config.inc.php'); Dispatcher::getInstance()->dispatch(); Link to comment Share on other sites More sharing options...
bikeerrr Posted October 2, 2019 Author Share Posted October 2, 2019 To jsem to zmastlil... Je to PrestaShop 1.7.2.1 a ano přímo index.php v hlavním adresáři... Link to comment Share on other sites More sharing options...
webplus Posted October 3, 2019 Share Posted October 3, 2019 Můžete soubor překopírovat / přepsat z původního ZIP souboru Link to comment Share on other sites More sharing options...
bikeerrr Posted October 3, 2019 Author Share Posted October 3, 2019 nojo to mě vlastně nenapadlo... ach jo... omlouvám se ale děkuji za odpovědi... zkopíroval jsem obsah od uživatele Caleydon a už to funguje.... děkuji a příště se polepším 1 Link to comment Share on other sites More sharing options...
Caleydon Posted October 3, 2019 Share Posted October 3, 2019 27 minutes ago, webplus said: Můžete soubor překopírovat / přepsat z původního ZIP souboru Da sa samozrejme aj tak, avsak vtedy by sa nenaucil, ze v index.php v koreni PrestaShopu je iny kod, ako v ostatnych priecinkoch CMS, kde sluzi iba na presmerovanie z bezpecnostnych dovodov. 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