tomastouch Posted August 24, 2020 Share Posted August 24, 2020 Bonjour J ai un souci avec ma boutique , je me suis levé un matin et j ai cette erreur ! Warning: Illegal string offset 'parameters' in /home/tomastou/www/config/bootstrap.php on line 88 Fatal error: Uncaught Error: Only variables can be passed by reference in /home/tomastou/www/config/bootstrap.php:88 Stack trace: #0 /home/tomastou/www/config/config.inc.php(57): require_once() #1 /home/tomastou/www/index.php(27): require('/home/tomastou/...') #2 {main} thrown in /home/tomastou/www/config/bootstrap.php on line 88 alors que je n ai rien modifié. J ai cherché mais n ai trouvé aucune solution J ai essayer de modifier ma version php mais rien n y fait Auriez vous une idée? Je suis sur prestashop 1.6.1.17 Merci de vos lumieres http://www.tomastouch.fr Vincent Link to comment Share on other sites More sharing options...
Eolia Posted August 24, 2020 Share Posted August 24, 2020 Ca sent le hack 1.7 sur une 1.6^^ Le fichier bootstrap.php n'a que 30 lignes à la base et la variable $parameters n'existe pas en 1.6. Un nettoyage et un controle de votre ftp s'impose au plus vite. Contenu du fichier d'origine: <?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 */ $container_builder = new Core_Business_ContainerBuilder; $container = $container_builder->build(); Adapter_ServiceLocator::setServiceContainerInstance($container); Link to comment Share on other sites More sharing options...
tomastouch Posted August 24, 2020 Author Share Posted August 24, 2020 Bonjour et merci pour votre retour Lorsque je modifie le bootstrap avec vos données je tombe sur l erreur Fatal error: Uncaught Error: Class 'Core_Business_ContainerBuilder' not found in /home/tomastou/www/config/bootstrap.php:27 Pourtant ce fichier core -business container builder est bien present Certain forum me conseille de supprimer le fichier class_index.php hors ce fichier n 'est deja pas present Une idée de solution ? Merci Link to comment Share on other sites More sharing options...
Eolia Posted August 24, 2020 Share Posted August 24, 2020 Il y avait quoi dans votre fichier ? Vous n'auriez pas tenté une mise à jour vers 1.7 qui aurait foiré ? Link to comment Share on other sites More sharing options...
tomastouch Posted August 24, 2020 Author Share Posted August 24, 2020 Mon fichier comportait pres de 150 lignes, non je n ai rien touché c'est en me levant un matin que lerreur est apparue J ai depuis un peu bidouiller par FTP, j avais fais une sauvegarde avant, je vais donc remettre en place ma sauvegarde et repartir du debut et je vous transmettrais l erreur que j ai 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