Author |
Topic  |
big9erfan
Average Member
  
540 Posts |
Posted - 11 May 2001 : 01:43:26
|
means somewhere in some file, that there is a line that reads
Dim intAllowUploads
Search config, and whatever other files are Included in your mod_config.asp
I'm sure you'll find intAllowUploads there somewhere.
http://www.ugfl.net/forums |
 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 11 May 2001 : 05:08:18
|
Yup, I know that much... but what am I supposed to do with it when I find it? That's the part that confuses me...
I can't just comment it out; it's needed for something (File Upload, I think). So what's the fix, Doctor?

***** "Bother," said Pooh, as Piglet was assimilated by the Borg. |
 |
|
animedj
Junior Member
 
USA
190 Posts |
Posted - 11 May 2001 : 10:30:28
|
when you don't have option explicit at the top of the page, it's okay to comment it out...
--- Johann Reyes http://animedj.com |
 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 11 May 2001 : 15:50:19
|
Ok, did that... now I get this one...
quote: Microsoft VBScript compilation error '800a0411'
Name redefined
/connexions/forum/config.asp, line 44
dim strDBType, strConnString, strTablePrefix, strMemberTablePrefix '## Do Not Edit ----^
Beleive me, I'm as bored with this as you are. 'Course, it's my site, so...
***** "Bother," said Pooh, as Piglet was assimilated by the Borg. |
 |
|
Aznknight
Senior Member
   
USA
1373 Posts |
Posted - 11 May 2001 : 15:57:43
|
did you check to see if you included config.asp twice? or if you forgot to delete the stuff i said from links_inc?
- Alan www.iamviet.com www.calvsa.net Snitz Resource |
 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 11 May 2001 : 16:58:57
|
OK...
Commented out the Dim intAllow Uploads Removed INCLUDE FILE="config.asp from slash.asp Checked all the inc files to see what *they* included:
link_inc.asp includes inc_functions.asp and link_inc_menu. Inc_functions includes inc_footer.
config.asp includes mod_config.
And now, when I load the page I'm working on, with
config.asp links_inc.asp slash.asp
it tires to run setup.asp in my browser, which cannot be found?
***** "Bother," said Pooh, as Piglet was assimilated by the Borg. |
 |
|
Aznknight
Senior Member
   
USA
1373 Posts |
Posted - 11 May 2001 : 17:07:14
|
quote:
And now, when I load the page I'm working on, with
it tires to run setup.asp in my browser, which cannot be found?
***** "Bother," said Pooh, as Piglet was assimilated by the Borg.
That's becuase your constring is probably using a server.mappath which would be off since you're working with 2 different directores. add a slash to it, if that's the case, like this server.mappath("/databases/mysnitzdb.mdb"). Hope that helps
question: did you get the mods to work fine individually?
- Alan www.iamviet.com www.calvsa.net Snitz Resource |
 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 11 May 2001 : 17:54:59
|
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\fpdb\snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
...is what I just changed it to in config.asp but I get the same thing.
They did both work individually when I uploaded them. Now neither one does, because I just get the setup.asp thing.
And /forums/defalut.asp is now coming up as "page cannot be found" since I added the / in the path name.
This isn't going very well, is it?
***** "Bother," said Pooh, as Piglet was assimilated by the Borg. |
 |
|
Aznknight
Senior Member
   
USA
1373 Posts |
Posted - 11 May 2001 : 18:08:21
|
that's odd, if they work separatrely, i don't see why they wouldn't work together. Play around with the strConnString.
oh yeah, can you provide a link?
also explain how your default.asp is set up.. is it like this?
#include forum/config.asp .... #include slash.asp ... #include links_inc.asp
- Alan www.iamviet.com www.calvsa.net Snitz Resource |
 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 11 May 2001 : 18:26:12
|
There are links a bit further up...
http://www.knx.net.uk/connexions/ and http://www.knx.net.uk/forums/
I've moved the include for forums/config further down, and now I'm getting totally different... but better... errors.
Can you click 'em and have a look?
And yessie, they are in that order.
***** "Bother," said Pooh, as Piglet was assimilated by the Borg. |
 |
|
Aznknight
Senior Member
   
USA
1373 Posts |
Posted - 11 May 2001 : 18:33:15
|
i clicked on your links, and it says that variable re-defined error in config.asp.
Since it's in that order with config.asp. You must have strDBtype dimmed somewhere above where you include config.asp. that's where you should look. Maybe you have included config.asp twice by accident.
- Alan www.iamviet.com www.calvsa.net Snitz Resource |
 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 11 May 2001 : 18:45:53
|
Oops. You're right. When I moved the include for config.asp further down the page, I left the old one in. I've removed it now, and I'm getting the setup.asp thing again with or without the extra \ in my con string.
Arrrrrgh. Thank you for taking the time to help, Alan... I appreciate it :o)
***** "Bother," said Pooh, as Piglet was assimilated by the Borg. |
 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 11 May 2001 : 18:53:11
|
YIPPEEE!!!
I made some progress!
I canged my string to
quote: strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\sites\www.knx.net.uk\connexions\forum\fpdb\snitz_forums_2000.mdb;" '## MS Access 2000
and now I just get a regular error message!
quote: Microsoft VBScript runtime error '800a01c9'
This key is already associated with an element of this collection
/connexions/forum/slash.asp, line 30
I've never been so happy to see an error in my life! At least there are pages appearing!
It means this, I think, from slash.asp:
while not objRec.EOF objDict.Add objRec.Fields.Item("m_code").Value, objRec.Fields.Item("m_value").Value objRec.moveNext wend
***** "Bother," said Pooh, as Piglet was assimilated by the Borg.
Edited by - DarlingBri on 11 May 2001 18:55:28 |
 |
|
DarlingBri
Junior Member
 
United Kingdom
378 Posts |
Posted - 11 May 2001 : 22:09:14
|
I know I'm trying everyone's patience here, but if anyone can help me fix this error, I'll go away quietly :o)
***** "Bother," said Pooh, as Piglet was assimilated by the Borg. |
 |
|
animedj
Junior Member
 
USA
190 Posts |
Posted - 11 May 2001 : 23:01:59
|
well.. now it seems that you have duplicate values in your database.. go and check the FORUM_MODS table...
--- Johann Reyes http://animedj.com |
 |
|
Topic  |
|