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)
 Internal Server error...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

nateobot
Starting Member

29 Posts

Posted - 20 May 2002 :  22:13:40  Show Profile
I keep getting this error when i try to get to the default.asp page. I can go to other pages (policy.asp, admin_home.asp, all of admin pages except forum_variable_info.asp) when i go to other pages like register.asp, default.asp i get problems. I can login to the admin account and do admin stuff but cannot see the forum.

Obviously if i can change things (colors, pass, etc...) it is not the permissions. This is a completely vanilla install of the forums. Has anyone had similar probs?

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 May 2002 :  22:16:39  Show Profile  Send ruirib a Yahoo! Message
Please post a link to your forum.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

nateobot
Starting Member

29 Posts

Posted - 20 May 2002 :  22:21:48  Show Profile
sorry :o)

http://www.apiboys.com/ksclan/forums/
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 May 2002 :  22:26:03  Show Profile  Send ruirib a Yahoo! Message
This is the error I get:


Active Server Pages error 'ASP 0116'

Missing close of script delimiter

/ksclan/forums/inc_mail.asp, line 1

The Script block lacks the close of script tag (%>).

It seems you forgot to complete some editing in default.asp or a file being included by default.asp. To see this error yourself, go to Tools->Internet Options in IE, chose the Advanced tab and uncheck the option to Show Friendly HTTP Error messages.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

nateobot
Starting Member

29 Posts

Posted - 20 May 2002 :  22:30:44  Show Profile
thanx i guess i will dig around tomorrow with it. I did no changes to anything but the connection strings to get it to work. I did a complete vanilla install... could something else be causing the probs?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 May 2002 :  22:35:58  Show Profile  Send ruirib a Yahoo! Message
Somehow you deleted a '%>' delimiter. Do you have an editor with syntax highlighting. That could help you to find out the point where the delimiter is missing.

If you want you can post a link to a text version of your config.asp and I'll have a look.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

nateobot
Starting Member

29 Posts

Posted - 20 May 2002 :  22:46:07  Show Profile
thnx alot for help. I use visual interdev so no i dont think i missed a delimiter. I tried going to this page as it said that was the error http://www.apiboys.com/ksclan/forums/inc_mail.asp but when i look at the code for it there is only 2 delimeters the beginning and ending.

here is a text version of that file http://www.apiboys.com/ksclan/forums/inc_mail.asp.txt

and the config one
http://www.apiboys.com/ksclan/forums/config.asp.txt

Go to Top of Page

nateobot
Starting Member

29 Posts

Posted - 20 May 2002 :  22:51:59  Show Profile
OK now i very confused.

when i look at that inc_mail.asp.txt file in browser it cuts off before all the text loads. When i look at it in a text editor all the text is there. I am sure that is my problem .... any suggestions?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 May 2002 :  22:54:27  Show Profile  Send ruirib a Yahoo! Message
I would have a look at inc_subscription.asp. That's the file that is being included from default.asp and that includes inc_mail.asp. As the error in inc_mail.asp is located in line 1 I'd say it's something before inc_mail.asp. Thus my suggestion to test inc_subscription.asp.

Config.asp looks good.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

nateobot
Starting Member

29 Posts

Posted - 20 May 2002 :  23:02:21  Show Profile
i think it has to do with the fact that not the whole inc_mail.asp file is being processed. It is getting cut off before the last 2 lines can process.

http://www.apiboys.com/ksclan/forums/inc_mail.asp

if you go to the link straight up you get that error as well. Anyone know how i can get the file to be processed fully? It is quite odd that it is that one dang file only and it only misses the last 2 lines.
Go to Top of Page

nateobot
Starting Member

29 Posts

Posted - 20 May 2002 :  23:07:31  Show Profile
ok ok i got it figured out. just so you guys know i d/l'd this version from the main site. There were two instances of this code in the inc_mail.asp file:

 
case "smtp"
Set objNewMail = Server.CreateObject("SmtpMail.SmtpMail.1")
objNewMail.MailServer = strMailServer
objNewMail.Recipients = strRecipients
objNewMail.Sender = strSender
objNewMail.Subject = strSubject
objNewMail.Message = strMessage
on error resume next '## Ignore Errors
objNewMail.SendMail2
If Err <> 0 Then
Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
End if


i removed one of the instances and now all works great. Thanks for help all.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 May 2002 :  23:08:27  Show Profile  Send ruirib a Yahoo! Message
This is weird. What version are you using? Can you post those last 10 lines here?

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

nateobot
Starting Member

29 Posts

Posted - 21 May 2002 :  09:09:12  Show Profile
sure i am using 3.3.05 i just downloaded it upzipped it and put it up. Didnt touch anything but the two lines in config.asp

here are the last ten lines



case "smtp"
Set objNewMail = Server.CreateObject("SmtpMail.SmtpMail.1")
objNewMail.MailServer = strMailServer
objNewMail.Recipients = strRecipients
objNewMail.Sender = strSender
objNewMail.Subject = strSubject
objNewMail.Message = strMessage
on error resume next '## Ignore Errors
objNewMail.SendMail2
If Err <> 0 Then
Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
End if
end select

Set objNewMail = Nothing
%>




and then about 70 lines up from that i had this section:

case "smtp"
Set objNewMail = Server.CreateObject("SmtpMail.SmtpMail.1")
objNewMail.MailServer = strMailServer
objNewMail.Recipients = strRecipients
objNewMail.Sender = strSender
objNewMail.Subject = strSubject
objNewMail.Message = strMessage
on error resume next '## Ignore Errors
objNewMail.SendMail2
If Err <> 0 Then
Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
End if


so i removed the first instance and left the bottom one. now forum works perfect and i can work on customizing it and probly screwing it up worse.

thanks again
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 May 2002 :  09:11:55  Show Profile  Send ruirib a Yahoo! Message
Well glad you fixed it.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07