unable to get ckeditor working
Archived from the Xataface Users forum.
razzetto — Tue Aug 21, 2012 8:07 am
Hi steve, hi all.
i’m trying to add the html report module to my application,
working with what i suppose to be the latest version ( http://weblite.ca/svn/dataface/core/trunk/).
after: Control panel–>manage reports–>new record i get this error:
- Code: Select all
Fatal error: Uncaught exception 'Exception' with message '[html_quickform_error: message="unregistered element" code=-5 mode=return level=notice prefix="QuickForm Error: " info="Element 'ckeditor' does not exist in HTML_QuickForm::_loadElement()"]' in D:\xampp\htdocs\nuovoxata\Dataface\FormTool.php:465 Stack trace: #0 D:\xampp\htdocs\nuovoxata\Dataface\QuickForm.php(377): Dataface_FormTool->buildWidget(Object(Dataface_Record), Array, Object(Dataface_QuickForm), 'template_html', true, Array) #1 D:\xampp\htdocs\nuovoxata\Dataface\QuickForm.php(518): Dataface_QuickForm->_buildWidget(Array, Array) #2 D:\xampp\htdocs\nuovoxata\actions\new.php(53): Dataface_QuickForm->_build() #3 D:\xampp\htdocs\nuovoxata\Dataface\Application.php(2325): dataface_actions_new->handle(Array) #4 D:\xampp\htdocs\nuovoxata\Dataface\Application.php(2410): Dataface_Application->handleRequest() #5 D:\xampp\htdocs\sportelloprealpha2.0\index.php(7): Dataface_Application->display() #6 {main} thrown in D:\xampp\htdocs\nuovoxata\Dataface\FormTool.php on line 465
by the way i discovered the ckeditor widget is not showing in fields in which i put
- Code: Select all
widget:type=ckeditor
just to give some more hints:
- the installation of ckeditor (from official site) was done into nuovoxata\modules\ckeditor
- in conf.ini i have this entry:
- Code: Select all
[_modules] modules_ckeditor=/modules/ckeditor/ckeditor.php modules_htmlreports=modules/htmlreports/htmlreports.php
- in index.php i have
- Code: Select all
df_init(__FILE__, "/nuovoxata")->display();
i saw a similar discussion here viewtopic.php?f=4&t=6625 (but everything seems ok in my paths)
last straw to grasp ( ! ) : i have an xammp installation with php 5.3.8 …
thanks (as always) for any suggestion and for all your work.
Paolo
shannah — Tue Aug 21, 2012 11:51 am
- Code: Select all
modules_ckeditor=/modules/ckeditor/ckeditor.php
should be
- Code: Select all
modules_ckeditor=modules/ckeditor/ckeditor.php
-Steve
razzetto — Tue Aug 21, 2012 12:35 pm
yes, of course.. sorry for having pasted this silly experiment.
but, no, it’s not working with :
- Code: Select all
modules_ckeditor=modules/ckeditor/ckeditor.php
i get the same error:
- Code: Select all
Fatal error: Uncaught exception 'Exception' with message '[html_quickform_error: message="unregistered element" code=-5 mode=return level=notice prefix="QuickForm Error: " info="Element 'ckeditor' does not exist in HTML_QuickForm::_loadElement()"]' in D:\xampp\htdocs\nuovoxata\Dataface\FormTool.php:465 Stack trace: #0 D:\xampp\htdocs\nuovoxata\Dataface\QuickForm.php(377): Dataface_FormTool->buildWidget(Object(Dataface_Record), Array, Object(Dataface_QuickForm), 'template_html', true, Array) #1 D:\xampp\htdocs\nuovoxata\Dataface\QuickForm.php(518): Dataface_QuickForm->_buildWidget(Array, Array) #2 D:\xampp\htdocs\nuovoxata\actions\new.php(53): Dataface_QuickForm->_build() #3 D:\xampp\htdocs\nuovoxata\Dataface\Application.php(2325): dataface_actions_new->handle(Array) #4 D:\xampp\htdocs\nuovoxata\Dataface\Application.php(2410): Dataface_Application->handleRequest() #5 D:\xampp\htdocs\sportelloprealpha2.0\index.php(7): Dataface_Application->display() #6 {main} thrown in D:\xampp\htdocs\nuovoxata\Dataface\FormTool.php on line 465
i’m quite sure i was missing something with the instructions about installing ckeditor.
shannah — Tue Aug 21, 2012 4:40 pm
What versions of
- Xataface
- CKeditor module
are you running?
razzetto — Wed Aug 22, 2012 5:54 am
nevermind. i got it working (just re-installed it and it works great).
the issue: i’m totally inexperienced with svn
thanks, again (and sorry for wasting your time).
paolo