Jump to content

HTTP 200 - parsererror while installing modules on first install


Recommended Posts

  • 3 weeks later...
  • 2 weeks later...

Hello,

I'm having a problem there too. Same step. First of all, addons.prestashop is using a `x-frame-options` header with value `allowall`. Don't know if this is a thing, but I installed a firefox plugin which ignore this header.

But, with or without this plugin, I got another error (_PS_MODE_DEV_ enabled).

1: HTTP 200 - parsererror -
Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "Ps_accounts" from the global namespace. Did you forget a "use" statement? in /var/www/html/modules/ps_checkout/vendor/prestashop/prestashop-accounts-auth/src/Handler/ErrorHandler/ErrorHandler.php:63 Stack trace: #0 /var/www/html/modules/ps_checkout/vendor/prestashop/prestashop-accounts-auth/src/Handler/ErrorHandler/ErrorHandler.php(106): PrestaShop\AccountsAuth\Handler\ErrorHandler\ErrorHandler->__construct() #1 /var/www/html/modules/ps_checkout/vendor/prestashop/prestashop-accounts-auth/src/Installer/Install.php(59): PrestaShop\AccountsAuth\Handler\ErrorHandler\ErrorHandler::getInstance() #2 /var/www/html/modules/ps_checkout/ps_checkout.php(166): PrestaShop\AccountsAuth\Installer\Install->installPsAccounts() #3 /var/www/html/src/Adapter/Module/Module.php(249): Ps_checkout->install() #4 /var/www/html/src/Core/Addon/Module/ModuleManager.php(302): PrestaShop\PrestaShop\Adapter\Module\Module->onInstall() #5 /var/www/html/ in /var/www/html/modules/ps_checkout/vendor/prestashop/prestashop-accounts-auth/src/Handler/ErrorHandler/ErrorHandler.php on line 63

Tested with php 7.3.24 & 7.2.34 : same error.

Bypassing this step, I can access admin, but cannot activate HTTPS, ignore tutorial...

Any idea ?

Link to comment
Share on other sites

  • 4 months later...

I'm curious too. I tried to install the latest version, using PHP 7.3 (higher fails), but error while installing the addons:

HTTP 200 - parsererror - Warning: Use of undefined constant _PS_ADMIN_DIR_ - assumed '_PS_ADMIN_DIR_' (this will throw an Error in a future version of PHP) in /www/modules/welcome/OnBoarding/Configuration.php

 

Does someone have the solution to this?

 

Link to comment
Share on other sites

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...