What i want is edit a page that is already created, but i have this form into an if instruction in asp, the problem is: if i put the code into an if it return an error as follow: Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/cp/customer_pages/FCKeditor/fckeditor.asp, line 23
Class FCKeditor
and line 23 have this:
Class FCKeditor
it looks like the program can not create the class, but if i put the code out of an if, it works fine, do you have any idea how to solve this situation?? the code i'm using to call the script is this
<!-- #INCLUDE file="FCKeditor/fckeditor.asp" -->
<center>
<%
Dim oFCKeditor
Set oFCKeditor = New CKeditor
oFCKeditor.BasePath = "FCKeditor/"
oFCKeditor.Value = ""
oFCKeditor.Create "content1"
%>
</center>
thanks for your help
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/cp/customer_pages/FCKeditor/fckeditor.asp, line 23
Class FCKeditor
and line 23 have this:
Class FCKeditor
it looks like the program can not create the class, but if i put the code out of an if, it works fine, do you have any idea how to solve this situation?? the code i'm using to call the script is this
<!-- #INCLUDE file="FCKeditor/fckeditor.asp" -->
<center>
<%
Dim oFCKeditor
Set oFCKeditor = New CKeditor
oFCKeditor.BasePath = "FCKeditor/"
oFCKeditor.Value = ""
oFCKeditor.Create "content1"
%>
</center>
thanks for your help

I FOUND THE SOLUTION!!!