Problem with filePost.asp file

Last post 02-06-2009, 11:43 AM by Photoshop_God. 7 replies.
Sort Posts: Previous Next
  •  01-21-2009, 4:32 PM 47938

    Problem with filePost.asp file

     Hi All,
     
    I get an Expected End Of Statement error when I try to upload anything via the editor.  It shows a problem at the start of FilePath.  I'm new to Cute Editor and I am still feeling my way around.  Thanks in advance for any help.
     
     
     
    Response.Write "<script language=javascript>var OxO4239=["\x22 \x26 FilePath \x26\x22/\x22 \x26 File.FileName \x26 \x22","\x22\x26FilePath\x26\x22"]; parent.UploadSaved(OxO4239[0x0],OxO4239[0x1]) ;</script>"
     
     
    Marty
  •  01-21-2009, 5:10 PM 47940 in reply to 47938

    Re: Problem with filePost.asp file

    Marty,
     
    Which version of Cute Editor are you using?
     
    Can you create an online demo showing the problems?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-22-2009, 9:55 AM 47955 in reply to 47940

    Re: Problem with filePost.asp file

    Hi Adam,
     
    I'm not sure what version it is as it came with Candypress version 4.1.  The file it is referring to, which I forgot to add, was filePost.asp.  I do have a demo store you can use to view the issue.  You can go to http://www.pcmarty.com/DemoStore/Admin and enter the username Admin and password Admin.  Then go to product maintenance and products and then edit a product.  Thanks again for your help.
     
     
    Marty
  •  01-22-2009, 3:51 PM 47983 in reply to 47955

    Re: Problem with filePost.asp file

    Marty,
     
    The above username/password doesn't work.
     
    Can you try the following code?
     
    <!-- #include file = "CuteEditor_Files/include_CuteEditor.asp" -->
    <html> 
        <head></head>
        <body>
      
      <form name="theForm" action="Get_HtmlContent.asp" method="post" class="formcontainer" ID="Form1">
         
      <h1>ASP Debug page</h1>
      <hr>
      <br />
      <%
       Dim editor
       Set editor = New CuteEditor
       editor.ID = "Editor1"
       editor.Text = "Type here"
       editor.FilesPath = "CuteEditor_Files"
       editor.Draw()
      %>
          
      </form>
      
     </body>
    </html>

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-23-2009, 9:38 AM 48011 in reply to 47983

    Re: Problem with filePost.asp file

    Hi Adam,
     
    Sorry about the log in.  The log in is
     
    Username: admin
    Password: admin
     
    They are case sensative.  I'm not at my office right now but I'll try and run it this afternoon.
     
    Thanks
     
    Marty
  •  01-23-2009, 3:06 PM 48038 in reply to 48011

    Re: Problem with filePost.asp file

    Marty,
     
    I've checked your site. It looks like you are using an old version of Cute Editor.

    This is the version 6.1: http://cutesoft.net/asp/EnableAll.asp
     
    Can you upgrade to the latest version then try again?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-23-2009, 3:51 PM 48039 in reply to 48038

    Re: Problem with filePost.asp file

    Hi Adam,
     
    I'm not even sure what version I have as it came with the candypress shopping cart.  If I upgrade I assume that I"ll have to purchase a new license which I assume would be either the redistribution or developer license.  I hadn't planned on eating over $400 as this project has already been bid.  I'm also not sure, as this was obviously a deal worked out between you and Webs Unlimited, Inc, what kind of version I have compared to the one I would download.  Evan at $130 for this one client would be tough to eat.  I can't afford any licensing issues as this is one of my bigger clients.  I had planned on switching the shopping cart over to FCKeditor if I could not get the upload to work as I have already integrated FCKeditor in many other applications.  I would like to avoid this as it would take almost a week to switch out and test the admin for bugs.  Like I said, the only thing that doesn't work is the filepost.asp file.  Since this is the first time I've worked with cuteeditor I would have to bury my nose in the code for a week to figure out what is going on and fix the bug.  Either way I'm loosing money.  Webs Unlimited has talked about reverting back to Innova while they work out some bugs in cuteeditor in FF but I can't wait for the next release.  The cheapest thing I can do now, I guess, is dig through the cuteeditor code and find out what is going on.
     
     
    Marty
  •  02-06-2009, 11:43 AM 48455 in reply to 48039

    Re: Problem with filePost.asp file

    For anyone that is having the same problem I was having, here is the quick solution.
     
     
    Response.Write "<script language=javascript>var OxO4239=['" & FilePath & File.FileName & "','" & FilePath & "']; parent.UploadSaved(OxO4239[0x0],OxO4239[0x1]) ;</script>"
View as RSS news feed in XML