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: MOD Implementation
 Compilation errors
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

testtoolsdirect
Starting Member

United Kingdom
10 Posts

Posted - 20 August 2005 :  00:13:22  Show Profile  Visit testtoolsdirect's Homepage
Using Snitz™ 2000 Foums Version Number 3.4.04 (I think)
Installed the mod and want to test for compilation errors in the asp files I was told to edit?
My editing skills suck.

Edited by - testtoolsdirect on 20 August 2005 00:33:29

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 August 2005 :  00:44:12  Show Profile
Thanks for the info.

Are you taking up space on the forum are are trying to ask us something?

Support Snitz Forums
Go to Top of Page

testtoolsdirect
Starting Member

United Kingdom
10 Posts

Posted - 20 August 2005 :  02:28:32  Show Profile  Visit testtoolsdirect's Homepage
quote:
Originally posted by Davio

Thanks for the info.

Are you taking up space on the forum are are trying to ask us something?


To err is human, to suffer the injustices of sarcasm is intolerable?
The question is: 'How does one check a file for errors before saving?'
Please enter my humble web site and click on 'snitzforum'
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 August 2005 :  03:22:41  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
The proof is in the pudding. The best way to check for errors is to upload it to your website and try it out.

http://testtoolsdirect.com/SnitzForum/

Microsoft VBScript compilation error '800a0400'

Expected statement

/SnitzForum/inc_func_common.asp, line 1523

<% end sub
^

Remove the <% before the word "end"

If that doesn't fix it you should rename inc_func_common.asp to inc_func_common.asp.txt
and upload it to your website so we can have a look at it.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

testtoolsdirect
Starting Member

United Kingdom
10 Posts

Posted - 20 August 2005 :  03:53:42  Show Profile  Visit testtoolsdirect's Homepage
Hi Podge,
Went around in circles with % and > or < - got nowhere.
Will be subscribing to a 'scripting' training course, but in meantime have renamed my file.
Hope you can view it?
Regards,
Richard
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 August 2005 :  04:12:53  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Its easy to fix.

At the end of the file goto line 1520 and change this code block to


Sub WriteFooter() %>
<!--#INCLUDE FILE="inc_footer.asp"-->
<%

Sub WriteFooterShort() %>
<!--#INCLUDE FILE="inc_footer_short.asp"-->
<% end sub


Note: You have to delete the <% after end sub

Rename your file back to inc_func_common.asp and try it.

If there are still errors copy the error to a reply here and rename your file to inc_func_common.asp.txt

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

testtoolsdirect
Starting Member

United Kingdom
10 Posts

Posted - 20 August 2005 :  05:16:43  Show Profile  Visit testtoolsdirect's Homepage
will do & let you know
Go to Top of Page

testtoolsdirect
Starting Member

United Kingdom
10 Posts

Posted - 20 August 2005 :  05:45:04  Show Profile  Visit testtoolsdirect's Homepage
Active Server Pages error 'ASP 0116'

Still an error:

Missing close of script delimiter

/SnitzForum/inc_func_common.asp, line 1526

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

'Hope I copied the info in correctly?
Will rename file and save to web.
Tks Richard
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 August 2005 :  05:59:33  Show Profile  Visit HuwR's Homepage
what MOD did you try to install ? generally that kind of information will help.

ASP is not compiled by the way.
Go to Top of Page

testtoolsdirect
Starting Member

United Kingdom
10 Posts

Posted - 20 August 2005 :  06:19:42  Show Profile  Visit testtoolsdirect's Homepage
Hi HUWR

The mod I thought I was applying, after getting my host to setup the Snitz forum, was the 'Integration mod for Snitz Forum 3.4xx v1.2'

This was to get the forum looking like my site theme?

As for the compiling word, us beginners also like to throw in the odd 'buzz' word. Even if we don't know what it all means?
Cheers
Richard

Edited by - testtoolsdirect on 20 August 2005 06:25:56
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 August 2005 :  06:29:13  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Sorry, my fault.

In the same place just add a %> after end sub

so it looks like this

<% end sub
%>


<script language="javascript1.2" runat="server">
function edit_hrefs(sURL, iType) {
	sOutput = new String(sURL);


No need to replace the code in italics, its just so you know where the code to be changed is.


Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

testtoolsdirect
Starting Member

United Kingdom
10 Posts

Posted - 20 August 2005 :  10:34:06  Show Profile  Visit testtoolsdirect's Homepage
Hi Podge,
Still grounded and have reinstalled offending file and it looks like I'm back where I started yesterday.
Ditto saved as txt ext file to web as before, incase you want to look?
Have also posted under 'general'
Cheers
Richard
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 August 2005 :  10:37:54  Show Profile  Visit HuwR's Homepage
I fail to see why inc_func_common would be affected by the site integration MOD, it should have nothing whatsoever to do with it.

Best thing you could do is reinstall the base Snitz code and try again
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 August 2005 :  13:09:01  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
It looks fine to me. What error did you get?


Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 20 August 2005 :  13:10:59  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Saw the error in the other post.

You might want to follow HuwR's suggection.

Before you do, try uploading a clean version of inc_func_common.asp from the zip file you downloaded.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

testtoolsdirect
Starting Member

United Kingdom
10 Posts

Posted - 20 August 2005 :  23:58:17  Show Profile  Visit testtoolsdirect's Homepage
Hi HuwR
Have done as you suggested and reinstalled.
Now my standard snitzforum loads, but incomplete.
Richard
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07