Jump to content

500 error when I try to install a module in the backoffice


kaynaprod

Recommended Posts

I migrated my site from one host to another and since then I have had some problems.


In particular, I have to update my prestashop version in order to be able to use version 7 of php.

I also have the following error when I inspect the request :

Quote

Error: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Notice: Use of undefined constant PHPEXCEL_ROOT - assumed 'PHPEXCEL_ROOT' in /home/ax477erb/public_html/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/ZipArchive.php:31
Stack trace:
#0 /home/ax477erb/public_html/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/ZipArchive.php(31): Symfony\Component\Debug\ErrorHandler->handleError(8, 'Use of undefine...', '/home/ax477erb/...', 31, Array)
#1 /home/ax477erb/public_html/vendor/symfony/symfony/src/Symfony/Component/Debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php(194): require_once('/home/ax477erb/...')
#2 /home/ax477erb/public_html/vendor/symfony/symfony/src/Symfony/Component/Debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php(149): Symfony\Component\Debug\FatalErrorHandler\ClassNotFoundFatalErrorHandler->convertFileToClass('/home/ax477erb/...', '/home/ax477erb/...', 'PHPExcel')
#3 /home/ax477erb/public_html/vendor/symfony/symfony/src/Symfony/Component/Debug/FatalErrorHandler/Cl (500 Internal Server Error)


When I try to install the Prestashop 1.Click Upgrade module I have the following error:

Quote

MethodNotAllowedHttpException in classes.php line 2118:No route found for "GET /module/manage/action/install/autoupgrade": Method Not Allowed (Allow: POST)

 

in classes.php line 2118

at RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))

at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in WrappedListener.php line 61

at WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))

at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in classes.php line 1871

at EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) in classes.php line 1786

at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in TraceableEventDispatcher.php line 140

at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in bootstrap.php.cache line 3236

at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3206

at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3360

at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2562

at Kernel->handle(object(Request), '1', false) in index.php line 86

 

Thank you in advance for your help.

 

 

erreur presta.JPG

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