Jump to content

Edit History

falken76

falken76

Am I doing something wrong to restore a backup?

I have a shop I'm trying to backup.  I've followed the guides online that basically say to copy the entire root directory and save it.  Then you use phpmyadmin to export the database.   I have over 300 items in my shop and the exported database file is 468 bytes in size.  Is this how tiny a database export file is?  I opened it in a text editor to look at it.  This is all that is in the file, is this all SQL needs to know where everything is?

image.png.93de499b54aeea4ec98648889fb619e6.png

Is this really only 1 line that isn't commented out?  Is phpmyadmin exporting the database correctly?  When I copy the files to another install of prestashop and import the database, all the guides say that's it and you just check your url and it should be restored.  When I do that, it gets an internal 500 error.  When I check the logs it says that /classes/shops/Shop.php has an error on line 422.  This is that log and the Shop.php file opened and line 422 is highlighted.  How do you fix this issue?

 

image.thumb.png.7badde1d1c0e96efae48552c55778488.png

falken76

falken76

Am I doing something wrong to restore a backup?

I have a shop I'm trying to backup.  I've followed the guides online that basically say to copy the entire root directory and save it.  Then you use phpmyadmin to export the database.   I have over 300 items in my shop and the exported database file is 468 bytes in size.  Is this how tiny a database export file is?  I opened it in a text editor to look at it.  This is all that is in the file, is this all SQL needs to know where everything is?

image.png.93de499b54aeea4ec98648889fb619e6.png

Is this really only 1 line that isn't commented out?  Is phpmyadmin exporting the database correctly?  When I copy the files to another install of prestashop and import the database, all the guides say that's it and you just check your url and it should be restored.  When I do that, it gets an internal 500 error.  When I check the logs it says that /classes/shops/Shop.php has an error on line 422.  This is that log and the Shop.php file opened and line 422 is highlighted.  How do you fix this issue?

×
×
  • Create New...