skijump Posted April 21, 2023 Share Posted April 21, 2023 (edited) I'm installing a fresh install of 8.0.2 and receiving an "An error occurred during installation..." message. install/missing_requirement.php notes: "Your server is running PHP 7.3.33, but PrestaShop requires PHP _PS_INSTALL_MAXIMUM_PHP_VERSION_ or lower. To install PrestaShop _PS_INSTALL_VERSION_ you need to downgrade your server's PHP version." Prestashop 8 Dev Docs says up to PHP 8 is ok, thoughts? I can easily downgrade to 5.6 PHP but curious if that's the real solution. https://devdocs.prestashop-project.org/8/basics/installation/system-requirements/ https://devdocs.prestashop-project.org/8/basics/installation/system-requirements/#php-compatibility-chart Edited April 21, 2023 by skijump (see edit history) Link to comment Share on other sites More sharing options...
Miguel86 Posted April 21, 2023 Share Posted April 21, 2023 If you want Prestashop 8.0.2 you can't downgrade to PHP 5.6 because is not compatible with less than PHP7.2 At least I'm using PHP8.1 (the recommended one) and works fine for me. Link to comment Share on other sites More sharing options...
ComGrafPL Posted April 21, 2023 Share Posted April 21, 2023 For Presta 1.8, you should use PHP 8+ 1 Link to comment Share on other sites More sharing options...
skijump Posted April 23, 2023 Author Share Posted April 23, 2023 Thanks, I've used PHP 8.1 with the proper extensions without luck. I've used Prestashop for 8 years and could always figure out installs, upgrades, etc. This difficult install with error checking is a tough one. (@miamaelia, if you're a chat bot please delete your account. You'll waste your time as well.) Link to comment Share on other sites More sharing options...
Maurice Posted December 16, 2023 Share Posted December 16, 2023 Hi there , i have same problem here i upgraded prestashop from 1.7 to 8.1.2 and everything work more than fine but when i switch to php 8 or 8,1 i get 500 error i m really confused i will investigate Link to comment Share on other sites More sharing options...
Mediacom87 Posted December 17, 2023 Share Posted December 17, 2023 il y a 51 minutes, Maurice a dit : i get 500 error i m really confused i will investigate If you get a 500 error, you need to activate Debug mode. https://www.prestatoolbox.com/content/24-errors-messages-prestashop Link to comment Share on other sites More sharing options...
Maurice Posted December 17, 2023 Share Posted December 17, 2023 12 minuti fa, Mediacom87 dice: If you get a 500 error, you need to activate Debug mode. https://www.prestatoolbox.com/content/24-errors-messages-prestashop Yes right i did and i get this error : Fatal error: Declaration of Link::getImageLink($name, $ids, $type = null) must be compatible with LinkCore::getImageLink($name, $ids, $type = null, string $extension = 'jpg') in /home//rulmenti.online/override/classes/Link.php on line 9 Link to comment Share on other sites More sharing options...
Mediacom87 Posted December 17, 2023 Share Posted December 17, 2023 il y a 23 minutes, Maurice a dit : Yes right i did and i get this error : Fatal error: Declaration of Link::getImageLink($name, $ids, $type = null) must be compatible with LinkCore::getImageLink($name, $ids, $type = null, string $extension = 'jpg') in /home//rulmenti.online/override/classes/Link.php on line 9 It's simple: the override must be corrected to match the structure of your store. It's an update, so you need to adapt the old elements to bring them up to date. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now