Author |
Topic  |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 10:03:02
|
I am trying to set up Snitz and I sure that it has ASP and Access support. So I rename the database, and put it in my /db/ folder. I use the virtual path to database method and setup up the strDBtype(<- can't remeber the exact variable, but the one you need to uncomment for Access). So i go to http://<sitename>/forum/setup.asp, in Mozilla i get this error
Active Server Pages error 'ASP 0116'
Missing close of script delimiter
/forum/setup.asp, line 3908
The Script block lacks the close of script tag (%>).
In IE it thinks about it for a second and then says the page cannot be displayed. Any ideas? |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 20 July 2004 : 10:26:22
|
try re-uploading all of the .asp files, and make sure that you upload them in ASCII (text) mode, not binary mode. |
 |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 11:17:20
|
same problem occurs. The whereami.asp file works fine if thats any help. |
 |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 11:18:59
|
could i possibly be putting the db in the wrong place? I am not sure if i set up the virtual path correctly. would that cause a problem like this? |
 |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 11:24:00
|
also, im assuming that you only need to uncomment one line for the strConnString variable right? i.e.
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/db/database.mdb") '## MS Access 2000 using virtual path |
 |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 13:29:39
|
ok, so i got to line 3908 in setup.asp and delete the <% tag. I try again and it goes all the way through. DB created and got the congratulations page. so i try the next link to, http://<sitename>/forum/default.asp, it gives me an error in mozilla but works ok with IE. (forum.snitz works fine with mozilla for me...) Anyway, in IE everything works EXCEPT for viewing the posts. I can create posts, forums and everything it just wont let me SEE the posts. for example, http://www.patientleveldata.com/forum/topic.asp?TOPIC_ID=3
any ideas?
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 14:29:07
|
yeah, i deleted that <% tag in setup.asp to get the setup to work... maybe that would cause it? But once you run setup.asp is it used again? I haven't changed any other code |
 |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 14:34:16
|
ok, so looking at line 761 in topic.asp is has a <% but it doesn't have any %> following it. I'm not going to pretend that I know how to code ASP, but would this be cause for concern? Every other <% %> pair is valid as far as i know since they are paired up, except line 761. |
Edited by - notepad on 20 July 2004 14:35:01 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 20 July 2004 : 17:16:39
|
You're not using MS Frontpage are you? What FTP program did you use to upload the files? |
Support Snitz Forums
|
 |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 17:21:27
|
nope, edit plus and flashfxp in ASCII mode |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 20 July 2004 : 17:21:45
|
Just what I was suspecting Davio. Bet it is an HTML editor problem like using FrontPage. notepad, you should stick with notepad to edit asp files. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
 |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 17:23:34
|
i normally use notepad to code in, but im not to familiar with asp so i used edit plus to get the colors up. |
 |
|
Jezmeister
Senior Member
   
United Kingdom
1141 Posts |
Posted - 20 July 2004 : 18:27:42
|
im guessing line 761 is "<!--#INCLUDE FILE="inc_jump_to.asp" -->"? check that the last line of topic.asp is %> |
 |
|
notepad
Starting Member
10 Posts |
Posted - 20 July 2004 : 18:45:02
|
ok, woah is me. i had about 90 lines chopped off the topic.asp, i went in an got a fresh copy. now everything is AOK. weird. |
 |
|
MacGregor K. Phillips
Starting Member
Philippines
1 Posts |
Posted - 28 July 2004 : 00:39:37
|
quote: Originally posted by Davio
You're not using MS Frontpage are you? What FTP program did you use to upload the files?
I just created my forum a couple of days ago and found it very easy to do. I also used Frontpage 2002 to upload the database and all of the asp files. I used NotePad to edit the pages before uploading. No problems at all. I installed the security fix and the mod for the NIS firewall, ZoneAlarm Pro has the same problem, and every thing is working fine. Thanks for creating such an easy forum to setup and configure.  |
Money is truthful. If a man speaks of his honor, make him pay cash. ~Robert A. Heinlein |
 |
|
|
Topic  |
|