Author |
Topic  |
|
JasonBuys
New Member

USA
59 Posts |
Posted - 14 March 2001 : 11:05:39
|
I just downloaded a fresh version of the forum.
I made a few minor changes.... I am filling the login fields on the inc_top.asp with some database information, and using javascript to force the form to submit (thus the user doesnt have to log in twice)...
But that is ALL I changed! Yet, after going into the admin options, and making a change like the forum name or something...
I get this error about the database needing to be upgraded! Why?!?
Please help if you can.
|
|
JasonBuys
New Member

USA
59 Posts |
Posted - 14 March 2001 : 11:09:36
|
Note - The board worked FINE before I made the changes to inc_top.
And the odd thing is.... Sometimes i able to say.. retry... and it will get back into the board and it will function fine.. but as SOON as i enter the admin options, and just click submit, it totally freaks out on me.
Does moving the forum cause it to break? Renaming the databae (updating config of course) Sigh, this is very frusterating it doesnt make any sense why the forum WORKS, but this message keeps blocking my access to it.
|
 |
|
JasonBuys
New Member

USA
59 Posts |
Posted - 14 March 2001 : 11:11:34
|
Also, when i do run the "upgrade".. it says it set some values in the config table, which I see no changes to.... but that still doesnt let me back in... if i fiddle with it, somehow i get back in.. but going to admin causes it to happen again.
|
 |
|
JasonBuys
New Member

USA
59 Posts |
Posted - 14 March 2001 : 11:15:13
|
My goal is simple. Allow my database to fill in the user name and password, and submit the person in...
I just want to be able to copy this board to any new sites that get made. We do extranets that are basically copies of eachother, and I just find replace the site name in the code, and in the config table for the URL, and it SHOULD just work wherever .. right? what am I not understanding!
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 14 March 2001 : 11:16:34
|
I've only seen this behavior one other time. And the problem was a few database fields were missing from the database. |
 |
|
JasonBuys
New Member

USA
59 Posts |
Posted - 14 March 2001 : 11:20:47
|
Its a fresh copy of the DB. I simply changed the path to match the server, and called it forum.mdb.....
I just made my changes on a fresh copy, simply copied in my inc_top.asp... shrug... im stuck.
Is there a way to have it NOT check for a "need to be upgraded" database.. It clearly works fine, but some part of the overhead is thinking the DB is broken... I just dont get it.
|
 |
|
JasonBuys
New Member

USA
59 Posts |
Posted - 14 March 2001 : 11:23:19
|
The only other thing I've done that I can think of.... is manually add users to the user table.. as I will have a script written to add them once i get this working. I just want their username and password, we dont ask for any of the other fields, but surely didnt delete them either...
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 14 March 2001 : 11:26:19
|
There is 2 sections in config.asp that start with:
if blnSetup <> "Y" then
I would think removing both of those sections would prevent the attempt at upgrading your forum. |
 |
|
JasonBuys
New Member

USA
59 Posts |
Posted - 14 March 2001 : 11:41:29
|
Ok thanks. Ill keep that in mind..
However, I think I might have located my DUMB problem..
There in an include file which I put on top of inc_top.asp which gives me acces to the name, email, etc of the user who is currently logged on to the system.
However, it too uses strEmail as one of its vars. So I went through the forum and named strEmail to strEmail2........
I suppose that would cause a problem when your forum checks the validity of the DB? Should I go into the DB and name that field C_STREMAIL2 then? Or will this not work?
|
 |
|
JasonBuys
New Member

USA
59 Posts |
Posted - 14 March 2001 : 11:54:29
|
It worked!
Stupid stupid me.....
Thanks for the advice :)
|
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 14 March 2001 : 18:20:14
|
Glad you got it working.  |
 |
|
|
Topic  |
|