Jump to content

Server migration to vps and problem


Costantini

Recommended Posts

Hello to everyone,

We bring our website on a vps server on ionos. We bring every file into the new database and server and changed the setting.inc credentials. The problem now is that i dont know if prestashop 1.6.1.4 is compatible with php 7 or higher and in the debug mode of prestashop we have this error. Someone can help us? Thanks

Quote


Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/vhosts/enotecacostantinipiero.it/PrestaShop/Enotecacostantini/classes/db/DbQuery.php:96 Stack trace: #0 /var/www/vhosts/enotecacostantinipiero.it/PrestaShop/Enotecacostantini/Adapter/Adapter_EntityMapper.php(45): DbQueryCore->from('shop', 'a') #1 /var/www/vhosts/enotecacostantinipiero.it/PrestaShop/Enotecacostantini/classes/ObjectModel.php(233): Adapter_EntityMapper->load('1', NULL, Object(Shop), Array, NULL, true) #2 /var/www/vhosts/enotecacostantinipiero.it/PrestaShop/Enotecacostantini/override/classes/ObjectModel.php(19): ObjectModelCore->__construct('1', NULL, NULL) #3 /var/www/vhosts/enotecacostantinipiero.it/PrestaShop/Enotecacostantini/classes/shop/Shop.php(131): ObjectModel->__construct('1', NULL, NULL) #4 /var/www/vhosts/enotecacostantinipiero.it/PrestaShop/Enotecacostantini/classes/shop/Shop.php(397): ShopCore->__construct('1') #5 /var/www/vhosts/enotecacostantinipiero.it/PrestaShop/Enotecacostantini/config/config.inc.php(114): ShopCo in /var/www/vhosts/enotecacostantinipiero.it/PrestaShop/Enotecacostantini/classes/db/DbQuery.php on line 96

 

Edited by vuoshino (see edit history)
Link to comment
Share on other sites

  • 5 years later...

You can migrate a server to a VPS requires planning, backing up data, and using tools like VMware Converter or rsync for hot or cold migration. For that, you first have to configure the VPS with the necessary OS and network settings, update DNS, and test before decommissioning the old server.

All common issues like authentication errors, hardware incompatibilities, network conflicts, or performance issues can be resolved by authenticating sources, matching CPUs, setting IPs manually, and adjusting resources. Just get a consultation with experts if needed. 

Edited by SandipD (see edit history)
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...