Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - forum_codes.asp error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

forum_codes.asp error

 Post Reply Post Reply
Author
masey View Drop Down
Newbie
Newbie
Avatar

Joined: 13 February 2005
Location: Australia
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote masey Quote  Post ReplyReply Direct Link To This Post Topic: forum_codes.asp error
    Posted: 24 February 2005 at 4:03am
Just recently installed version 7.9 and have been loving the application, but I see mto be having problems with the pop up 'Forum Codes' box.
 
When I test it on my local IIS server at home there is no problems with the file loading - but when I send it to the live server I get the following error:
 
Quote Active Server Pages error 'ASP 0116'

Missing close of script delimiter

/forum/forum_codes.asp, line 310

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

I really don't have enough working knowledge of the code to go digging around to fix it so I was hoping someone out there could help me.
 
Here's the code around line 310 (in bold) for your reference:
 
Quote
 
If blnEmoticons Then %>
       <tr>
        <td width="63%" class="text">&nbsp;</td>
        <td width="37%" class="text">&nbsp;</td>
       </tr>
       <tr>
        <td width="63%" class="bold"><% = strTxtEmoticons %></td>
        <td width="37%" class="text">&nbsp;</td>
       </tr>
       <tr>
        <td colspan="2">
         <table width="100%" border="0" cellspacing="0" cellpadding="4"><%
 
'Intilise the index position (we are starting at 1 instead of position 0 in the array for simpler calculations)
intIndexPosition = 1
 
'Calcultae the number of outer loops to do
intNumberOfOuterLoops = UBound(saryEmoticons) / 2
 
'If there is a remainder add 1 to the number of loops
If UBound(saryEmoticons) MOD 2 > 0 Then intNumberOfOuterLoops = intNumberOfOuterLoops + 1
 
'Loop throgh th list of emoticons
For intLoop = 1 to intNumberOfOuterLoops
 
        Response.Write("<tr>")
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2005 at 6:11am
Could be a corrupted file, try re-downloading the original file again.
Back to Top
masey View Drop Down
Newbie
Newbie
Avatar

Joined: 13 February 2005
Location: Australia
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote masey Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2005 at 8:38am
Seems to have done the trick! Many Thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.