Hwoever I do have another question. I can't seem to access the Admin Page. When I go to admin_user.php, I get The page cannot be found error. Any ideas why?
Thanks again.
I think the current user doesn't have the rights to access the admin page:
check this settings first: define("ADMIN_PAGE", APPLICATION_PATH."admin_user.php"); define("DENY_ACCESS_PAGE", APPLICATION_PATH."deny_access.php");
en raise the access level from the user account to this value: define("DEFAULT_ADMIN_LEVEL", 10);
Atari ST fan
Posts: 7
50 credits Members referred : 0
« Reply #2 on: Aug 06, 2006, 05:38:12 pm »
Hey Olaf,
I tried that and it didn't work. One thing though. Before I read your post, my config file was like this.
The Deny Access was before the Admin Page for some reason. Now that I took your advice, and put the Admin before the Deny, when I go to the admin_user.php page, it gives me the Login Page. So I login, then it gives me the Page Cannot Be Displayed Error.
Same thing for the Default Admin Level. I went into the config file, and put that but still nothing. I'm not sure what to do.
Thanks again, Roy.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Aug 06, 2006, 10:24:23 pm »
There is no problem if you define the variables in a different order... but are you sure that the application path is right?
maybe you should post us a link to an example application...
Atari ST fan
Posts: 7
50 credits Members referred : 0
« Reply #4 on: Aug 13, 2006, 08:55:51 pm »
Sorry for the late reply Olaf. You were right. It was my application path that was the problem. Thanks alot. Just a quick question. If I wanted to delete an account, would I search the user's name and where it says "Active?" I would put no? Thanks again man.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #5 on: Aug 13, 2006, 10:12:38 pm »
Quote
If I wanted to delete an account, would I search the user's name and where it says "Active?" I would put no? Thanks again man.
yes, this way the account is non active and not deleted (the idea is that the "blocked" user can't register again with this user-name or email address)
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3558