Jump to content

One.com - PHP update nightmare


rvj2184

Recommended Posts

so I have a website that is used for marketing and some sales, it was built probably 9 years ago and as it was really

didn't need prestashop updating as it was stable and done the job

 

All of a sudden not working, so checked with one.com see below for their answer

So I now have to manually recreate the site or is there an easy way of doing it?

cant see how I can charge for the work either :(

 

The issue of your subdomain named shop is due to the PHP.net automatic upgrade to 7.2 as the older versions will no longer be supported starting on December 3. However, you can downgrade your PHP back to its original version which was PHP 5.6 before the said date and that gives you enough time to fix your site. Also, you need to check what version of PrestaShop you currently have. As we checked PHP 5.6 is the minimum supported PHP version. PrestaShop runs perfectly well on PHP 7.1, developers encourage everyone to use that PHP version. In addition, PrestaShop will also be compatible with PHP 7.2 starting on Prestashop 1.7.4. So probably, Prestashop 1.6 may have problems with PHP 7.2, we recommended using PHP 7.1 Please don't forget, the key is to update everything to make it compatible with PHP 7.2 as 5.6 will not be supported starting December 3 so before it happens, make sure you fix your site. 

Link to comment
Share on other sites

You don't write which Prestashop version your present shop has.

Yes, it is true that PHP is stopping its support of 5.6. And in about a year support for 7.1 will stop too. So unless you want to run your own server with an old PHP version - what isn't recommended for security reasons - you don't have an alternative to upgrading.

Most likely you are running Prestashop 1.4. In that case you will need to choose a new template. If you are running 1.5 there would be a small chance that you could maintain your template but given the popularity of mobile and the connected demand for responsive webshops you should consider upgrading anyway.

Upgrading itself shouldn't be a problem. There are many people who are prepared to do it for you for a bit of money if you want. The big effort usually goes into customizing the webshop. So if you are new to the webshop you might consider downloading a fresh copy of Prestashop of the same version and compare the files.

Link to comment
Share on other sites

If you consider it, by supporting a non supported PHP version, they would take a security risk on their hosting: if a security issue is found, they will be no update. And we are not speaking about a blog or a landing page, but about online stores with money transactions. The impact could be quite serious, from a lawyer point of vue: who is responsible, the store owner with the old software, or the hosting company that provide an unsecured service? depending of the guaranties in the term and conditions of the service, and local laws, the hosting provider might be responsible is a shop is hacked...

Some hosting companies could go even further, and scan and inform on a regular basis their customers if they are using old softwares, or CMS plugins/themes with known vulnerabilities. This would actually be a good proof of seriousness. 

So now, let's make comparison with a "brick" shop. If you have some electric installation, in many countries, it must be inspected regularly. And if it's not ok with the local rules, the owner will have to upgrade it, and in some cases, you must pay a certified technician (e.g: this is the case in France). Maybe online store owners should have this kind of approach too, with their hosting and their software. If you think about it, 9 years, for Internet, this is a looooong time 🙂

Link to comment
Share on other sites

I think the difference is that low level hosting are putting customers on php7 without informing them.  Good hosting companies would send ample warning that this change is planned in future. 

We have seen now many 1.6 shops that stopped working because hosting changed to php7 without informing...this in the forum we see a 'lot'...but what we don't see are those that have same issue but are not community members....

moving off 5.6 IMHO via upgrade is not to be taken lightly and certainly who can plan/execute upgrade by Dec 3rd?  

so my advice stands, find competent hosting that will support 5.6 until you decide to upgrade...

 

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