HTTP Error 500 on login

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
rowdybean
Posts: 4
Joined: Thu Feb 14, 2013 1:23 pm

HTTP Error 500 on login

Post by rowdybean »

I'm running version 2.8.0 RC and when I click the login link I get the following error

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.

I've tried reinstalling everything, but still the same problem? I am running apache2 and mysql on a ubuntu server.
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: HTTP Error 500 on login

Post by Thorsten »

Hi,

please try to enable the debug mode in inc/Bootstrap.php

Thanks

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rowdybean
Posts: 4
Joined: Thu Feb 14, 2013 1:23 pm

Re: HTTP Error 500 on login

Post by rowdybean »

phpMyFAQ notice [8]: Undefined index: ldap_use_multiple_servers in /var/www/inc/PMF/Auth/Ldap.php on line 73

phpMyFAQ notice [8]: Undefined index: ldap_server in /var/www/inc/PMF/Auth/Ldap.php on line 79

phpMyFAQ notice [8]: Undefined index: ldap_port in /var/www/inc/PMF/Auth/Ldap.php on line 80

phpMyFAQ notice [8]: Undefined index: ldap_base in /var/www/inc/PMF/Auth/Ldap.php on line 81

phpMyFAQ notice [8]: Undefined index: ldap_user in /var/www/inc/PMF/Auth/Ldap.php on line 82

phpMyFAQ notice [8]: Undefined index: ldap_password in /var/www/inc/PMF/Auth/Ldap.php on line 83

Fatal error: Call to undefined function ldap_connect() in /var/www/inc/PMF/Ldap.php on line 107
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: HTTP Error 500 on login

Post by Thorsten »

Hi,

well, looks like you enabled LDAP withou having LDAP support...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rowdybean
Posts: 4
Joined: Thu Feb 14, 2013 1:23 pm

Re: HTTP Error 500 on login

Post by rowdybean »

How do I change this back?
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: HTTP Error 500 on login

Post by Thorsten »

Hi,

use a tool like phpMyAdmin, open the FAQ database, look for a table called "faqconfig" and change the entry for "security.ldapSupport" to "false"

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rowdybean
Posts: 4
Joined: Thu Feb 14, 2013 1:23 pm

Re: HTTP Error 500 on login

Post by rowdybean »

Thanks. That has fixed.
Post Reply