Jump to content

How can to migrate Prestashop data from an old broken Prestashop backup to a new Prestashop


tune

Recommended Posts

Hi,

I just got problems with my long used Prestashop, nothing worked anymore. I couldn't edit articles, I couldn't update modules and 1-click-update killed the rest of the shop. I have a file-backup and a csv-file backup of the old database of the not properly working shop and I want to migrate this data manually to a new clean installation of the newest Prestashop version. Most important are customer data, order informations, products and cathegories. Is it possible to migrate the old data manually? How can I do that? Is there anywhere already a documentation or tutorial? 

I hope someone can help me. Thank you so much

Link to comment
Share on other sites

Go back to a earlier PHP version, empty caches and see if that works out.
Then pull all data from the hoster, public_html or httdoc plus the repsective database export.

That should give you a better set of data to start with.

Link to comment
Share on other sites

Thank you. I lost lots of data, my database csv backup was not complete. I have to get the backup files from my provider. after that i will try it out and give an update.

Link to comment
Share on other sites

OK now it should be easier. I got a good SQL Backup from my Provider. My problem was i missed the last PHP Update and my provider allows nothing under php 7.4 anymore. 

Is it possible, that I just new install my shop in the latest version and just import the SQL and file-Backup?

EDIT:

I made a new Installation on the Server following these advices on "Update Prestashop" and I imported the old Database via Provider Import. The Shop is there now in similar condition like my old shop, but i can't login in my backend, also i can not login/register in the front end. 500 Server Error.

I looked in the Server protocolls and it seems that some hooks are not correct:

 

AH01071: Got error 'PHP message: PHP Deprecated: The hook "Header" is deprecated, please use "displayHeader" instead in module "ps_imageslider". in /httpdocs/classes/Hook.php on line 914; PHP message: PHP Deprecated: The hook "Header" is deprecated, please use "displayHeader" instead in module "klarnapaymentsofficial". in /httpdocs/classes/Hook.php on line 914; PHP message: PHP Deprecated: The hook "Header" is deprecated, please use "displayHeader" instead in module "dhldp". in /httpdocs/classes/Hook.php on line 914; PHP message: PHP Deprecated: The hook "Header" is deprecated, please use "displayHeader" instead in module "jmango360pwa". in /httpdocs/classes/Hook.php on line 914; PHP message: PHP Deprecated: The hook "Header" is deprecated, please use "displayHeader" instead in module "ps_legalcompliance". in /httpdocs/classes/Hook.php on line 914; PHP message: PHP Deprecated: The hook "Header" is deprecated, please use "displayHeader" instead in module "emarketing". in /httpdocs/classes/Hook.php on line 914; PHP message: PHP Deprecated: The hook "Header" is deprecated, please use "displayHeader" instead in module "ps_feeder". in /httpdocs/classes/Hook.php on line 914; PHP message: PHP Deprecated: The hook "Header" is deprecated, please use "displayHeader" instead in module "dhlefn". in /httpdocs/classes/Hook.php on line 914'

I assume I am close to my goal, but here it gets tricky to me. and I am still a newbie in this regards. How can I fix it?

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

On 1/15/2024 at 5:46 PM, Aldeag said:

Check "Prestools" or "Copy shopdata" from the user Musicmaster in this Prestashop forum.

Maybe it can be useful to you

 

Copy shopdata

 

Prestools:

 

Thank you. This method worked for me. Now only my footer doesn't show ps_linklist and I don't know how to put the new store, which I have created as a subfolder, cleanly into the main folder of the server without causing problems. Any ideas?

Edited by tune (see edit history)
  • Like 1
Link to comment
Share on other sites

On 1/19/2024 at 9:05 PM, tune said:

PHP message: PHP Deprecated:

That indicates that your PHP Version is still too high.
Take yoour data and install onto localhost in the php you had when the shop worked. Once you got that working you can upgrade. Or do the shop new from scratch.

Link to comment
Share on other sites

 

6 hours ago, Nickz said:

That indicates that your PHP Version is still too high.

I already fixed it. The Shop is working now. The only thing I don't know is how to move the store from a subfolder of the FTP server to the main folder. I have not found the Rijndael and Cookie keys, which I have to copy according to the instructions. There is nothing in the settings.inc.php and I have not found a parameters.php either. I have installed Prestashop 8.1.3. It is probably easier to change the domain link.

Link to comment
Share on other sites

move the subdomain folder to httdoc,
you adjust in the database the url under ps_configuation, in htccess and wherever some moduls that have the old path,

You could put the subfolders content into the htdoc folder but I prefer a html5 set up in that and use a shop in a folder. That way you can easily change the face of the site whitout having to change the entire shop.

I suggest you read up in the presta documentation before you start and have all data backed up.

Edited by Nickz (see edit history)
  • Like 1
Link to comment
Share on other sites

I finished everything and got my shop fully restored. 

I just did with again with "Prestools" and "Copy shopdata" in the httdoc folder and it works perfectly. It was the easiest way. Thank you all for your help.

Edited by tune (see edit history)
  • Thanks 1
Link to comment
Share on other sites

hace 49 minutos, tune dijo:

I finished everything and got my shop fully restored. 

I just did with again with "Prestools" and "Copy shopdata" in the httdoc folder and it works perfectly. It was the easiest way. Thank you all for your help.

Glad to be helpfull!

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