Comments (9)
I turned on debug mode and he showed error
The administration backend also crashed. Inaccessible
from prestashop.
Hello,
PrestaShop 8.1.x is only compatible with PHP 7.2 to 8.1. Php 8.2 not is compatible
Best regards
from prestashop.
Hello,
PrestaShop 8.1.x is only compatible with PHP 7.2 to 8.1. Php 8.2 not is compatible
Best regards
你好,
PrestaShop 8.1.x 仅与 PHP 7.2 至 8.1 兼容。 PHP 8.2 不兼容
此致
I tested php 8.0.26 and got the same error.
from prestashop.
Open vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php and put // before putenv(‚SHELL_VERBOSITY=3‘);
Then debug mode will work and show you the error
from prestashop.
打开vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php并将//放在putenv(‚SHELL_VERBOSITY=3');之前
然后调试模式将起作用并显示错误
Hello. thank you for your reply. I think it may be a compatibility issue with the php version.
I switched the version to php 7.4 and he had no problem. Error 500 no longer occurs.
In php 8 or above, I will disable proc_open and remove the erro 500 error. The error will disappear, but I will get a new 502 (502 Bad Gateway nginx)
The error in the background will disable the putenv function and remove it, and it will return to normal.
from prestashop.
Prestashop 8.1 will work just fine on PHP 8.1. (…and it also works unofficially on 8.2 and 8.3 with just some minor deprecation notices…)
Debug mode will tell you what is wrong, either some crucial php method is disabled on your php versions OR some of your modules is incompatible with these php versions.
from prestashop.
I compared php 7.4 and php 8.0.x versions
He disabled both the proc_open and putenv functions.
Version 7.4 runs normally, but php 8 or above will return an error.
Currently I am trying to change the running environment to Debian 12
Prestashop 8.1 在 PHP 8.1 上运行得很好。 (……它也可以在 8.2 和 8.3 上非正式地运行,只是有一些小的弃用通知……)
调试模式会告诉您出了什么问题,要么您的 php 版本上禁用了某些关键的 php 方法,要么您的某些模块与这些 php 版本不兼容。
I compared php 7.4 and php 8.0.x versions
He disabled both the proc_open and putenv functions.
Version 7.4 runs normally, but php 8 or above will return an error.
Currently I am trying to change the running environment to Debian 12
from prestashop.
Prestashop 8.1 will work just fine on PHP 8.1. (…and it also works unofficially on 8.2 and 8.3 with just some minor deprecation notices…)
Debug mode will tell you what is wrong, either some crucial php method is disabled on your php versions OR some of your modules is incompatible with these php versions.
I compared php 7.4 and php 8.0.x versions
He disabled both the proc_open and putenv functions.
Version 7.4 runs normally, but php 8 or above will return an error.
Currently I am trying to change the running environment to Debian 12
from prestashop.
Hello @P3ngfi,
Despite our efforts, we were not able to reproduce your issue with the provided information. It seems that your issue is not a PrestaShop core bug but most likely a server configuration or customization problem.
We will close this issue.
Thank you
from prestashop.
Related Issues (20)
- Installing Prestashop 8 fails at the first step SSL_CTX_set_default_verify_paths HOT 3
- fix error in PHP 8: count(): Argument #1 ($value) must be of type Countable HOT 1
- Delete 8.0 branch as it is not supported HOT 6
- Product Comments module displays raw JSON instead of updating the DOM HOT 5
- Edit Product Page : The menu hide a part of the page in tablet mode
- "propriété Address->lastname n'est pas valide" HOT 2
- You have requested a non-existent service "PrestaShop\Module\PsAccounts\Service\PsAccountsService". HOT 4
- Impossible to edit a country HOT 3
- 1-Click Upgrade HTTP ERROR 500, when images 20K in presta HOT 4
- CartRule->checkValidity FatalThrowableError HOT 2
- errores en actualizacion de version HOT 2
- The example products_import CSV file is not a valid file for importing
- css-loader 7 and sass-loader 14 is not compatible with Node16 HOT 1
- throw new InvalidArgumentException('Invalid category parameter'); I get an error message when I use a sitemap generator. HOT 2
- Problems "must be of type string (or int), null given" and Memcached HOT 2
- Search_bar_module version 2.1.3 HOT 1
- Products disappear after few days when added by API (Webservices) HOT 1
- NPE when downloading credit slip for shipping only HOT 2
- Redirected Back to Step 1 When Choosing Another Country at Checkout HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prestashop.