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)
 every page shows name redefined error
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

fuchit
Starting Member

12 Posts

Posted - 20 July 2007 :  05:17:24  Show Profile
Hello

I just created a forum on brinkster and used all the files I had from a previous forum i had also on brinkster however this new one does not work.
Every page I try to open shows:
Microsoft VBScript compilation error '800a0411'
Name redefined
/forums/inc_adovbs.asp, line 20
Const adOpenForwardOnly = 0
------^

I haven't change any asp page, so it is very strange that it shows that. If i comment out all the const on inc_adovbs, it comes showing name redefined but for another asp page. what can I do?

if i run the setup.asp page, says everything is fine.
please help,
fuchi

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 July 2007 :  05:19:51  Show Profile  Visit HuwR's Homepage
it sounds like maybe inc_adovbs.asp is being included more than once, you say that if you comment out the const it shows an error in a different file, which file ?
Go to Top of Page

fuchit
Starting Member

12 Posts

Posted - 22 July 2007 :  21:20:22  Show Profile
Sorry for the delay.

in inc_adovbs.asp, if I comment out all the constants, I get the same name redefined error but on file inc_header.asp for strDBType.

I also thought about the includes but couldn't find the second call to it.
Ideas on how I can do that?

thanks
fuchi
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 23 July 2007 :  04:48:15  Show Profile  Send ruirib a Yahoo! Message
There's a file that's being included more than once, likely, config.asp. What changes did you do to the code?


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

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 23 July 2007 :  08:40:39  Show Profile  Send pdrg a Yahoo! Message
Can you use a tool to search all your files (download them to your local computer) for Const definitions, see if the adOpenForwardOnly is being set more than once anywhere?
Go to Top of Page

fuchit
Starting Member

12 Posts

Posted - 23 July 2007 :  23:59:56  Show Profile
i used the regular search on windows to find the text and the only thing that is included in many pages is the config.asp

should I removed the include for config.aso? is there any other way to find out which file is included multiple times?

thanks for the help
fuchi
Go to Top of Page

fuchit
Starting Member

12 Posts

Posted - 24 July 2007 :  03:23:46  Show Profile
Thanks for the help.
I could not find where the second include was but since I knew the code was right, I upload the whole thing again to brinkster and that solved the problem . Probably when I was uploading the forum the first time, there was a problem that screw one of the files.


*Now the forum works! but i cannot pass the password screen... but that is a different problem. I will read the faq and check my database for accounts.
fuchi
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 July 2007 :  03:27:36  Show Profile  Send ruirib a Yahoo! Message
Is this an unmodified Snitz version?


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

fuchit
Starting Member

12 Posts

Posted - 24 July 2007 :  03:47:42  Show Profile
yes, it is unmodified
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 24 July 2007 :  03:50:41  Show Profile  Send ruirib a Yahoo! Message
Ah, so it's sorted now...there are several posts on login issues... and there have been several problems with Brinskter accounts, so you may want to search a bit.


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

fuchit
Starting Member

12 Posts

Posted - 24 July 2007 :  04:08:03  Show Profile
Yes, i was researching the brinkster login loop problem, but so far i haven't found one that explains how to fix it or even if it is possible
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 24 July 2007 :  09:59:24  Show Profile  Send pdrg a Yahoo! Message
There's something slightly kooky with Brinkster (I'm a customer, I know!) and Snitz - try using their online technical assistance (it's free), see if they have any ideas. This is from their site too, it may help?

Snitz and Brinkster - cookies problems? lovelyshelties
11/7/2003 12:19:14 PM Respond to these messages...
Hello,
I am setting up a Snitz forum on my website and the forum is working great except from one thing: when I'm trying to log in the admin section, my login and password are accespted but then I got a neverending loop : in case of getting to the admin section I got to the login page again. I discussed my problem a little with the Snitz community and I was told it may be an issue with cookies caused by something in Brinkster... I would like to know if anyone has/had the same problem and what to do to fix it.

Thank you in advance :)
Lex
RE: Snitz and Brinkster - cookies problems? dbds
11/7/2003 7:02:22 PM
First thing I always do when cookies are enabled but they don't seem to stick is check the date/time on your machine. Very common occurance is an incorrect time zone or date which cause the cookie to expire as it's set. Happens to me every time I set up a new machine since I seem to always miss the time zone setting :)
RE: Snitz and Brinkster - cookies problems? birdsofchaos
12/3/2003 8:32:41 AM
Thanks for your answer. :) I'm not sure it was the problem, but maybe... That's hard to know with these forums. The thing is I logged in from another computer for the first time, and I was able to access the edition part in the admin section. But yes, basically the time zone was 9 hours different from mine!
Go to Top of Page

fuchit
Starting Member

12 Posts

Posted - 24 July 2007 :  21:32:35  Show Profile
thanks for the comment, i will check my computer clock as i'm in japan for sure it is ahead.

is there any way to extend the life of the cookies to say a day?

I did all the changes mentioned on other posts related to the looping login:
- installed referer mod
- compact privacy policy
- add it to trusted site
- erased cookies
- try with ie and firefox
Go to Top of Page

fuchit
Starting Member

12 Posts

Posted - 24 July 2007 :  21:34:04  Show Profile
Changing the time did not work either.

doing a javascript:document.cookie returns
ASPSESSIONIDQSTBBQBS=JEOEBHICEKANPDCNKBABPOFH

anything else I should try?
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 25 July 2007 :  12:16:52  Show Profile  Send pdrg a Yahoo! Message
I'm so sorry, in that case I have no idea - the code base works on every other host, as I said Brinkster seems to be a bit kooky, perhaps you could try their 'Live Help' to talk to their techies? I'm afraid I'm at a loss...
Go to Top of Page

fuchit
Starting Member

12 Posts

Posted - 25 July 2007 :  20:51:31  Show Profile
I tried their live help and the tech guy never heard of such a problem as the majority of customers are using PHP for forums and not asp (Snitz)
i cannot understand how come this new site does not work while I have an identical one created some years ago also in brinkster working fine. I copied the working forum to the new site and it does not work... so I know for sure it has nothing to do with the code or maybe they put some restrictions and now the code does not work.

does anybody know of any other free web host provider that allows ASP and no ads?
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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07