Hello, i'm having a major problem installing RTE and using functions.
I get the following error in all browsers:
HTTP 500.100 - Internt serverfel - ASP-fel
Internet Information Services
Teknisk information (för supportpersonal)
- Feltyp:
Kompileringsfel i Microsoft VBScript (0x800A03EA)
Syntaxfel
/byalag3/nadmin/ny/functions/RTE_functions_common.asp, line 60
Private Function RTEenabled()
With the following code:
<%
call testFunction()
Function testFunction()
%>
<form name="myForm" method="post" action="display_form_submission.asp">
<%
Dim strFormName
Dim strTextAreaName
strFormName = "myForm"
strTextAreaName = "myTextarea"
%>
<!--#include file="RTE_editor_inc.asp" -->
<textarea name="textarea" cols="80" rows="22" id="myTextarea">
Hello world
</textarea>
</form>
<%
End Function
%>
But if i remove the function it works perfectly...
<form name="myForm" method="post" action="display_form_submission.asp">
<%
Dim strFormName
Dim strTextAreaName
strFormName = "myForm"
strTextAreaName = "myTextarea"
%>
<!--#include file="RTE_editor_inc.asp" -->
<textarea name="textarea" cols="80" rows="22" id="myTextarea">
Hello world
</textarea>
</form>
Why? whats the problem and how can i solve it.
I have a big .asp file that contains 50 functions containing
different pages in a intranetsolution...
Please help me, i have a tight deadline and a meeting tomorrow
when im gonna show the design.