Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 set up
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

nevos
Starting Member

United Kingdom
27 Posts

Posted - 01 January 2005 :  06:19:25  Show Profile  Visit nevos's Homepage
Hi, Can anyone confirm that this is the point in the config.asp where you add the admin user name and password please:-

if strSecureAdmin = "0" then
Session(strCookieURL & "Approval") = "15916941253"
end if

if strAuthType = "db" then
strDBNTSQLName = "M_NAME"
strAutoLogon = "0"
strNTGroups = "0"
else
strDBNTSQLName = "M_USERNAME"
end if
%>

I have put the detail into the database too. thanks.

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 01 January 2005 :  06:43:29  Show Profile  Visit Jezmeister's Homepage
you don't need to put the admin user name and password anywhere in config.asp, as it says in the readme file you just have to put in the database info at the top of the file then run setup.asp.
Go to Top of Page

nevos
Starting Member

United Kingdom
27 Posts

Posted - 01 January 2005 :  07:10:28  Show Profile  Visit nevos's Homepage
Hi, Yes i had put it in Forum_Members table, is this correct? maybe my browser is picking up the old version log in window, i will check that, thanks for your reply..everything is working apart from admin login, i added a member and checked members list admin and new member are there but the new member is not showing on Forum_Members yet the name can be logged in? the new member is now on the list! admin is at the top but i cant sign in as admin yet.

The new user has a coded password but admin has the one i set myself, i think this is the problem?

I just uploaded config.asp and setup.asp as new files with the data base path, in the database admin is there with the pass word i made but, i still cant access the control panel???

quote:
Originally posted by Jezmeister

you don't need to put the admin user name and password anywhere in config.asp, as it says in the readme file you just have to put in the database info at the top of the file then run setup.asp.


Edited by - nevos on 01 January 2005 08:54:42
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 01 January 2005 :  09:09:14  Show Profile
quote:
The new user has a coded password but admin has the one i set myself, i think this is the problem?


DEFINITELY !!! .. you don't just add the record in, you have to create the Admin user via the normal processed & procedures.

Anyway, if way out of the problem is this :

I guess you know the password of the user that works ... simply copy & paste that password into your Admin. Both users now have the same password, then you go VIA THE FORUM FORNT-END and change the Admin password, after successfully loggin in.
Go to Top of Page

nevos
Starting Member

United Kingdom
27 Posts

Posted - 01 January 2005 :  09:39:40  Show Profile  Visit nevos's Homepage
Hi, thanks: I tried this option, i can login with the user name and password as a member, so i set it in the database as you mentioned however, it wont work to open the admin panel, i have the same member user name and password as for admin (top entry in database). no luck!

I have the test forum here if anyone can see an obvious problem: www.go2.to/forum
quote:
Originally posted by laser

quote:
The new user has a coded password but admin has the one i set myself, i think this is the problem?


DEFINITELY !!! .. you don't just add the record in, you have to create the Admin user via the normal processed & procedures.

Anyway, if way out of the problem is this :

I guess you know the password of the user that works ... simply copy & paste that password into your Admin. Both users now have the same password, then you go VIA THE FORUM FORNT-END and change the Admin password, after successfully loggin in.


Edited by - nevos on 01 January 2005 09:55:58
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 January 2005 :  15:41:26  Show Profile  Send ruirib a Yahoo! Message
What is the message that you get when you try to login as admin?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

nevos
Starting Member

United Kingdom
27 Posts

Posted - 02 January 2005 :  07:02:46  Show Profile  Visit nevos's Homepage
quote:
Originally posted by ruirib

What is the message that you get when you try to login as admin?



There has been a problem!

You are not allowed access.

If you think you have reached this message in error, please try again.

In the database i have 2 entries screen shot here http://www.go2.to/images/data.jpg
Admin password set the same as below 123letmein
member user name: bluemax password: 123letmein
http://www.go2.to/forum/admin_login.asp

Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 02 January 2005 :  10:37:18  Show Profile  Visit Jezmeister's Homepage
I'm not entirely sure but isn't the encoding different for each member, I mean in that the resulting password in the database would be different even though they had put the same password in originally?
Anyway try this:
Register a new member in your forums. Then go to config.asp and change the value of Const intAdminMemberID (around line 73) to the ID number of your new member, then you can login as the new member and change the password of your main admin account (from the forums, not directly in the database). Then all you'll need to do is change the value of Const intAdminMemberID in config.asp back to 1 and you should be able to login as admin on your main account.
Go to Top of Page

