Jump to content

Upgrade from 1.7.7.2 to 1.7.8.7 and PHP 8.0 issue - blank page


Recommended Posts

Hello everyone, I have an installation of prestashop 1.7.7.2 with all the updated modules.
I ran the "1-Click Upgrade" module and successfully updated to the latest 1.7.8.7 release. (so far so good)
The problem is that when I switch from PHP 7.4 to PHP 8.0 on the server, the site is no longer visible. The backoffice is also shown as a blank page.

My desire to upgrade arises solely from the fact that my hosting (one.com) at the end of October will remove PHP 7.4 from their servers and only allow the use of PHP 8.0 and above. For this reason I decided to update Prestashop to the latest release 1.7.8.7

Link to comment
Share on other sites

  On 10/14/2022 at 10:48 AM, ketamina said:

Hello everyone, I have an installation of prestashop 1.7.7.2 with all the updated modules.
I ran the "1-Click Upgrade" module and successfully updated to the latest 1.7.8.7 release. (so far so good)
The problem is that when I switch from PHP 7.4 to PHP 8.0 on the server, the site is no longer visible. The backoffice is also shown as a blank page.

My desire to upgrade arises solely from the fact that my hosting (one.com) at the end of October will remove PHP 7.4 from their servers and only allow the use of PHP 8.0 and above. For this reason I decided to update Prestashop to the latest release 1.7.8.7

Expand  

Most hosting has a free either paid option to keep PHP's versions for the clients. Not only keeping one. You should ask them if you didn't yet.

  • Thanks 1
Link to comment
Share on other sites

  • 5 weeks later...
  On 11/13/2022 at 12:40 PM, Pmor1 said:

Hi ketamina, did you manage to solve it?

Expand  

one.com told me this:

On November 28, 2022, PHP 7.4 will be permanently removed from our servers. After that date you will not be able to go back to version 7.4. So be sure to resolve any issues before that date.

so now I'm waiting for the 1-click-upgrade module to be updated to allow upgrading to the recently released 8.0.

Link to comment
Share on other sites

  On 11/15/2022 at 9:00 AM, ketamina said:

one.com told me this:

On November 28, 2022, PHP 7.4 will be permanently removed from our servers. After that date you will not be able to go back to version 7.4. So be sure to resolve any issues before that date.

so now I'm waiting for the 1-click-upgrade module to be updated to allow upgrading to the recently released 8.0.

Expand  

Make a clean install and test your theme and modules, if they will work on 8.0. Don't wait for last seconds.

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...
  On 10/14/2022 at 10:48 AM, ketamina said:

Hello everyone, I have an installation of prestashop 1.7.7.2 with all the updated modules.
I ran the "1-Click Upgrade" module and successfully updated to the latest 1.7.8.7 release. (so far so good)
The problem is that when I switch from PHP 7.4 to PHP 8.0 on the server, the site is no longer visible. The backoffice is also shown as a blank page.

My desire to upgrade arises solely from the fact that my hosting (one.com) at the end of October will remove PHP 7.4 from their servers and only allow the use of PHP 8.0 and above. For this reason I decided to update Prestashop to the latest release 1.7.8.7

Expand  

Unfortunately, you will need to upgrade to 8.0.0, same situation here.
I don't get why they would remove (old/insecure PHP versions, still give your users freedom in this!) most hosts offer this freedom.

I wish you good luck

Link to comment
Share on other sites

  On 11/15/2022 at 9:00 AM, ketamina said:

one.com told me this:

On November 28, 2022, PHP 7.4 will be permanently removed from our servers. After that date you will not be able to go back to version 7.4. So be sure to resolve any issues before that date.

so now I'm waiting for the 1-click-upgrade module to be updated to allow upgrading to the recently released 8.0.

Expand  

Once they remove PHP 7.4, you will not be able to use this autoupgrade function anymore.

Link to comment
Share on other sites

  On 11/28/2022 at 8:01 PM, ibzslab said:

Hi,

Can someone explain me how to work with PS and PHP 8.0 or is PS obsolete?

I'm using PS so many years (and upgrade it regulary) but this time.... look like PS not up to datable? come on!

Expand  

For now, if your hosting allow, stay on 7.4 and your actual PS version. PS 1.8 is for testing, mainly. I wouldn't go with it on live store, new either for upgrade. If your host will only allow PHP 8, try to find other one. Here in Poland, most hosting companies keeping older PHP version for free or with small fees.

Link to comment
Share on other sites

I was forced to move from another hosting.
I saved the backup of the site directly from the one.com provider with a comfortable compressed archive + the sql database.
I uploaded everything on the new hosting but I can't get out of this problem:

 

 

immagine.png.a25dc75acea2638414c3415539473db0.png

Link to comment
Share on other sites

  On 12/2/2022 at 12:08 PM, juanrojas said:

- clear cache via ftp
- enable debug mode via ftp

Expand  

thanks for your quick reply.

By "delete the cache" do you mean FTP access to the /cache/ path and delete ALL the content there?

i'm usind PLESK 18.0.48 on AlmaLinux 8.7, I already have all the active logs, which ones would you like to see?

immagine.thumb.png.b027746a534c7f4c4037a99ef56fe7fe.png

Link to comment
Share on other sites

  • 4 months later...

Hi can anyone help me for blank page showing in site.

Actually I had migrate the prestashop 1.7.8 to another server but on another server the php is 8.0 and previously I am using the 7.4 so is this issue is because of php version?

Link to comment
Share on other sites

  • 6 months later...
  On 10/24/2023 at 2:40 PM, thx2012 said:

I have similar problem,

I'm unable to upgrade php from 7.2 to any other version without blank page or 500 Server Error.

If I revert back to php 7.2, I'm able to access again.

How do you upgrade php version without disrupting the site?

Expand  

It would be informative if you took the trouble to tell us your Prestashop version.

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