Advanced HTML Editor 3 Support Product Page
Under investigation
no upload image start
Reported 14 Sep 2011 13:06:51
1
has this problem
14 Sep 2011 13:06:51 Luca lucag posted:
Hallo, I use HTML 3 last version with the upload and resize option enabled, but uploading don't start.
I have the doub who the extension don't palce in the page all necessary objects. (is already happened in the past that did not write the js links pages)
There should be something that invokes the code PAU3?
<title>form page</title> <link rel="stylesheet" type="text/css" href="../../Styles/dmxEditor.css" /> <script type="text/javascript" src="../../ScriptLibrary/jquery-latest.pack.js"></script> <script type="text/javascript" src="../../ScriptLibrary/dmxEditor.min.js"></script> <script type="text/javascript" src="../../ScriptLibrary/require.js"></script> </head> <body> <form id="form1" name="form1" method="post" action=""> <textarea id="advHTMLEdit1" name="advHTMLEdit1" class="dmxEditor" style="width:600px;height:300px"></textarea> <script type="text/javascript"> // <![CDATA[ jQuery(document).ready( function() { jQuery("#advHTMLEdit1").dmxEditor( {width:600, height:300, allowUpload:true, uploadPath:"../../public/nwletter", allowResize:true, resizeMaxWidth:700, resizeMaxHeight:700, locale:"it", toolbars:{Format:{enabled:false}, Table:{enabled:false}, Font:{items:{fontname:false}}, Style:{enabled:false}, Common:{items:{viewsource:false}}, Code:{enabled:false}}} ); } ); // ]]> </script> </form>
Thank you
Luca
ps in the same site I use PAU3 without problems
Replies
Replied 15 Sep 2011 10:40:32
15 Sep 2011 10:40:32 Miroslav Zografski replied:
Hello Luca,
please, provide a link to the page in question so we can investigate this issue
please, provide a link to the page in question so we can investigate this issue
Replied 15 Sep 2011 11:42:53
15 Sep 2011 11:42:53 Luca lucag replied:
Replied 21 Sep 2011 11:26:18
21 Sep 2011 11:26:18 Teodor Kuduschiev replied:
Hello,
I see that on your page, before the Doctype there are some strange empty lines. Can you please check this and make sure Doctype is the first line of your code?
I see that on your page, before the Doctype there are some strange empty lines. Can you please check this and make sure Doctype is the first line of your code?
Replied 21 Sep 2011 12:39:45
21 Sep 2011 12:39:45 Luca lucag replied:
Hello
the original code is:
the original code is:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>form page</title> <link rel="stylesheet" type="text/css" href="Styles/dmxEditor.css" /> <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script> <script type="text/javascript" src="ScriptLibrary/dmxEditor.min.js"></script> <script type="text/javascript" src="ScriptLibrary/require.js"></script> </head> <body> <form id="form1" name="form1" method="post" action=""> <textarea id="advHTMLEdit1" name="advHTMLEdit1" class="dmxEditor" style="width:600px;height:300px"></textarea> <script type="text/javascript"> // <![CDATA[ jQuery(document).ready( function() { jQuery("#advHTMLEdit1").dmxEditor( {width:600, height:300, allowUpload:true, uploadPath:"public", subFolder:"test", allowResize:true, resizeMaxWidth:200, resizeMaxHeight:200, locale:"it", toolbars:{Format:{enabled:false}, Table:{enabled:false}, Font:{items:{fontname:false}}, Style:{enabled:false}, Common:{items:{viewsource:false}}, Code:{enabled:false}}} ); } ); // ]]> </script> </form> </body> </html>
Replied 18 Apr 2012 14:19:08
18 Apr 2012 14:19:08 Luca lucag replied:
I inform you that the problem is not solved yet (SIX MONTH LATER!!!)... even with the latest version of HTML editor, SIP and ASPupload ...
I'm forced to upload photos in different way.
Why don't works damn?..
I'm going crazy...
The test page is always available...
I'm sorry but I pretend a solution of this problem...
Thank you
Regards
Luca
Extension used:
HTML editor 3.3.1
PAU 3.0.18
SIP 2.5.6
All pages are in ASP Classic
Folders with permission on read and write
Files upload_authorize_for_dmxEditor are present on site..
This is the code present on upload_resize.asp
I'm forced to upload photos in different way.
Why don't works damn?..
I'm going crazy...
The test page is always available...
I'm sorry but I pretend a solution of this problem...
Thank you
Regards
Luca
Extension used:
HTML editor 3.3.1
PAU 3.0.18
SIP 2.5.6
All pages are in ASP Classic
Folders with permission on read and write
Files upload_authorize_for_dmxEditor are present on site..
This is the code present on upload_resize.asp
< %'********************************************** ' Advanced HTML Editor 3 ' Version: 3.1.1 ' ' (c) 2011 DMXzone.com ' '********************************************** %> <!--#include file="../../../ScriptLibrary/incPU3Class.asp" --> <!--#include file="../../../ScriptLibrary/incPU3Utils.asp" --> <!--#include file="../../../ScriptLibrary/incSIP2Class.asp" --> < %'*** Pure ASP File Upload 3.0.2 ' Process form form1 Dim pau, DMX_uploadAction, UploadRequest, UploadQueryString, pau_thePath, pau_nameConflict, pau_saveWidth, pau_saveHeight Set pau = new PureUpload pau.ScriptLibrary = "../../../ScriptLibrary" pau.TimeOut = 600 pau.ConflictHandling = "uniq" pau.StoreType = "file" pau.AllowedExtensions = "GIF,JPG,JPEG,BMP,PNG" ' "images" if Request.QueryString("upfolder") <> "" then Dim m_fso Set m_fso = CreateObject("Scripting.FileSystemObject") pau.UploadFolder = m_fso.GetAbsolutePathName(m_fso.BuildPath(Server.MapPath("."), Request.QueryString("upfolder"))) 'on error resume next if not m_fso.FileExists(pau.UploadFolder & "/upload_authorize_for_dmxEditor") then Response.Write "<h1>Upload Error</h1><b>This folder is not authorized for upload!</b><br/>Please make sure it has write permissions and the authorization file is in it." Response.End end if if m_fso.FileExists(pau.UploadFolder & "/list_authorize_for_dmxEditor") then Dim listf, file set file = m_fso.getFile(pau.UploadFolder & "/list_authorize_for_dmxEditor") if file.size > 0 then Set listf = m_fso.OpenTextFile(pau.UploadFolder & "/list_authorize_for_dmxEditor", 1, False) pau.AllowedExtensions = listf.ReadAll() listf.Close end if end if 'on error goto 0 if Request.QueryString("subfolder") <> "" then Dim newFolder : newFolder = m_fso.GetAbsolutePathName(m_fso.BuildPath(pau.UploadFolder, Request.QueryString("subfolder"))) if instr(newFolder, pau.UploadFolder) = 0 then Response.Write "<h1>Upload Error</h1>Bad subfolder" Response.End end if pau.UploadFolder = newFolder end if else Response.Write "<h1>Upload Error</h1>Bad upload location" Response.End end if pau.ProcessUpload pau.SaveAll %> < %' Smart Image Processor 2.5.5 Dim sip1 Set sip1 = New ImageProcessor on error resume next sip1.Key = "4E0A01EF-2FBC-431C-8265-F7BEBD4DD0A1" on error goto 0 sip1.ScriptFolder = "../../../ScriptLibrary" sip1.Component = "Auto" sip1.Source = "upload" sip1.UploadFields = "" sip1.GetFiles While sip1.HasFiles ....
Replied 18 Apr 2012 14:41:50
18 Apr 2012 14:41:50 Teodor Kuduschiev replied:
Please send me your page (the asp file) to