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?
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.
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?
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.
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.
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?
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.
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.
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.
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.