Jump to content

Error 500 instalando prestashop en localhost (Macbook Air -M1-)


josemmt

Recommended Posts

Hola, estoy tratando de instalar Prestashop en local y estoy obteniendo un error 500 tras la selección inicial del idioma.

Os describo lo que estoy haciendo:

He instalado XAMPP 8.2.4-0.

He descargado Prestashop (prestashop_edition_basic_version_8.1.1).

He creado carpeta (presta) en htdocs, y le he cambiado los permisos.

Descomprimo el zip de prestashop y copio los tres archivos dentro de la carpeta presta. Lanzo desde navegador localhost/presta, y comienza la instalación. Cuando llega al final, me aparece la primera pantalla del wizard, para seleccionar el idioma. Tanto si dejo el Spanish, como si lo cambio a English, la siguiente pantalla que me sale es la del error (en localhost/presta/install/). 

 

Lo que veo en el log es:

[16-Nov-2023 16:57:18 Europe/Berlin] PHP Notice:  tempnam(): file created in the system's temporary directory in /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Util/XliffUtils.php on line 98
[16-Nov-2023 16:57:18 Europe/Berlin] PHP Fatal error:  Uncaught ValueError: Path cannot be empty in /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Util/XliffUtils.php:106
Stack trace:
#0 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Util/XliffUtils.php(106): file_put_contents('', '<?xml version="...')
#1 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Util/XliffUtils.php(64): Symfony\Component\Translation\Util\XliffUtils::shouldEnableEntityLoader()
#2 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Loader/XliffFileLoader.php(60): Symfony\Component\Translation\Util\XliffUtils::validateSchema(Object(DOMDocument))
#3 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Loader/XliffFileLoader.php(42): Symfony\Component\Translation\Loader\XliffFileLoader->extract(Object(Symfony\Component\Finder\SplFileInfo), Object(Symfony\Component\Translation\MessageCatalogue), 'ShopNavigation')
#4 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(436): Symfony\Component\Translation\Loader\XliffFileLoader->load(Object(Symfony\Component\Finder\SplFileInfo), 'es-ES', 'ShopNavigation')
#5 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(328): Symfony\Component\Translation\Translator->doLoadCatalogue('es-ES')
#6 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(362): Symfony\Component\Translation\Translator->initializeCatalogue('es-ES')
#7 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(347): Symfony\Component\Translation\Translator->dumpCatalogue('es-ES', Object(Symfony\Component\Config\ConfigCache))
#8 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php(46): Symfony\Component\Translation\Translator->Symfony\Component\Translation\{closure}(Object(Symfony\Component\Config\ConfigCache))
#9 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(345): Symfony\Component\Config\ConfigCacheFactory->cache('/Applications/X...', Object(Closure))
#10 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(316): Symfony\Component\Translation\Translator->initializeCacheCatalogue('es-ES')
#11 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(292): Symfony\Component\Translation\Translator->loadCatalogue('es-ES')
#12 /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(223): Symfony\Component\Translation\Translator->getCatalogue('es-ES')
#13 /Applications/XAMPP/xamppfiles/htdocs/presta/src/PrestaShopBundle/Translation/PrestaShopTranslatorTrait.php(70): Symfony\Component\Translation\Translator->trans('Choose your lan...', Array, 'Install', NULL)
#14 /Applications/XAMPP/xamppfiles/htdocs/presta/install/classes/controllerHttp.php(103): PrestaShopBundle\Translation\TranslatorComponent->trans('Choose your lan...', Array, 'Install')
#15 /Applications/XAMPP/xamppfiles/htdocs/presta/install/classes/controllerHttp.php(171): InstallControllerHttp->initSteps()
#16 /Applications/XAMPP/xamppfiles/htdocs/presta/install/classes/controllerHttp.php(187): InstallControllerHttp->__construct()
#17 /Applications/XAMPP/xamppfiles/htdocs/presta/install/index.php(53): InstallControllerHttp::execute()
#18 {main}
  thrown in /Applications/XAMPP/xamppfiles/htdocs/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Util/XliffUtils.php on line 106

No he encontrado nada en la web que me ayude con el problema ¿alguna sugerencia?

 

 

 

Captura de pantalla 2023-11-16 a las 17.06.09.png

Captura de pantalla 2023-11-16 a las 16.32.36.png

Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...