PHPRad Classic Initial 2.7.3 Forum

PHPRad Forum => Bugs => Topic started by: Euder on February 02, 2020, 09:49:11 PM

Title: Login and Logout redirect to ERROR 500 page
Post by: Euder on February 02, 2020, 09:49:11 PM
Dear developers!

I have an app that works fine while editing in PHPRad or in localhost browser. After upload it to a hosting server and configuring the DB access in the config.php file, it results in an Error 500. The most curious behavior is that even after the error it is possbile to access the home page by clicking over the logo or home page link. See attached pictures files with the steps.

Thanks for any help!

Title: Re: Login and Logout redirect to ERROR 500 page
Post by: willvin on February 03, 2020, 11:56:26 AM
@Euder‍ this is an issue with your server configuration, please make sure your server is configured to use .htaccess file and that the .htaccess file in your phprad project root was uploaded to your server too. similar question here https://phprad.com/forum/index.php?topic=130.msg303#msg303 (https://phprad.com/forum/index.php?topic=130.msg303#msg303)
Title: Re: Login and Logout redirect to ERROR 500 page
Post by: Euder on February 03, 2020, 01:59:14 PM
Hi Willvin,

The .htaccess is working fine because I have created another app, using the same database, just for test and it has worked fine. Also the file is there. So, I think this is not the cause. Any other option?
Title: Re: Login and Logout redirect to ERROR 500 page
Post by: Euder on February 03, 2020, 02:05:56 PM
Willvin,

Just confirmed with the hosting provider the .htaccess is enabled and the file .hataccess is at the root directory.
Title: Re: Login and Logout redirect to ERROR 500 page
Post by: Euder on February 03, 2020, 07:33:25 PM
NOT A BUG. MY MISTAKE. I forgot to update the database. Sorry for the inconvenience.
Title: Re: Login and Logout redirect to ERROR 500 page
Post by: ayilmaz on May 28, 2021, 02:08:43 PM
Hello what was the your mistake ? i have the same error but i couldn’t solve it ? can you please help me ?
Title: Re: Login and Logout redirect to ERROR 500 page
Post by: daninet on February 05, 2024, 02:28:10 PM
NOT A BUG. MY MISTAKE. I forgot to update the database. Sorry for the inconvenience.

cosa hai cambiato di preciso ?