Author |
Topic |
|
cmerwitzer
New Member
63 Posts |
Posted - 17 February 2005 : 14:37:42
|
I am an administrator of the site we have setup. There is one other administrator.
When I am in the Admin Options area and click on the links (see subject line) I get a message that says:
There has been a problem!
* Only the Forum Admin can access this page
What do I need to do in order to be able to use this link?
Thanks. |
|
rasure
Junior Member
289 Posts |
Posted - 17 February 2005 : 14:45:19
|
sounds like you haven't specified the member id in the config.asp for super admin...
Const intAdminMemberID = 1 change the number in red to your member id that's assuming you are the main admin for the site and have access to the files to change and upload. |
Psychic & Spiritual Development Resources |
Edited by - rasure on 17 February 2005 14:47:06 |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 17 February 2005 : 23:03:47
|
If you want all Admins to have access to this page, remove the following lines of code from admin_mod_dbsetup and admin_mod_dbsetup2:
if MemberID <> intAdminMemberID then
Err_Msg = "Only the Forum Admin can access this page" These are the first few lines in both files. Whether or not this is advisable I will leave up to you as I don't know your Admins. |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 09:50:25
|
Thank you!!
|
|
|
cmerwitzer
New Member
63 Posts |
Posted - 21 February 2005 : 09:56:28
|
quote: Originally posted by Jorrit787
If you want all Admins to have access to this page, remove the following lines of code from admin_mod_dbsetup and admin_mod_dbsetup2:
if MemberID <> intAdminMemberID then
Err_Msg = "Only the Forum Admin can access this page" These are the first few lines in both files. Whether or not this is advisable I will leave up to you as I don't know your Admins.
I took care of the problem by giving my self the userID of 1. But, when I search for the code you provide in the two files you specify, it does not exist in either. It would be nice to have both admins be able to access this stuff.
Any other suggestion would be appreciated.
Thanks. |
|
|
rasure
Junior Member
289 Posts |
Posted - 21 February 2005 : 10:51:03
|
They must be there otherwise you wouldn't have got the original error message in your first post...
quote:
There has been a problem!
* Only the Forum Admin can access this page
It might be better to change...
if MemberID <> intAdminMemberID then
Err_Msg = "<li>Only the Forum Admin can access this page</li>"
to...
if mlev < 4 then
Err_Msg = "<li>Only the Forum Admin can access this page</li>" |
Psychic & Spiritual Development Resources |
Edited by - rasure on 21 February 2005 10:54:54 |
|
|
Doug Joseph
Starting Member
USA
43 Posts |
Posted - 04 June 2005 : 13:08:12
|
cmer:
That code is present in my copies of those files.
In the admin_mod_dbsetup.asp file, the code starts at line 49.
In the admin_mod_dbsetup2.asp file, the code starts at line 60.
HTH |
Sincerely, Doug Joseph |
|
|
CalloftheHauntedMaster
Junior Member
289 Posts |
Posted - 08 June 2005 : 09:39:39
|
Basically, if you're having this problem, it means you're not the room admin. Coding aside, only the root admin can access those pages so if there's only one admin, and that's you, something is seriously wrong since the root admin can never be deleted... |
This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums! |
|
|
matt526
Starting Member
USA
8 Posts |
Posted - 11 July 2005 : 16:02:28
|
I took out the code
if MemberID <> intAdminMemberID then Err_Msg = "Only the Forum Admin can access this page"
in the admin_mod_dbsetup.asp and admin_mod_dbsetup.asp files now when I click on Mod. setup I get a The page cannot be displayed HTTP 500 - Internal server error Internet Explorer I know the two pages are on the server why can't I view the page |
http://faithzone.com/Forum/default.asp |
Edited by - matt526 on 11 July 2005 16:03:03 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
|
Topic |
|