Report any technical problems you discover and discuss solutions.

500 server error after OS upgrade

  • tsalyers
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 day 19 hours ago #9784 by tsalyers
500 server error after OS upgrade was created by tsalyers
Hi, all. Our Unix support team recently upgraded our dev Xerte server to a supported OS (Ubuntu 22), and I believe they also upgraded the PHP version on the system either at the same time or very close to it. (It's now running 8.1.2-1ubuntu2.29.)

Ever since then, I've been having a weird issue where sometimes--but only sometimes--the main login page will show up, and when I try to log in, I immediately get an "HTTP ERROR 500" page. From that point, nothing seems to fix it. Not even restarting Apache or even fully rebooting the system will work. Occasionally when I try again a few hours or a day later, the login page will show again. 

I'm at a loss here. There's nothing in the Apache or system error logs that indicate anything is wrong, and as far as I can tell Apache is configured to use the new version of PHP. I also don't think it's a database problem, as the configuration hasn't changed, and I was able to log into MySQL from the command line with the username and password Xerte is using. 

Does anyone have any ideas what might be causing this and/or how to go about fixing it? Any and all advice is greatly appreciated. Thanks! 

Please Log in or Create an account to join the conversation.

More
1 day 14 hours ago #9785 by tom
Replied by tom on topic 500 server error after OS upgrade
I have no idea, and the version of Ubuntu and PHP should work fine.

Please change the value of $developer to true in the config.php file around line 43. Now, the error 500 should be logged in apache's error log so hopefully will give you a clue of what is going on!

Please Log in or Create an account to join the conversation.

Moderators: ronm, julten, JohnSmith
Time to create page: 0.077 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo