Author |
Topic |
fuchit
Starting Member
12 Posts |
Posted - 20 July 2007 : 05:17:24
|
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
|
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 ? |
|
|
fuchit
Starting Member
12 Posts |
Posted - 22 July 2007 : 21:20:22
|
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 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
pdrg
Support Moderator
United Kingdom
2897 Posts |
Posted - 23 July 2007 : 08:40:39
|
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? |
|
|
fuchit
Starting Member
12 Posts |
Posted - 23 July 2007 : 23:59:56
|
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 |
|
|
fuchit
Starting Member
12 Posts |
Posted - 24 July 2007 : 03:23:46
|
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 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
fuchit
Starting Member
12 Posts |
Posted - 24 July 2007 : 03:47:42
|
yes, it is unmodified |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
fuchit
Starting Member
12 Posts |
Posted - 24 July 2007 : 04:08:03
|
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
|
|
|
pdrg
Support Moderator
United Kingdom
2897 Posts |
Posted - 24 July 2007 : 09:59:24
|
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! |
|
|
fuchit
Starting Member
12 Posts |
Posted - 24 July 2007 : 21:32:35
|
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 |
|
|
fuchit
Starting Member
12 Posts |
Posted - 24 July 2007 : 21:34:04
|
Changing the time did not work either.
doing a javascript:document.cookie returns ASPSESSIONIDQSTBBQBS=JEOEBHICEKANPDCNKBABPOFH
anything else I should try? |
|
|
pdrg
Support Moderator
United Kingdom
2897 Posts |
Posted - 25 July 2007 : 12:16:52
|
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... |
|
|
fuchit
Starting Member
12 Posts |
Posted - 25 July 2007 : 20:51:31
|
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?
|
|
|
Topic |
|