Login Retreive lost passwordRegister
Search

Forum Index / General / Problems with Editor-Field after Upgrading

[ This topic is solved ]

  Frank Kreuzer 13 January 09 / 23:05  
Hello,

after upgrading to the latest version of formhandler my editor-fields aren't working anymore:

Fatal error: Cannot instantiate non-existent class: fckeditor in /xxxxxx/includes/formhandler2/fields/class.Editor.php on line 28

Does anybody have the same effect? Is it something with the php4/php5-handling in fckeditor.php?

When I rename fckeditor_php4.php to fckeditor.php i get errors like "page not found" where the editorfield should be.

Thanks for any help

Regards
Frank

  Johan Wiegel (Admin) 14 January 09 / 07:57  
Frank,

new is the TH_HTML_INCLUDE_DIR in the config.inc.php is this set correctly?

<?php
// This config var has to point to the FCKeditor directory.
// Default this dir is located in the FH3 directory. If you put it
// somewhere else you have to change this config var.
// added 21-11-2008 By Johan Wiegel in order to make it posible to place FH3 outside webroot and FHMTL directory inside webroot
fh_conf('FH_FHTML_INCLUDE_DIR'FH_INCLUDE_DIR 'FHTML/');
?>

  Frank Kreuzer 14 January 09 / 16:04  
Hello :-)

Yes I did set it, just like Thomas Branius mentioned in "Suggestions für 1.2.7"

Today I checked everthing through the different versions.

With 1.2.1 every is working fine.

On 1.2.2 thorugh 1.2.4 I get serveral "undefined property _classOpt in classSelectField at 145" but fckeditor is working

With 1.2.5 it starts with "cannot instantiate non-exist class fckeditor"

With 1.2.7 I put in FH_HTML_INCLUDE_DIR in config and made the changes in the Editor function and in the FH_CAPTCHA function, too...like Thomas Branius wrote.

Still I get "
Fatal error: Cannot instantiate non-existent class: fckeditor in /mnt/web6/12/44/5605544/htdocs/includes/v127/fields/class.Editor.php on line 28"

  Johan Wiegel (Admin) 14 January 09 / 16:41  
Frank,

Why did you put in the line?
the should be in the config already when you download the 1.2.7 version

  Frank Kreuzer 14 January 09 / 21:29  
Changed at 14 January 09 / 21:31
in the latest downloadable version there is only

<?PHP
// This config var has to point to the FCKEditor directory.
// Default this dir is located in the FH3 directory. If you put it
// somewhere else you have to change this config var.
// added 21-11-2008 By Johan Wiegel in order to make it posible to place FH3 outside webroot and FHMTL directory inside webroot
fh_conf('FH_FCK_DIR'FH_INCLUDE_DIR 'FHTML/FCKeditor/');
?>

  Johan Wiegel (Admin) 24 February 09 / 15:55  
Frank,

Today we released a new version 2.1.8.
Can you please let us no if this one is working?

  Frank Kreuzer 24 February 09 / 21:11  
It works! Thank You!

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license