rawnibbles Posted October 30, 2012 Share Posted October 30, 2012 Hi All; I used the AutoUpgrade function earlier on today to go from V1.4.9 to V1.5.2. This didn't quite go according to plan, so I rolled back, and everything was returned to normal. One thing I noticed is that the back office layout in my browser wasn't readable, so I then tried again, using Internet Explorer. I ran the upgrade, and then it failed and tried to roll back. At the same time, the page created a pop-up, and I ended up leaving the page whilst it should have been rolling back. Now, I can't access the back office or the shop, I am just getting the error: Server error The website encountered an error while retrieving http://shop.rawnibbles.co.uk/rawnibblesadmin/index.php. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this web page later.HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request. Does anyone have a solution for this? I've got no idea what to do about it, and I'm totally stuck! Many thanks, Soph Link to comment Share on other sites More sharing options...
Billh140 Posted October 30, 2012 Share Posted October 30, 2012 I did the upgrade 1.5.2 from 1.5.1 and now I have lost everything and I am scared to roll mine back II am working on Chrome browser IE9 wont load for me. I am scared I will get the same problems you have. Link to comment Share on other sites More sharing options...
rawnibbles Posted October 30, 2012 Author Share Posted October 30, 2012 I really don't know what to do about it... Everything is completely broken. Are there any [spam-filter]'s out there that can help? Please?! Link to comment Share on other sites More sharing options...
musicmaster Posted October 30, 2012 Share Posted October 30, 2012 Prestashop rollbacks are unreliable. You should always make your own backup of both the database and the files. The first thing to do would be to switch on the error settings in your config.inc.php file. It will give you at least some insight in what is going wrong. Another thing is to have a look at your files with ftp and at your database with phpmyadmin: after a faulty rollback there are often database tables missing. If you didn't make a backup your best chance is to get the backup made by autoupgrade (at \admin\autoupgrade\backup) and reconstruct from that on your local computer a working setup. Very probably your setup is now a mix of files from two different versions. Link to comment Share on other sites More sharing options...
Billh140 Posted October 30, 2012 Share Posted October 30, 2012 I have contacted Bluehost a hosting service for prestashop and gonna restore everything that way if I can . Link to comment Share on other sites More sharing options...
rawnibbles Posted October 30, 2012 Author Share Posted October 30, 2012 Prestashop rollbacks are unreliable. You should always make your own backup of both the database and the files. The first thing to do would be to switch on the error settings in your config.inc.php file. It will give you at least some insight in what is going wrong. Another thing is to have a look at your files with ftp and at your database with phpmyadmin: after a faulty rollback there are often database tables missing. If you didn't make a backup your best chance is to get the backup made by autoupgrade (at \admin\autoupgrade\backup) and reconstruct from that on your local computer a working setup. Very probably your setup is now a mix of files from two different versions. Thank you MusicMaster. I've had a look at my config.inc.php file and I can't see how to turn errors on. One of the problems I have is my access to the server is very limited. I can access my files via FTP, and I use PuTTY to log into MySQL. I definitely have a backup in the admin section from before things went pear-shaped, but I'm not good enough with MySQL to know the commands to restore the database. Unfortunately, I'm a Windows user, and don't have access to a Linux box to get things working on! Can you offer any advice on restoring the database from the command line? Link to comment Share on other sites More sharing options...
rawnibbles Posted October 30, 2012 Author Share Posted October 30, 2012 I *think* I might be sorted. My lovely Linux friend is in the process of restoring my database backup and files from this morning... Fingers crossed that it will do the trick. Thank you to all that read this thread or replied to it. Soph Link to comment Share on other sites More sharing options...
musicmaster Posted October 30, 2012 Share Posted October 30, 2012 (edited) You can perfectly run Prestashop on a Windows box. Use Xampp for that. It is a good way to get a feeling for what you are doing. To switch error display on you should change two settings at the beginning of the config file. /* Debug only */ @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); Edited October 30, 2012 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
rawnibbles Posted October 31, 2012 Author Share Posted October 31, 2012 Thank you very much. I'm finally back up and running! http://shop.rawnibbles.co.uk/ Link to comment Share on other sites More sharing options...
rawnibbles Posted October 31, 2012 Author Share Posted October 31, 2012 I still can't get it to update, so am in the process of installing Xampp - thank you MusicMaster (again!). Link to comment Share on other sites More sharing options...
Recommended Posts