Getting "Could not load configuration" or 500 error on login page

"Could not load configuration" or 500 error on login page error.

1. Make sure selinux is disabled on server.

-bash-4.1# sestatus

SELinux status: disabled

2. Also, make sure that ioncube is loaded in php. You can put up a phpinfo page and view them via browser to make sure that Ioncube is indeed loaded.

3. The "Could not load configuration error" occurs normally on cpanel servers where open_base dir protection enabled. In such case you would need to add the ezeelogin system dir as well the ezeelogin web directory into the path as well.

          www_folder /home/matt/public_html/ezeelogin/
         system_folder /home/matt/ezeelogin_system_files/

     You can find the paths to these directories from the configuration file"/usr/local/etc/ezlogin/ez.conf"

#cat /usr/local/etc/ezlogin/ez.conf
system_folder /home/matt/ezeelogin_system_files/
force_https no
uri_path /ezeelogin/
db_host localhost
db_port 3306
db_name ezeelogin_matt233
db_user ezeelogin_matt122
db_pass 34sdf34aed
db_prefix 2t3edd
cookie_encryption_key 234234
cookie_name asdfsdf
cookie_path /ezeelogin/
www_folder /home/matt/public_html/ezeelogin/
admin_user adminmatt

4. Check the permission of configuration file

root@serv2:~# ls -la /usr/local/etc/ezlogin/ez.conf

-rw-r--r-- 1 root root 337 Aug  9 15:13 /usr/local/etc/ezlogin/ez.conf

If not give sufficient permission for ez.conf file by the following command. 

root@serv2:~# chmod 644 /usr/local/etc/ezlogin/ez.conf


5. Open apache configuration file /usr/local/apache/conf/httpd.conf and look for the following entry in the virtual host that you have installed Ezeelogin in.

<IfModule mod_php5.c>
php_admin_value open_basedir "/home/matt/public_html:/usr/lib/php:/usr/local/lib/php:/tmp:/usr/local/etc/ezeelogin:/home/matt/ezeelogin_sys"

6. if you continue to get 500 errors, make sure the permission of the www_folder is set to that of user owning it.

Also check the apache error logs for error.
tail -f /usr/local/apache/logs/error_log

Also check the ezeelogin webpanel logs for error.
tail -f /home/matt/ezeelogin_sys/logs/log-2012-xx-xx.php

1 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    In parallel shell i get "An error occurred. Please contact administrator"
    Viewed 3979 times since Wed, Jun 14, 2017
    Unable to open ssh session
    Viewed 3153 times since Thu, Jun 15, 2017
    How to fix: “EPROTO” Error after upgrading Node’s version in RDP?
    Viewed 631 times since Wed, May 20, 2020
    Blank page in GUI and an error in SSH/backed shell ’ license expired!’
    Viewed 2451 times since Wed, Aug 16, 2017
    sshd[3167]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
    Viewed 2579 times since Mon, Apr 27, 2020
    Deleting entries in the mysql database table gwactivity_logs
    Viewed 127 times since Fri, Oct 30, 2020
    Setting session time out for the webinterface
    Viewed 3590 times since Wed, Jun 14, 2017
    ERROR granting access for DB user: Access denied for user ’root’@’%’ to database during upgrade
    Viewed 316 times since Fri, May 22, 2020
    Backup Ezeelogin failed during Ezeelogin version upgrade
    Viewed 384 times since Tue, Jul 28, 2020
    Google Recaptcha shutdown issue
    Viewed 1166 times since Tue, Jul 3, 2018