jimerino Posted January 7, 2014 Share Posted January 7, 2014 Hi there! I'm trying to upgrade prestashop 1.5.6.0 to 1.5.6.1 (stable) through 1-click upgrade module. The Server is an IIS 7.5 with PHP and MariaDB. The process upgrade the files and show "all files are upgraded" message but gives me an error trying to upgrade the database. Ajax / Server Error for action upgradeDb] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: " " There's no error on the php_errors.log. Any clue? How can force to prestashop to give me more information about what's happening? Thanks in advance, Jose I. Merino Link to comment Share on other sites More sharing options...
NemoPS Posted January 8, 2014 Share Posted January 8, 2014 Any chance the script is timing out? Is it taking long? You should check the response of the script's call in the network tab of the developer tools (f12 on chrome, hit that before trying to upgrade) Link to comment Share on other sites More sharing options...
benjamin utterback Posted January 8, 2014 Share Posted January 8, 2014 Many times this is because of server limitations. Look into the server error logs not just the php error logs, there should be something there. Do that lone with Nemo1's suggestions and get back to us. Thanks! Link to comment Share on other sites More sharing options...
faceplant Posted January 9, 2014 Share Posted January 9, 2014 (edited) is there a proper fix for this??? Telling users to check server logs and php logs is a BS request. A lot of users are on shared hosting and cannot see the logs. For a product that has been around for some time, we should be able to get a better response from devs, also the update sequence is a little lame...errors here, errors there. Auto update gives the following: Ajax / Server Error for action upgradeDb] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: " " From local tells us install\upgrade\php does not exist in archive or directory when clearly it does exist Edited January 9, 2014 by faceplant (see edit history) Link to comment Share on other sites More sharing options...
jimerino Posted January 9, 2014 Author Share Posted January 9, 2014 There's no timeout (the error appears instantly) and there's no error on php_error.log. The server limitation isn't a problem: the server is dedicated. I've tried to upgrade manually launching upgrade.php but gives me the error settings.inc.php doesn't exists (that's weird because prestashop has been working fine). I've tried to set the debug on defines.inc.php but the copy of the files overrides the defines.inc.php file (setting the debug to off) but seems that the console debug doesn't have any effect on the upgrade script. Those tests destroy the shop. I'm trying to restore from a backup to reproduce the error and see the ajax response from the network option in Chrome. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now