Jump to content

Help Required To Restore A Site


Paul Miller

Recommended Posts

Hi Paul

Welcome to the forum. Sorry to hear your site went down and not active for months. There could be few issues but for start you can enable debug mode

One of cause could be that your hosting changed PHP version and depending on your PrestaShop version it may be not supported.

 

If you need paid technical support check official PrestaShop agencies https://www.prestashop.com/en/experts or post a job offer in separate part of forum https://www.prestashop.com/forums/forum/235-job-offers/ .

 

Note that forum main purpose is to help in these cases so depending on error you get after debug mode members could help you out and solve issue.

Link to comment
Share on other sites

Thank you for your help. I have switched on debugging. Now the page displays:

 

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/domains/vol1/476/3196476/user/htdocs/config/defines.inc.php on line 143

Fatal error: Uncaught Error: [] operator not supported for strings in /home/domains/vol1/476/3196476/user/htdocs/classes/db/DbQuery.php:97 Stack trace: #0 /home/domains/vol1/476/3196476/user/htdocs/Adapter/Adapter_EntityMapper.php(45): DbQueryCore->from('shop', 'a') #1 /home/domains/vol1/476/3196476/user/htdocs/classes/ObjectModel.php(233): Adapter_EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) #2 /home/domains/vol1/476/3196476/user/htdocs/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #3 /home/domains/vol1/476/3196476/user/htdocs/classes/shop/Shop.php(400): ShopCore->__construct('1') #4 /home/domains/vol1/476/3196476/user/htdocs/config/config.inc.php(114): ShopCore::initialize() #5 /home/domains/vol1/476/3196476/user/htdocs/index.php(27): require('/home/domains/v...') #6 {main} thrown in /home/domains/vol1/476/3196476/user/htdocs/classes/db/DbQuery.php on line 97

Link to comment
Share on other sites

The PHP version is 7.3 (although host recommends 7.4) and the PrestaShop version is 1.6.

From the graph, I can see that if I upgrade PHP to 7.4 I will require PrestaShop 1.7.8.

How can I upgrade PrestaShop without losing my database and other settings, please?

Thank you.

Link to comment
Share on other sites

25 minutes ago, Paul Miller said:

The PHP version is 7.3 (although host recommends 7.4) and the PrestaShop version is 1.6.

From the graph, I can see that if I upgrade PHP to 7.4 I will require PrestaShop 1.7.8.

How can I upgrade PrestaShop without losing my database and other settings, please?

Thank you.

You will need to downgrade your php to 5.6 our 7.1 (depending on the ps version, php 5.6 will work for all PS 1.6 versions), if this is not possible on your server you will need to upgrade your store on a localhost our diffrent server.

Now you will have access to your store again. You can make a backup and upgrade to the latest ps version of 1.6.1.x which support PHP 7.1

However php 7.1 is not supported anymore and security breaches will not be patched anymore. Also knowing the latest Prestashop 1.6 version is released in 2019 which is old and outdated in terms of software.

We advice you to upgrade to Prestashop 1.7 which will support PHP 7.3, in a few months Prestashop 1.7.8 will also support PHP 7.4.

For an upgrade from Prestashop 1.6 to 1.7 you will lose your custom theme and/or modules since there are not compatible.

If needed we can do this upgrade for you as an offical Prestashop agency. You can contact us trough PM our using our email [email protected]

Most important rule of this all is to backup all your files and your MYSQL databank so you do not lose any data.

  • Like 1
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...