500 Internal Server Error after Update to

Phoca Cart - complex e-commerce extension
MAXambient
Phoca Enthusiast
Phoca Enthusiast
Posts: 85
Joined: 13 Feb 2020, 17:49

500 Internal Server Error after Update to

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 500 Internal Server Error after Update to

Post 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.) :idea:

Jan
If you find Phoca extensions useful, please support the project
MAXambient
Phoca Enthusiast
Phoca Enthusiast
Posts: 85
Joined: 13 Feb 2020, 17:49

Re: 500 Internal Server Error after Update to

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 500 Internal Server Error after Update to

Post 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
If you find Phoca extensions useful, please support the project
MAXambient
Phoca Enthusiast
Phoca Enthusiast
Posts: 85
Joined: 13 Feb 2020, 17:49

Re: 500 Internal Server Error after Update to

Post by MAXambient »

Huhu! Send you a pm
Post Reply