But remember that the last 3 settings will not work unless you download the latest version because the 2.2 has been released before the quick upload feature has been introduced. Best Regards Simone
I can not browse server in FCKeditor in windows xp . Whenever I click " Browse Server " a message appears xml request error:internal server error (500) . The java connecter is working as it can make forders /UserFiles/ but can not browse server . Changing ServerPath is also not working . Please help me as I am trying for a long days
No it is not problem of Windows XP . I mentioned my os because the problem sometimes come from access control aspect in unix / linux environment where the user should have write access to /UserFiles/ directory . I can upload images but can not see them in the file browser . Blandware AtLeap is a alternative . But is is too heavy for a normal user . Please help .
Hi guys, I'm on holiday at the moment, and I'm accessing the forum from a webmail in an internet caf. From what I read it seems like a problem in the configuration, but I'll investigate as soon as I come back home.
H819, I'm the developer of the java integration. The documentation was just an example of the changes needed. Of course you have to change all configs. Simone
I'm getting an error when I open the resources browser to upload an image:
XML Request error : /framework/editor/filemanager/browser/default/connectors/jsp/connector (404)
Seems to me the program is looking for a folder JSP in that path, but you'll find there only folders ASP, ASPX, PHP but no JSP at all.... what's wrong ??? Please help me on this..
Dear mikeribera, I can try to find the solution . I think the problem is in path . 404 error means a web resource is not found. when the link points to /editor/filemanager/browser/default/connectors/jsp/connector it calls the servlet ( for serverside integration ) mentioned in web.xml
So you may not see the jsp folder , but the server side browsing code is already there .
I do not understand why a /framework/ is coming . I unziped the core fckeditor package and copied all items inside it to unzipped the java integration folder and copied the contents to FCKeditor\web folder and I am not getting any 404 error i.e. my app can find the resources. But then i am getting a 500 internal server error , why i do not know .
Hello, can you please activete the debug mode (set debug to true in the web.xml) and then post the error written inside the log\stdout.log file inside the tomcat installation dir? Thanx Simone
Also, can you please try and copy the xalan.jar ,xml-apis.jar,xercesImpl.jar,serializer.jar to {tomcat_home}/common/lib/endorsed and see what's happening?
I downloaded FCKeditor_2.3.1 and I have a problem integrating it with Jboss. My directory structure looks something like
FCKeditor.war (root) -- web -- editor -- directories of _source, css, dialog, filemanager, js, images etc. at the same level.
Now, when I try to bring up the editor in my jsp page, it works fine. But when I try to upload an image in the text area of the editor, it gives an error 404. It gives the error when I try to click the "Browse Server" button on the pop-up opened to upload images (i.e. pop-up named "Image Properties"). The error is --
XML request error (404): /FCKeditor/web/editor/filemanager/browser/default/connectors/jsp/connector
Now, I changed my applications web.xml and added the following mapping for the connector Servlet to it....
Dear h819, After the advise of Simone , FCKeditor is working fine with me . My e mail address is arijitpan@yahoo.com . If you want , send me a mail , I will send you the zip archiv of web application , which you can unzip in tomcat webapp folder and run . We can try to solve the problem .
Dear Arijit, the problem with h819 was that he had a wrong config in the connector definition in the web.xml file. It was not matching the folder that FCKeditor was looking for the connector... This is the most common problem with 404 error with the connector...
I may try to develop a JSP version of the connector, so that not complex changes of the web.xml is needed.
Hi All, I would like to run FCKeditor under tomcat . I would need to know if someone have the zip archiv of web application in order unzip in tomcat webapp folder and run.
Hi All, I would like to run FCKeditor integration with Java under tomcat . I was wondering if someone have the zip archiv of web application in tomcat webapp folder and run.
Oh, sorry, I don't have a "running application" that I can send you.. I suggest you setup the samples based on the standard JSP setup in Tomcat. There is a LOT of help on that issue. Google is your friend..<grin>
If you have a specific question, I would be glad to answer it..
I am currently trying to integrate the Image Browser with our system. It uses a Tomcat server and is totally servlet based, NOT using jsp. We are using a custom HTML template system. How do I integrate the Image Browser without using jsp?
RE: Ask help about integration with Java
FCKeditor 2.0 has six items to be changed for different language in "fckconfig.js" file.
They are:
FCKConfig.LinkBrowserURL
FCKConfig.ImageBrowserURL
FCKConfig.FlashBrowserURL
FCKConfig.LinkUploadURL
FCKConfig.ImageUploadURL
FCKConfig.FlashUploadURL
In php ,they should be:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php' ;
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ;
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Flash' ;
And,what should be in java?
The information is more important for java integration users.
Tell us the exmaple
Thanks a lot !
RE: Ask help about integration with Java
I just released a new version of the Integration lib and in the javadocs there is the correct settings.
Anyway I paste them here for you:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/jsp/connector" ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector" ;
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector" ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=File' ;
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=Flash' ;
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=Image' ;
But remember that the last 3 settings will not work unless you download the latest version because the 2.2 has been released before the quick upload feature has been introduced.
Best Regards
Simone
RE: Ask help about integration with Java
RE: Ask help about integration with Java
Simone:
Thanks for your released 2.3 !
I even do not succeed.
I use your new version 2.3
This is the directory tree of my web app
E:\tomcat5\webapps\FCKeditor--+
+--FCKeditor
+--_samples
+--WEB-INF
I ues ant command "ant all " as build.xml, get _samples and WEB-INF in build folder.
No errors appear.
In FCKeditor folder, FCKeditor2.0;
_samples folder and WEB-INF folder ,get from ant results.
the web.xml use your default in your realeas.
In fckconfig.js
I changed all the six items as you tell:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/jsp/connector" ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector" ;
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector" ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=File' ;
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=Flash' ;
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/simpleuploader?Type=Image' ;
The results are:
It can creat new flolder "UserFiles", and I can get the proper editor interface.
Click image icon , and continue to click "Browse Server",the wrong message appeared "XML request error: /FCKeditor/FCKeditor/editor/filemanager/browser/default/connectors/jsp/connector (404)"
The class ConnectorServlet don't work? The web.xml had declare it!
I noticed , FCKConfig.LinkBrowserURL,FCKConfig.ImageBrowserURL and FCKConfig.FlashBrowserURL used " ,not ' .If it is your careless?
Thanks for you reply!
xml request error:internal server error (500)
Please help me as I am trying for a long days
RE: xml request error:internal server error (500)
any help appreciated
Jeff
RE: xml request error:internal server error (
aspect in unix / linux environment where the user should have write access to /UserFiles/ directory . I can upload images but can not see them in the file browser . Blandware AtLeap is a alternative . But is is too heavy for a normal user . Please help .
RE: Ask help about integration with Java
Simone (the java release author) is on his holiday,and will come back at the end of August.
We all wait.
RE: Ask help about integration with Java
I'm on holiday at the moment, and I'm accessing the forum from a webmail in an internet caf.
From what I read it seems like a problem in the configuration, but I'll investigate as soon as I come back home.
Simone
RE: Ask help about integration with Java
Enjoy your holiday : )
RE: Ask help about integration with Java
Will investigate the problem soon
Simone
RE: Ask help about integration with Java
I'm the developer of the java integration.
The documentation was just an example of the changes needed.
Of course you have to change all configs.
Simone
RE: Ask help about integration with Java
XML Request error : /framework/editor/filemanager/browser/default/connectors/jsp/connector (404)
Seems to me the program is looking for a folder JSP in that path, but you'll find there only folders ASP, ASPX, PHP but no JSP at all.... what's wrong ??? Please help me on this..
RE: Ask help about integration with Java
I can try to find the solution . I think the problem is in path . 404 error means a web resource is not found. when the link points to /editor/filemanager/browser/default/connectors/jsp/connector
it calls the servlet ( for serverside integration ) mentioned in web.xml
<servlet-mapping>
<servlet-name>Connector</servlet-name>
<url-pattern>/editor/filemanager/browser/default/connectors/jsp/connector</url-pattern>
</servlet-mapping>
So you may not see the jsp folder , but the server side browsing code is already there .
I do not understand why a /framework/ is coming . I unziped the core fckeditor package and copied all items inside it to unzipped the java integration folder and copied the contents to FCKeditor\web folder and I am not getting any 404 error i.e. my app can find the resources.
But then i am getting a 500 internal server error , why i do not know .
Arijit Pan
RE: Ask help about integration with Java
can you please activete the debug mode (set debug to true in the web.xml) and then post the error written inside the log\stdout.log file inside the tomcat installation dir?
Thanx
Simone
RE: Ask help about integration with Java
Thx
Simone
RE: Ask help about integration with Java
Arijit Pan
RE: Ask help about integration with Java
I downloaded FCKeditor_2.3.1 and I have a problem integrating it with Jboss. My directory structure looks something like
FCKeditor.war (root)
-- web
-- editor
-- directories of _source, css, dialog, filemanager, js, images etc. at the same level.
Now, when I try to bring up the editor in my jsp page, it works fine. But when I try to upload an image in the text area of the editor, it gives an error 404. It gives the error when I try to click the "Browse Server" button on the pop-up opened to upload images (i.e. pop-up named "Image Properties"). The error is --
XML request error (404): /FCKeditor/web/editor/filemanager/browser/default/connectors/jsp/connector
Now, I changed my applications web.xml and added the following mapping for the connector Servlet to it....
<servlet-mapping>
<servlet-name>Connector</servlet-name>
<url-pattern>/FCKeditor/web/editor/filemanager/browser/default/connectors/jsp/connector</url-pattern>
</servlet-mapping>
I also added following line to the fckconfig.js --
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector";
The jsp page, which displays FCKeditor has following line for image browsing --
imageBrowserURL="/FCKeditor/web/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"
Can someone plz. help me find the cause of the error message.
The servlet is there, but it looks to me as if the mapping is not proper.
Any kind of help will be appreciated.
Thank you..
hardik
RE: Ask help about integration with Java
RE: Ask help about integration with Java
http://xml.apache.org
RE: Ask help about integration with Java
thanx
simone
RE: Ask help about integration with Java
After the advise of Simone , FCKeditor is working fine with me . My e mail address is arijitpan@yahoo.com . If you want , send me a mail , I will send you the zip archiv of web application , which you can unzip in tomcat webapp folder and run . We can try to solve the problem .
Arijit Pan
RE: Ask help about integration with Java
the problem with h819 was that he had a wrong config in the connector definition in the web.xml file.
It was not matching the folder that FCKeditor was looking for the connector...
This is the most common problem with 404 error with the connector...
I may try to develop a JSP version of the connector, so that not complex changes of the web.xml is needed.
Simone
RE: Ask help about integration with Java
I would like to run FCKeditor under tomcat . I would need to know if someone have the zip archiv of web application in order unzip in tomcat webapp folder and run.
Thanks
RE: Ask help about integration with Java
I'm new here. I would like to integrate FCKEditor with my existing application that is running on JRun. Any advise?
Thanks.
FCKeditor integration with Java
I would like to run FCKeditor integration with Java under tomcat . I was wondering if someone have the zip archiv of web application in tomcat webapp folder and run.
If you have, please send the code to yingwangsmile@yahoo.com
Thank you so very much
RE: FCKeditor integration with Java
What do you think you are missing..???
John..
RE: Ask help about integration with Java
RE: Ask help about integration with Java
If you have a specific question, I would be glad to answer it..
John..
Re: Ask help about integration with Java
How do I integrate the Image Browser without using jsp?