nevos
Starting Member

United Kingdom
27 Posts

Posted - 02 January 2005 :  13:37:30  Show Profile  Visit nevos's Homepage
Hi, thanks will try it! I think what is happening is: looking at the admin_login.asp there appears to be another file ghosting. I just uploaded a complete new forum in www.go2.to/forum and it already had items included from an older version, so i think there is a cross over maybe an include file or something like that.there are 2 x © ..driving me crazy for a week now..

Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 02 January 2005 :  15:46:55  Show Profile
quote:
Originally posted by Jezmeister

I'm not entirely sure but isn't the encoding different for each member, I mean in that the resulting password in the database would be different even though they had put the same password in originally?


Sorry, but I have to say this .... The above statement is incorrect the password encryption is not unique for each member !
quote:

Anyway try this:
Register a new member in your forums. Then go to config.asp and change the value of Const intAdminMemberID (around line 73) to the ID number of your new member, then you can login as the new member and change the password of your main admin account (from the forums, not directly in the database). Then all you'll need to do is change the value of Const intAdminMemberID in config.asp back to 1 and you should be able to login as admin on your main account.


Well, that is another way, but the way I described should work as well. Nevos, did you upload the database after making those password changes ?
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 02 January 2005 :  19:29:41  Show Profile  Visit Jezmeister's Homepage
quote:
Originally posted by laser

quote:
Originally posted by Jezmeister

I'm not entirely sure but isn't the encoding different for each member, I mean in that the resulting password in the database would be different even though they had put the same password in originally?


Sorry, but I have to say this .... The above statement is incorrect the password encryption is not unique for each member !


ok, twas just a thought - hence the 'not entirely sure'.
Go to Top of Page

nevos
Starting Member

United Kingdom
27 Posts

Posted - 03 January 2005 :  07:37:13  Show Profile  Visit nevos's Homepage
Hi All, thanks again but, i am getting my knickers in a real twist: So far i have uploaded around 3 sets of forum and each one defeats me in some way. I am getting files over written by old versions hence the two copyright symbols etc..i didnt make the original forum it was done by a friend so, i am trying to unravel the mods and spurious codes in it, i had thought:it was better to bring in a new version in a clean new folder etc but still i get the problem. I am planning to remove every trace and start over, i'm far from being good at this but, i do like the snitz forum..so please bare with me!
Go to Top of Page

nevos
Starting Member

United Kingdom
27 Posts

Posted - 03 January 2005 :  08:36:53  Show Profile  Visit nevos's Homepage
Ok..I put a new forum on: registered a new user which works then changed:
Const intAdminMemberID = 2 www.go2.to/database.jpg
The new user is also ID2 and it is id2 in the database, i also checked the upload to verify it was there.
Still cant get into the admin panel.
www.go2.to/new/forum

When i uploaded the new files the go2 logo and other mods appeared again, how to turn them off please? i think maybe there is a file or some code preventing the new admin from working, not sure though.

Looking at the code in the admin_login.asp (do i need to change the admin ID here too) ?


There has been a problem!

You are not allowed access.

If you think you have reached this message in error, please try again.






Edited by - nevos on 03 January 2005 09:20:30
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 03 January 2005 :  10:57:21  Show Profile  Visit Jezmeister's Homepage
ok one thing that may be causing a login problem - you say you're running two forums on one site? check that on your other forums cookies are set to forum and not site.
you can turn off the logo and most mod's in the admin section...
Go to Top of Page

nevos
Starting Member

United Kingdom
27 Posts

Posted - 03 January 2005 :  11:25:04  Show Profile  Visit nevos's Homepage
Hi Jm, sorry, i had ohter copies of forum i was trying, now deleted them off the server..just have one now but still cant get into admin, sigh..thanks!

quote:
Originally posted by Jezmeister

ok one thing that may be causing a login problem - you say you're running two forums on one site? check that on your other forums cookies are set to forum and not site.
you can turn off the logo and most mod's in the admin section...

Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 03 January 2005 :  13:36:41  Show Profile  Visit PeeWee.Inc's Homepage
Ask the host to reboot the server, then run setup.asp and then try and log on with the dmin account.

Before doing this, you may (I would) want to delete the cookies on the computer you are logging on from and restart it.


De Priofundus Calmo Ad Te Damine
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07