Author |
Topic |
redfox
Starting Member
45 Posts |
Posted - 13 May 2003 : 16:27:07
|
hmm i can't really do that - security etc. since it gives access to a university server. my head has got so foggy with this i'm not sure what to say at the moment. "fog? what fog?" - well i don't fully understand these protocols etc.
ok a shout from within the fog:
if i load all the files inside the existing "forum" folder and adjust the config.asp accordingly, it should work right? |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 13 May 2003 : 16:33:28
|
but you'll "lose" the existing forum. You need a separate folder for you new forum. why don't you just ask the system admin to put the appropriate permissions on the second forum's folder, setting the permissions just like the first one? |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
|
|
redfox
Starting Member
45 Posts |
Posted - 13 May 2003 : 16:38:39
|
he's not a friendly guy. yes, that would solve it.
but why would i lose the original one - would it cause a conflict? |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
redfox
Starting Member
45 Posts |
Posted - 13 May 2003 : 17:01:44
|
no. this is it:
i have a working forum inside a folder called "forum" i want a second one that is completely seperate
so far i've
1) loaded all the snitz files inside "forum" - didn't work. 2) loaded them at the same directory level as "forum" inside a second folder called "forum_2" - where i have ftp access - didn't work. but it's still there, on the server.
i'm not too concerned if the directory levels get a bit clumsy, so long as it works and doesn't cause conflicts. |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
redfox
Starting Member
45 Posts |
Posted - 13 May 2003 : 17:05:08
|
PS: at 1) above, it was inside *another* folder so i had "forum_2" inside "forum" |
|
|
redfox
Starting Member
45 Posts |
Posted - 13 May 2003 : 17:07:03
|
<<and everything for the second forum is in forum_2 including the database?>>>>
yes |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
redfox
Starting Member
45 Posts |
Posted - 13 May 2003 : 17:30:39
|
perhaps thats the problem then. is there anything critical to know re. different ways of doing it - ie physical or virtual path? i don't understand what these are (is it like an absolute or relative URL in a web site?), but so far have tried physical. i ran the whereami.asp script and simply copy and pasted the code - 2 versions, depending on what drivers are installed. |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
redfox
Starting Member
45 Posts |
Posted - 13 May 2003 : 17:53:33
|
just had a look.
1) is the "comment" that you remove the ' before a line? 2)i have cut and pasted his code into my config.asp, changed the directory and name for the database, and i'm now getting something new: this message
"Your strDBType is not set, please edit your config.asp
? to reflect your database type." |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 13 May 2003 : 18:03:18
|
did you uncomment the strDBType line for access?
also, what do you mean cut and pasted? please post the actual connection string here. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
Edited by - Nikkol on 13 May 2003 18:03:52 |
|
|
redfox
Starting Member
45 Posts |
Posted - 13 May 2003 : 18:18:52
|
<<did you uncomment the strDBType line for access? >>
I did, but he didn't. strange - but i tried it both ways.
1) his code:
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/forum/database/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
2) mine:
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/forum/forum_2/my_database.mdb") '## MS Access 2000 using virtual path
|
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 13 May 2003 : 18:26:20
|
why don't you put your database in the forum/database folder (making sure that it is a different name from snitz_forums_2000.mdb and then make the connection string this:
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/forum/database/my_database.mdb") '## MS Access 2000 using virtual path
|
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
|
|
Topic |
|