HTTP ERROR 500

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
boltinvader
Newbie
Posts: 6
Joined: Sun Mar 31, 2024 8:39 pm

HTTP ERROR 500

Post by boltinvader »

Hi all,

one new Problem occurred when I wanted to make the Authentication with google. I activated google Authentication and it instantly killed my session and now I cant connect to the website anymore.

Is there a way in the configuration file to deactivate this and get it running again?
alfa24
Senior Boarder
Posts: 2110
Joined: Fri Nov 24, 2017 8:45 am

Re: HTTP ERROR 500

Post by alfa24 »

I think you can only kill your cookies and remove the authorized app from Google.
Per supporto GRATUITO contattatemi in privato qui
boltinvader
Newbie
Posts: 6
Joined: Sun Mar 31, 2024 8:39 pm

Re: HTTP ERROR 500

Post by boltinvader »

This doesnt work. Maybe in the Config File or somewhere?
alfa24
Senior Boarder
Posts: 2110
Joined: Fri Nov 24, 2017 8:45 am

Re: HTTP ERROR 500

Post by alfa24 »

Post your web server error log.
Per supporto GRATUITO contattatemi in privato qui
boltinvader
Newbie
Posts: 6
Joined: Sun Mar 31, 2024 8:39 pm

Re: HTTP ERROR 500

Post by boltinvader »

[Sat Jun 29 00:00:04.962233 2024] [mpm_prefork:notice] [pid 926] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
[Sat Jun 29 00:00:04.962321 2024] [core:notice] [pid 926] AH00094: Command line: '/usr/sbin/apache2'
[Sat Jun 29 08:49:06.848697 2024] [php7:error] [pid 6694] [client 192.168.144.205:52978] PHP Fatal error: Declaration of Plugin\\GoogleAuth\\Authentication::getLoginGUI() must be compatible with PluginAuthenticationWithRedirectInterface::getLoginGUI($redirect = '') in /var/www/html/formalms/plugins/GoogleAuth/Authentication.php on line 25
[Sat Jun 29 08:49:16.279221 2024] [php7:error] [pid 6695] [client 192.168.144.205:52995] PHP Fatal error: Declaration of Plugin\\GoogleAuth\\Authentication::getLoginGUI() must be compatible with PluginAuthenticationWithRedirectInterface::getLoginGUI($redirect = '') in /var/www/html/formalms/plugins/GoogleAuth/Authentication.php on line 25
[Sat Jun 29 08:52:09.356889 2024] [php7:error] [pid 6698] [client 192.168.144.205:61109] PHP Fatal error: Declaration of Plugin\\GoogleAuth\\Authentication::getLoginGUI() must be compatible with PluginAuthenticationWithRedirectInterface::getLoginGUI($redirect = '') in /var/www/html/formalms/plugins/GoogleAuth/Authentication.php on line 25
[Sun Jun 30 00:00:04.857685 2024] [mpm_prefork:notice] [pid 926] AH00171: Graceful restart requested, doing restart
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953
PHP: syntax error, unexpected '(' in /etc/php/7.4/apache2/php.ini on line 1953


Line 1953:
mime_content_type() support = On
Last edited by boltinvader on Sun Jun 30, 2024 1:16 pm, edited 1 time in total.
alfa24
Senior Boarder
Posts: 2110
Joined: Fri Nov 24, 2017 8:45 am

Re: HTTP ERROR 500

Post by alfa24 »

You have a syntax error in your php.ini that you probably customised in a bad way.
Moreover there's a bug in Google Auth plugin (it doesn't depend on you).
I suggest to solve the php.ini problem first of all.
Per supporto GRATUITO contattatemi in privato qui
boltinvader
Newbie
Posts: 6
Joined: Sun Mar 31, 2024 8:39 pm

Re: HTTP ERROR 500

Post by boltinvader »

I got the error fixed in the ini but I could not solve the problem with deactivating the google auth.
Right now I get a blank website when opening the IP Address.

Is there any way to deactivate the Google Plugin via the Terminal? Is there any path to do something like this?
alfa24
Senior Boarder
Posts: 2110
Joined: Fri Nov 24, 2017 8:45 am

