Hi,
we would like to report on a new math plugin for FCKeditor, both for ASP.NET and PHP.
WIRIS Plugin allows to easily integrate with FCKeditor the following tools:
- Equation editor WYSIWYG based on icons and palettes. Based on MathML.
- Online calculator
- Integrals, derivatives, limits,…
- 2D and 3D graphics
Re: Math tools for FCK Editor (equation editor and calculator)
I would interested in know about your plugins. Unfortunately, the links provided by your are not working. Can you please check this?
Thanks,
hkundra
Re: Math tools for FCK Editor (equation editor and calculator)
Could you be more specific? Which links don't work?
WIRIS Tools can be used from a hosting service we provide. All you need to test the technology is available.
There are some components, image service and mathematical engine, than can be installed in your server if needed. Those components are only provided to custumers interested in having everything installed in their server.
Re: Math tools for FCK Editor (equation editor and calculator)
Thanks ckeditor team and WIRIS team. I am already using the ckeditor and it works perfectly.
Now, I need to provide a formula editor for my 'university question' bank project.
As per the above post, I downloaded the fckeditor sample plugin and installed on my local machine. But when I enter my formula and press the accept, mathML code is shown on the picture instead of the rendered formula.
However on the demo website the formula is rendered properly and displayed on the image.
I did not make any modification on the downloaded pack. Is there any thing I have to do.
Am I missing any PHP extension or any server side configuration?
Note: all the folders on my www is writable.
thanks in advance.
Jega
Re: Math tools for FCK Editor (equation editor and calculator)
The mathml is shown because the image can not be created. Please, can you get the HTML code of the text inside the editor?
In the HTML code, you should find a link to the formula image. If the link does not exists, can you post your HTML code in this forum? Otherwise, can you open this link in another browser tab?
Doing it, maybe an error will appear. Please, can you post the error in this forum?
Thanks
Re: Math tools for FCK Editor (equation editor and calculator)
Also i am facing same problem as jegatheesh. On local server is working properly but not on the live server.
Equation img not create.
wirisimageservicehost = services.wiris.net
wirisimageserviceport = 80
wirisimageservicepath = /formula/render
Will i change anything in the config file?
Waiting for your response.
Thanks & all the best.
Re: Math tools for FCK Editor (equation editor and calculator)
Hi,
Source is coming like
<p><img align="middle" title="Double click to edit" class="Wirisformula" alt="«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msqrt»«mn»5656«/mn»«/msqrt»«/math»" src="/smh/fckeditor/editor/plugins/fckeditor_wiris/integration/showimage.php?formula=5566227c791392b1bce2a0c0553053aa.png" /></p>
In the fckeditor_wiris/formulas/ directory png file is create but in the cache folder nothing create that's why img not showing.
In my local server img created properly in the both folder.
Thanks.
Re: Math tools for FCK Editor (equation editor and calculator)
The problem is the connection between your production server and WIRIS. Your server must be able to connect to services.wiris.net. Check your firewall or PHP configuration at php.ini.
Re: Math tools for FCK Editor (equation editor and calculator)
hey thr i am fracing the same problem only the XML is generated ....wht to do with this problem is thr any solution for it???plz do help me
...it urgent
Re: Math tools for FCK Editor (equation editor and calculator)
im facing the problem in the wiris formula editor only the xml script is genrated.
is thr any solution for this
im using 3.5 ASP.NET
does it support with 3.5 ASP.NET
plz rely or mail d solution at nimisha.jagtap@yahoo.com
its urgent.
Re: Math tools for FCK Editor (equation editor and calculator)
Hi,
Please, try this:
1) Create a new formula with WIRIS editor
2) In the HTML generated code, search for the src of the image (for example, /smh/fckeditor/editor/plugins/fckeditor_wiris/integration/showimage.php?formula=5566227c791392b1bce2a0c0553053aa.png)
3) Open http://yourserver/<src of the image>. For example: http://yourserver/smh/fckeditor/editor/ ... 3053aa.png
If an error is displayed, send it to this forum. Else, try this:
1) Go to http://yourserver/<src of the image>
2) Save the page content on disk.
3) Open the content with a plain text editor, for example notepad.
4) Send the content to this forum.
Re: Math tools for FCK Editor (equation editor and calculator)
hi there,
i tried doing d same thing which u have mentioned in earlier post,
yes im facing the problem -----it goes like this...
http://localhost:2051/WebSite3/FCkEditor/editor/plugins/fckeditor_wiris/integration/showimage.aspx?formula=04ba70d30f821c4aa6f1af8b7fc0716a.png------ src for the image ....this i put in the address bar n folloeing is the error...
Re: Math tools for FCK Editor (equation editor and calculator)
The problem is that your server is behind a proxy that requires authentification. Unfortunately, WIRIS Plugin does not support this kind of connections and is designed only for direct connections.
We are working to enable connections through proxies on WIRIS Plugin, so we will release a new version soon.
Re: Math tools for FCK Editor (equation editor and calculator)
Can I install the image service on my local server machine?
Re: Math tools for FCK Editor (equation editor and calculator)
the image service can be installed in your server machine if you purchase the license to do it. If you are interested in that possibility just send me an email to ramon@wiris.com
Re: Math tools for FCK Editor (equation editor and calculator)
I have the fckeditor with wiris plugin embeded in a page which named abc.htm, and abc.htm is a page in a frame, now, the wiris equation editor can open, but when I press 'Accept', it doesn't work.
While, if abc.htm is not in a frame, it works well.
can you help me fix the problem?
lcsendmail.
Re: Math tools for FCK Editor (equation editor and calculator)
yestaerday we released a new version. Please check if the new version works better. Juan, will give you further support.
Re: Math tools for FCK Editor (equation editor and calculator)
Re: Math tools for FCK Editor (equation editor and calculator)
Re: Math tools for FCK Editor (equation editor and calculator)
I upload a zip file that can recur my problem. Maybe it is useful for you to locate the error.
thanks.
lcsendmail.
Attachments:
Re: Math tools for FCK Editor (equation editor and calculator)
Thank you for the bug report and the provided resources. We have released the new version 1.13.2. This version should fix your error. Please, report us your results if the error persists.
Greetings
Re: Math tools for FCK Editor (equation editor and calculator)
Nice work! It works well now.
Re: Math tools for FCK Editor (equation editor and calculato
Here is the xml generated.There is no image src in the generated.
«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»tan«/mi»«mo»§nbsp;«/mo»«msup»«mn»10«/mn»«mi»o«/mi»«/msup»«mo»§nbsp;«/mo»«mi»tan«/mi»«mo»§nbsp;«/mo»«msup»«mn»15«/mn»«mi»o«/mi»«/msup»«mo»§nbsp;«/mo»«mi»tan«/mi»«mo»§nbsp;«/mo»«msup»«mn»75«/mn»«mi»o«/mi»«/msup»«mo»§nbsp;«/mo»«mi»tan«/mi»«mo»§nbsp;«/mo»«msup»«mn»80«/mn»«mi»o«/mi»«/msup»«/math»
However, when I click on the xml, browser seems to handle it like an image. I was able to right click and go to Image Properties. Here the url in fckeditor image properties frame says "Error: can not create the image. Check your file privileges."
Can you help? Where are the images stored, may be I need to provide proper permissions.
Re: Math tools for FCK Editor (equation editor and calculato
OK. I have found out that /fckeditor/editor/plugins/fckeditor_wiris/formulas
directory was not writable and it needs to be. I did a chmod 777 to this directory and got the xml file to be written to it.
Now the xml is
<p><img align="middle" title="Double click to edit" class="Wirisformula" alt="«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»tan«/mi»«mo»§nbsp;«/mo»«mn»10«/mn»«/math»" src="/fckeditor/editor/plugins/fckeditor_wiris/integration/showimage.php?formula=7ecc9d9cd07fcde1d838c59d3516e814.png" /></p>
but still no image. Is this a problem because of proxy as was mentioned in a previous post? I am not sure if my server has a proxy.
Re: Math tools for FCK Editor (equation editor and calculato
Deepak:
I am also facing same problem when i am using FCK editor wiris plugin( asp.net 3.5) it shows me mathml instead of image of formula .I have pasted the source of ml below.PLease help me out if anybody have solution to this via er.deepak.garg22@gmail.com..
Thanks
Deepak
<p><img align="middle" title="Double click to edit" class="Wirisformula" alt="«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mroot»«mn»3«/mn»«mn»2«/mn»«/mroot»«/math»" src="%3Chtml%3E%0D%0A%3Chead%3E%0D%0A%3Ctitle%3EA%20potentially%20dangerous%20Request.Form%20value%20was%20detected%20from%20the%20client%20%28mml=&quot;&lt;math%20xmlns=&quot;http://...&quot;%29.%3C/title%3E%0D%0A%3Cstyle%3E%0D%0Abody%20%7Bfont-family:%22Verdana%22;font-weight:normal;font-size:%20.7em;color:black;%7D%0D%0Ap%20%7Bfont-family:%22Verdana%22;font-weight:normal;color:black;margin-top:%20-5px%7D%0D%0Ab%20%7Bfont-family:%22Verdana%22;font-weight:bold;color:black;margin-top:%20-5px%7D%0D%0AH1%20%7B%20font-family:%22Verdana%22;font-weight:normal;font-size:18pt;color:red%20%7D%0D%0AH2%20%7B%20font-family:%22Verdana%22;font-weight:normal;font-size:14pt;color:maroon%20%7D%0D%0Apre%20%7Bfont-family:%22Lucida%20Console%22;font-size:%20.9em%7D%0D%0A.marker%20%7Bfont-weight:%20bold;%20color:%20black;text-decoration:%20none;%7D%0D%0A.version%20%7Bcolor:%20gray;%7D%0D%0A.error%20%7Bmargin-bottom:%2010px;%7D%0D%0A.expandable%20%7B%20text-decoration:underline;%20font-weight:bold;%20color:navy;%20cursor:hand;%20%7D%0D%0A%3C/style%3E%0D%0A%3C/head%3E%0D%0A%3Cbody%20bgcolor=%22white%22%3E%0D%0A%3Cspan%3E%3CH1%3EServer%20Error%20in%20%27/%27%20Application.%3Chr%20width=100%%20size=1%20color=silver%3E%3C/H1%3E%0D%0A%3Ch2%3E%20%3Ci%3EA%20potentially%20dangerous%20Request.Form%20value%20was%20detected%20from%20the%20client%20%28mml=&quot;&lt;math%20xmlns=&quot;http://...&quot;%29.%3C/i%3E%20%3C/h2%3E%3C/span%3E%0D%0A%3Cfont%20face=%22Arial,%20Helvetica,%20Geneva,%20SunSans-Regular,%20sans-serif%20%22%3E%0D%0A%3Cb%3E%20Description:%20%3C/b%3ERequest%20Validation%20has%20detected%20a%20potentially%20dangerous%20client%20input%20value,%20and%20processing%20of%20the%20request%20has%20been%20aborted.%20%20This%20value%20may%20indicate%20an%20attempt%20to%20compromise%20the%20security%20of%20your%20application,%20such%20as%20a%20cross-site%20scripting%20attack.%20%20You%20can%20disable%20request%20validation%20by%20setting%20validateRequest=false%20in%20the%20Page%20directive%20or%20in%20the%20%3Cpages%3E%20configuration%20section.%20%20However,%20it%20is%20strongly%20recommended%20that%20your%20application%20explicitly%20check%20all%20inputs%20in%20this%20case.%0D%0A%3Cbr%3E%3Cbr%3E%0D%0A%3Cb%3E%20Exception%20Details:%20%3C/b%3ESystem.Web.HttpRequestValidationException:%20A%20potentially%20dangerous%20Request.Form%20value%20was%20detected%20from%20the%20client%20%28mml=&quot;&lt;math%20xmlns=&quot;http://...&quot;%29.%3Cbr%3E%3Cbr%3E%0D%0A%3Cb%3ESource%20Error:%3C/b%3E%20%3Cbr%3E%3Cbr%3E%0D%0A%3Ctable%20width=100%%20bgcolor=%22#ffffcc%22%3E%0D%0A%3Ctr%3E%0D%0A%3Ctd%3E%0D%0A%3Ccode%3E%3Cpre%3E%0D%0A[No%20relevant%20source%20lines]%3C/pre%3E%3C/code%3E%0D%0A%3C/td%3E%0D%0A%3C/tr%3E%0D%0A%3C/table%3E%0D%0A%3Cbr%3E%0D%0A%3Cb%3E%20Source%20File:%20%3C/b%3E%20App_Web_createimage.aspx.44d70a85.ugrcyhrx.0.cs%3Cb%3E%20&nbsp;&nbsp;%20Line:%20%3C/b%3E%200%0D%0A%3Cbr%3E%3Cbr%3E%0D%0A%3Cb%3EStack%20Trace:%3C/b%3E%20%3Cbr%3E%3Cbr%3E%0D%0A%3Ctable%20width=100%%20bgcolor=%22#ffffcc%22%3E%0D%0A%3Ctr%3E%0D%0A%3Ctd%3E%0D%0A%3Ccode%3E%3Cpre%3E%0D%0A[HttpRequestValidationException%20%280x80004005%29:%20A%20potentially%20dangerous%20Request.Form%20value%20was%20detected%20from%20the%20client%20%28mml=&quot;&lt;math%20xmlns=&quot;http://...&quot;%29.]%0D%0ASystem.Web.HttpRequest.ValidateString%28String%20s,%20String%20valueName,%20String%20collectionName%29%20+8723114%0D%0ASystem.Web.HttpRequest.ValidateNameValueCollection%28NameValueCollection%20nvc,%20String%20collectionName%29%20+111%0D%0ASystem.Web.HttpRequest.get_Form%28%29%20+129%0D%0ASystem.Web.HttpRequest.get_HasForm%28%29%20+8723223%0D%0ASystem.Web.UI.Page.GetCollectionBasedOnMethod%28Boolean%20dontReturnNull%29%20+97%0D%0ASystem.Web.UI.Page.DeterminePostBackMode%28%29%20+63%0D%0ASystem.Web.UI.Page.ProcessRequestMain%28Boolean%20includeStagesBeforeAsyncPoint,%20Boolean%20includeStagesAfterAsyncPoint%29%20+6785%0D%0ASystem.Web.UI.Page.ProcessRequest%28Boolean%20includeStagesBeforeAsyncPoint,%20Boolean%20includeStagesAfterAsyncPoint%29%20+242%0D%0ASystem.Web.UI.Page.ProcessRequest%28%29%20+80%0D%0ASystem.Web.UI.Page.ProcessRequestWithNoAssert%28HttpContext%20context%29%20+21%0D%0ASystem.Web.UI.Page.ProcessRequest%28HttpContext%20context%29%20+49%0D%0AASP.fckeditor_editor_plugins_fckeditor_wiris_integration_createimage_aspx.ProcessRequest%28HttpContext%20context%29%20in%20App_Web_createimage.aspx.44d70a85.ugrcyhrx.0.cs:0%0D%0ASystem.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute%28%29%20+181%0D%0ASystem.Web.HttpApplication.ExecuteStep%28IExecutionStep%20step,%20Boolean&amp;%20completedSynchronously%29%20+75%0D%0A%3C/pre%3E%3C/code%3E%0D%0A%3C/td%3E%0D%0A%3C/tr%3E%0D%0A%3C/table%3E%0D%0A%3Cbr%3E%0D%0A%3Chr%20width=100%%20size=1%20color=silver%3E%0D%0A%3Cb%3EVersion%20Information:%3C/b%3E&nbsp;Microsoft%20.NET%20Framework%20Version:2.0.50727.4206;%20ASP.NET%20Version:2.0.50727.4016%0D%0A%3C/font%3E%0D%0A%3C/body%3E%0D%0A%3C/html%3E%0D%0A%3C%21--%0D%0A[HttpRequestValidationException]:%20A%20potentially%20dangerous%20Request.Form%20value%20was%20detected%20from%20the%20client%20%28mml=&quot;&lt;math%20xmlns=&quot;http://...&quot;%29.%0D%0Aat%20System.Web.HttpRequest.ValidateString%28String%20s,%20String%20valueName,%20String%20collectionName%29%0D%0Aat%20System.Web.HttpRequest.ValidateNameValueCollection%28NameValueCollection%20nvc,%20String%20collectionName%29%0D%0Aat%20System.Web.HttpRequest.get_Form%28%29%0D%0Aat%20System.Web.HttpRequest.get_HasForm%28%29%0D%0Aat%20System.Web.UI.Page.GetCollectionBasedOnMethod%28Boolean%20dontReturnNull%29%0D%0Aat%20System.Web.UI.Page.DeterminePostBackMode%28%29%0D%0Aat%20System.Web.UI.Page.ProcessRequestMain%28Boolean%20includeStagesBeforeAsyncPoint,%20Boolean%20includeStagesAfterAsyncPoint%29%0D%0Aat%20System.Web.UI.Page.ProcessRequest%28Boolean%20includeStagesBeforeAsyncPoint,%20Boolean%20includeStagesAfterAsyncPoint%29%0D%0Aat%20System.Web.UI.Page.ProcessRequest%28%29%0D%0Aat%20System.Web.UI.Page.ProcessRequestWithNoAssert%28HttpContext%20context%29%0D%0Aat%20System.Web.UI.Page.ProcessRequest%28HttpContext%20context%29%0D%0Aat%20ASP.fckeditor_editor_plugins_fckeditor_wiris_integration_createimage_aspx.ProcessRequest%28HttpContext%20context%29%20in%20c:%5Cwindows%5CMicrosoft.NET%5CFramework%5Cv2.0.50727%5CTemporary%20ASP.NET%20Files%5Croot%5C51e8562b%5C680192dc%5CApp_Web_createimage.aspx.44d70a85.ugrcyhrx.0.cs:line%200%0D%0Aat%20System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute%28%29%0D%0Aat%20System.Web.HttpApplication.ExecuteStep%28IExecutionStep%20step,%20Boolean&%20completedSynchronously%29%0D%0A--%3E%3C%21--%0D%0AThis%20error%20page%20might%20contain%20sensitive%20information%20because%20ASP.NET%20is%20configured%20to%20show%20verbose%20error%20messages%20using%20&lt;customErrors%20mode=%22Off%22/&gt;.%20Consider%20using%20&lt;customErrors%20mode=%22On%22/&gt;%20or%20&lt;customErrors%20mode=%22RemoteOnly%22/&gt;%20in%20production%20environments.--%3E" /> Solve This</p>
Re: Math tools for FCK Editor (equation editor and calculato
@Deepak: It seems that there is a problem in your server configuration. The server assumes that the user is trying to send dangerous code when he sends xml (mathml).
This is the excepcion that your server throws:
Re: Math tools for FCK Editor (equation editor and calculato
Hi guys.
I'm hoping somebody can help. I'm trying to get this Wiris plugin working with FCKEditor. I've followed the instructions here: http://www.wiris.com/portal/en/plugins/docs/fckeditor
At the moment, I have the WIRIS buttons in my FCKEditor, but when I click them, I get the dialog pop up put it sticks at the progress bar? Please see attached screenshot.
Any help would be appreciated....
Attachments:
Re: Math tools for FCK Editor (equation editor and calculato
Re: Math tools for FCK Editor (equation editor and calculato
My site's currently in pre-launch mode, so I hope you don't mind me PM'ing you with the address....
Thanks in advance.
Re: Math tools for FCK Editor (equation editor and calculato
Then I had the issue where it would just show an image of the MathML, and I solved this by adding <pages validateRequest="false"> to the Wiris web.config file.
I just have one final question that somebody may be able to answer:
I store all of the html created from wiris formulas in a database. When I export this HTML code straight into an MS Word document, I cannot see the image.
However, if I manually drag over the image and copy it it from my webpage, then paste it into MS Word the image displays?
I doubt anybody knows why (and it's not really an FCKEditor issue) but if you do, please let me know.
Re: Math tools for FCK Editor (equation editor and calculato