caleeli / mathmlformula

Automatically exported from code.google.com/p/mathmlformula
1 stars 0 forks source link

Error saving image on server #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have integrated the fMath plugin for CKEditor:

I am using the following fmath plugin for CKEditor:
fmath_formula-only-plugin-CKEditor-v3.6.2-b1026

The following error is generating when I click "OK" button in fMath ML editor:
"Error saving image on server:"

For capturing the image at server side code is only existing in JSP which is 
not supported by the WebObjects I am using.

Please advise if they is any other java server side code other than the JSP 
that can be used to capture the image and set to CKEditor.

Thanks,
Raghu.

Original issue reported on code.google.com by raghu...@gmail.com on 22 May 2012 at 12:51

GoogleCodeExporter commented 9 years ago
All the server side code is here:
http://www.fmath.info/editor/image.jsp

hmm, I can try to create also for WebObjects 

Original comment by ionel.alexandru@gmail.com on 22 May 2012 at 1:26

GoogleCodeExporter commented 9 years ago
I have integrated the fMath plugin for CKEditor.

I am getting error when I click "OK" button in fMath ML editor:  "Error saving 
image on server:"

For capturing the image at server side code we are using the JSP 
(imageCapture.jsp) connector code.

I have used the following CKEditor code to invoke the imageCapture jsp server 
side connector code:

filebrowserImageBrowseUrl : 'http://IP-ADDRESS:8080/imageCapture.jsp';

But the following line of code is getting null when the imageCapture.jsp is 
invoked:

String image = request.getParameter("image");

The request.getParameter("image") is getting null.

Please advise if there is any other parameter needs to be set or any other code 
needs to be added.

Thanks,
Raghu.

Original comment by raghu...@gmail.com on 29 May 2012 at 2:18

GoogleCodeExporter commented 9 years ago
hmm, it seems impossible.

if the url is well set in configMathMLEditor.xml:
<property id="urlGenerateImage">/capture/imageCapture.jsp</property>
the editor invoke automatically imageCapture.jsp AND send the image.
--> is not possible to have request.getParameter("image") == null

thank you
alex

Original comment by ionel.alexandru@gmail.com on 29 May 2012 at 2:27

GoogleCodeExporter commented 9 years ago
Hi All
I am getting the below error while i integrate fmath editor with ckeditor in 
asp.net webapplication.even i change my ConfigMathEditor.xml;<property 
id="urlGenerateImage">/capture/imageCapture.aspx</property>

Error saving the image on server:
Url server:http://localhost:62952/capture/imageCapture.aspx
Error:[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 
text="Error #2032"]

Please reply if anyone has implemented this above.
Thanks in advance. 

Original comment by vikash.p...@infoprolearning.com on 28 Feb 2013 at 1:52

GoogleCodeExporter commented 9 years ago
Hi,

1. the url in configMathMLEditor.xml must be your server/page url
2. for asp.net, do you have installed the package aspx on IIS ?
3. do you have logs on server ?

regards

Original comment by ionel.alexandru@gmail.com on 28 Feb 2013 at 2:10

GoogleCodeExporter commented 9 years ago

Original comment by ionel.alexandru@gmail.com on 20 Nov 2014 at 4:11