Re: HTTP ERROR 500

Post by alfa24 »

Blank page is because of a fatal error.
Post your web server log again, or activate debug in the config.php file and your error will be output instead of the blank page.
Per supporto GRATUITO contattatemi in privato qui
boltinvader
Newbie
Posts: 6
Joined: Sun Mar 31, 2024 8:39 pm

Re: HTTP ERROR 500

Post by boltinvader »

[Mon Jul 01 00:00:04.976122 2024] [mpm_prefork:notice] [pid 13438] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
[Mon Jul 01 00:00:04.976203 2024] [core:notice] [pid 13438] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 01 10:57:27.838146 2024] [mpm_prefork:notice] [pid 13438] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Jul 01 10:57:37.956197 2024] [mpm_prefork:notice] [pid 926] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
[Mon Jul 01 10:57:37.961741 2024] [core:notice] [pid 926] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 01 11:00:44.088675 2024] [php7:error] [pid 1069] [client 192.168.144.205:53982] PHP Fatal error: Declaration of Plugin\\GoogleAuth\\Authentication::getLoginGUI() must be compatible with PluginAuthenticationWithRedirectInterface::getLoginGUI($redirect = '') in /var/www/html/formalms/plugins/GoogleAuth/Authentication.php on line 25
[Mon Jul 01 11:00:57.154903 2024] [php7:error] [pid 1071] [client 192.168.144.205:53998] PHP Fatal error: Declaration of Plugin\\GoogleAuth\\Authentication::getLoginGUI() must be compatible with PluginAuthenticationWithRedirectInterface::getLoginGUI($redirect = '') in /var/www/html/formalms/plugins/GoogleAuth/Authentication.php on line 25
[Mon Jul 01 11:01:05.436794 2024] [php7:error] [pid 1072] [client 192.168.144.205:54008] PHP Fatal error: Declaration of Plugin\\GoogleAuth\\Authentication::getLoginGUI() must be compatible with PluginAuthenticationWithRedirectInterface::getLoginGUI($redirect = '') in /var/www/html/formalms/plugins/GoogleAuth/Authentication.php on line 25
[Mon Jul 01 11:01:08.953089 2024] [php7:error] [pid 1073] [client 192.168.144.205:54014] PHP Fatal error: Declaration of Plugin\\GoogleAuth\\Authentication::getLoginGUI() must be compatible with PluginAuthenticationWithRedirectInterface::getLoginGUI($redirect = '') in /var/www/html/formalms/plugins/GoogleAuth/Authentication.php on line 25
[Mon Jul 01 11:01:10.855921 2024] [php7:error] [pid 1069] [client 192.168.144.205:54015] PHP Fatal error: Declaration of Plugin\\GoogleAuth\\Authentication::getLoginGUI() must be compatible with PluginAuthenticationWithRedirectInterface::getLoginGUI($redirect = '') in /var/www/html/formalms/plugins/GoogleAuth/Authentication.php on line 25
[Mon Jul 01 11:01:21.077235 2024] [php7:error] [pid 1070] [client 192.168.144.205:54021] PHP Fatal error: Declaration of Plugin\\GoogleAuth\\Authentication::getLoginGUI() must be compatible with PluginAuthenticationWithRedirectInterface::getLoginGUI($redirect = '') in /var/www/html/formalms/plugins/GoogleAuth/Authentication.php on line 25
[Mon Jul 01 14:11:04.912312 2024] [mpm_prefork:notice] [pid 926] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Jul 01 14:11:14.322510 2024] [mpm_prefork:notice] [pid 927] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
[Mon Jul 01 14:11:14.325256 2024] [core:notice] [pid 927] AH00094: Command line: '/usr/sbin/apache2'
alfa24
Senior Boarder
Posts: 2110
Joined: Fri Nov 24, 2017 8:45 am

Re: HTTP ERROR 500

Post by alfa24 »

Forma version?
Per supporto GRATUITO contattatemi in privato qui
Post Reply