Giter VIP home page Giter VIP logo

Comments (9)

P3ngfi avatar P3ngfi commented on June 9, 2024

I turned on debug mode and he showed error
image
The administration backend also crashed. Inaccessible
image

from prestashop.

jlores avatar jlores commented on June 9, 2024

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.

P3ngfi avatar P3ngfi commented on June 9, 2024

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.

Hlavtox avatar Hlavtox commented on June 9, 2024

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.

P3ngfi avatar P3ngfi commented on June 9, 2024

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

Hlavtox avatar Hlavtox commented on June 9, 2024

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.

P3ngfi avatar P3ngfi commented on June 9, 2024

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.

P3ngfi avatar P3ngfi commented on June 9, 2024

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.

paulnoelcholot avatar paulnoelcholot commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.