Page 1 of 1
500 Internal Server Error after Update to
Posted: 15 Apr 2020, 08:35
by MAXambient
I´ve made the update from 3.5.0 Beta to 3.5.0. When I add products at
https://www.maxambient.de and open the Cart, all selected products are in there but when I order it, I get the 500 Error message. But in the backend I can see the order. Any idea what this might be?
Bw
Markus
Re: 500 Internal Server Error after Update to
Posted: 15 Apr 2020, 21:43
by Jan
Hi, enable php error displaying on your site or see errorLog on your server (if errors are stored in log):
https://www.phoca.cz/documents/16-jooml ... rs-on-site
to get more info about the error.
3.5.0 Beta was development version and it should not be updated to stable. 3.5.0 stable should be updated from 3.4.0 to get all changes updated in database, so maybe this could be the problem (some missing database column, etc.)
Jan
Re: 500 Internal Server Error after Update to
Posted: 16 Apr 2020, 07:25
by MAXambient
Morning Jan!
Thanks for your quick reply again. Changed the .htaccess file but after putting the lines from the help doc in there, the whole page showed a 500er error.
So how can I update again without loosing my data? Delete the recent version?
Re: 500 Internal Server Error after Update to
Posted: 16 Apr 2020, 13:08
by Jan
Hi, first of all you need to get info about the 500 error. 500 error is mostly a PHP error - when displaying PHP errors - it tells you which file and which line gets the error. When we know the error than the solution can be easy - e.g. if missing some column in database, it will be just added to database and that is. But to solve it such way, we need to know the error. Anyway did you read the information about development versions like Beta - they should be tested only on test servers, so then the update script will not fail on production site. The problem with update function is not Phoca Cart itself but Joomla! update methods - which have specific information stored and then they don't let run update instructions if they have another information. So it is then not easy to correct the installation.
- The easiest way is to uninstall and reinstall the component - BUT BE AWARE, within this method, all data will be removed
- So it is better to find the error message on your server and make a quick fix (it can be easy, e.g. one column missing in database but unfortunately Joomla! update system will not let the upgrade script to do because it has information that it was already done)
Jan
Re: 500 Internal Server Error after Update to
Posted: 16 Apr 2020, 14:00
by MAXambient
Huhu! Send you a pm