PDA

View Full Version : New admin users not able to login... FIX!



dixxy
08-07-2005, 03:45 PM
Hi,

I was trying to create a new top administrator for my shop, and found that when logging on with the new user, i got a php error. However this was a minor error that i managed to fix myself. Im just notifying you as maybe someone else also has this problem. The problem was just a directory not defined in the configure file.

In the admin/includes/configure.php i added the following line (as one line):

define('DIR_WS_ADMIN_LANGUAGES', '/home/httpd/vhosts/YOURDOMAIN.COM/httpdocs/admin/includes/languages/'); // absolute path required

Replace /home/httpd/vhosts/YOURDOMAIN.COM/httpdocs/ with your own hosting directory (you will find this in one of the other lines in your config file.

After this i could logon also with my new administrator account, not just admin@localhost.com.

Hope this was helpfull! 8)

909
08-09-2005, 11:34 PM
I was able to fix this by commenting out line 14 as noted in the error message. This has a require statement so i'm assuming that it's just a sanity check. I haven't had any ill effects after that.