Prestashop: 1.7.5 + autoupgrade 4.5.1 = Internal server error

Created on 19 Feb 2019  路  8Comments  路  Source: PrestaShop/PrestaShop

Clean Prestashop 1.7.5 + Autoupgrade 4.5.1 = Internal server error... when want to access module.

1.7.5.0 Autoupgrade BO No change required

All 8 comments

you will not find any updateDelay string because it's obscured by webpack into core.js

also, internal server error says nothing, you should provide log errors from your server

[Tue Feb 19 10:57:56.672810 2019] [proxy_fcgi:error] [pid 1187:tid 140337538352896] [client xxxxx] AH01071: Got error 'PHP message: PHP Warning: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: require_once(/home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/vendor/autoload.php): failed to open stream: No such file or directory in /home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/AdminSelfUpgrade.php:38nStack trace:n#0 /home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/AdminSelfUpgrade.php(38): require_once()n#1 /home/admin/domains/XXXXXX.pl/public_html/classes/Dispatcher.php(485): include_once('/home/admin/dom...')n#2 /home/admin/domains/XXXXXX.pl/public_html/XXXXXXadmin/index.php(99): DispatcherCore->dispatch()n#3 {main}n thrown in /home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/AdminSelfUpgrade.php on line 38nPHP message: PHP Fatal error: DispatcherCore::main(): Failed opening required '/home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/vendor/autoload.php' (include_path='/home/admin/domains/XXXXXX.pl/public_html/vendor/pear/pear_exception:/home/admin/domains/XXXXXX.pl/public_html/vendor/pear/console_getopt:/home/admin/domains/XXXXXX.pl/public_html/vendor/pear/pear-core-minimal/src:/home/admin/domains/XXXXXX.pl/public_html/vendor/pear/archive_tar:.:/usr/local/php71/lib/php') in /home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/AdminSelfUpgrade.php on line 38n', referer: https://XXXXXX.pl/XXXXXXadmin/index.php/configure/advanced/performance/?_token=jTrvH6dC2GqIiIQNu3RDs_Vm4RE9t91gcJH4TeG9FbY

your 1.7.5 installation was previously updated from 1.6 maybe?

Nope. Pure fresh.

cc @Quetzacoalt91

Hi @PrestaShark,

In my case, I did not manage to reproduce the issue with PS1.7.5.0.
The 1-click upgrade is successfully installed
https://drive.google.com/file/d/10css7c52gtcUQ7M8ScrOK__zAmWyiebL/view
The version PS1.7.5.1 will be available for the upgrade today.
Did you installed the upgrade module from the Catalog module page?
Could you please try to clear cache manually by deleting all the folder into var/cache (prod & dev).
Thanks!

[Tue Feb 19 10:57:56.672810 2019] [proxy_fcgi:error] [pid 1187:tid 140337538352896] [client xxxxx] AH01071: Got error 'PHP message: PHP Warning: Uncaught SymfonyComponentDebugExceptionContextErrorException: Warning: require_once(/home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/vendor/autoload.php): failed to open stream: No such file or directory in /home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/AdminSelfUpgrade.php:38nStack trace:n#0 /home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/AdminSelfUpgrade.php(38): require_once()n#1 /home/admin/domains/XXXXXX.pl/public_html/classes/Dispatcher.php(485): include_once('/home/admin/dom...')n#2 /home/admin/domains/XXXXXX.pl/public_html/XXXXXXadmin/index.php(99): DispatcherCore->dispatch()n#3 {main}n thrown in /home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/AdminSelfUpgrade.php on line 38nPHP message: PHP Fatal error: DispatcherCore::main(): Failed opening required '/home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/vendor/autoload.php' (include_path='/home/admin/domains/XXXXXX.pl/public_html/vendor/pear/pear_exception:/home/admin/domains/XXXXXX.pl/public_html/vendor/pear/console_getopt:/home/admin/domains/XXXXXX.pl/public_html/vendor/pear/pear-core-minimal/src:/home/admin/domains/XXXXXX.pl/public_html/vendor/pear/archive_tar:.:/usr/local/php71/lib/php') in /home/admin/domains/XXXXXX.pl/public_html/modules/autoupgrade/AdminSelfUpgrade.php on line 38n', referer: https://XXXXXX.pl/XXXXXXadmin/index.php/configure/advanced/performance/?_token=jTrvH6dC2GqIiIQNu3RDs_Vm4RE9t91gcJH4TeG9FbY

It seems you got the module from git clone. You need to run composer install to get the dependencies and the autoloader.

@PrestaShark, the issue is fixed?
Can I close the ticket?
Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rGaillard picture rGaillard  路  3Comments

centoasa picture centoasa  路  3Comments

zuk3975 picture zuk3975  路  3Comments

wikao2 picture wikao2  路  3Comments

marionf picture marionf  路  3Comments