21
kerkyra
Re: v2.3.2 upgrade to 2.4.4
  • 2010/5/26 12:17

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


well i had almost the same issue with the editors list.

What i did was
go to modules and hit update news,
when the new screen loads with the update button

clear the templates,
delete the xoops_data/xoops_cache/xoops_editorlist cache file

and hit update
that worked for me
whttp://www.guidemap.gr - Beta is out...

22
Wonderfish1
Re: v2.3.2 upgrade to 2.4.4

When you said "clear the templates,"
did u mean "clear the caches,"?

If not how do you clear the templates?

Otherwise, I tried the rest of the instructions and it didn't work.

The editorlist file hasn't come back yet either


Thanks,
Tim


23
Wonderfish1
Re: v2.3.2 upgrade to 2.4.4

When I update the News module it includes this info:

Config form_options added to the database
Config option added Name: DHTML Value: dhtml
Config option added Name: Compact Value: textarea
Config option added Name: Spaw Editor Value: spaw
Config option added Name: HtmlArea Editor Value: htmlarea
Config option added Name: Koivi Editor Value: koivi
Config option added Name: FCK Editor Value: fck

No CKEditor or TinyMCE

24
ghia
Re: v2.3.2 upgrade to 2.4.4
  • 2010/5/26 13:26

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


These two editors have a directory under /class/xoopseditors/ and they have an editor_registry.php file there?

25
Wonderfish1
Re: v2.3.2 upgrade to 2.4.4

Yes, they do.

For example, the TinyMCE editor_registry.php contains:

/**
* TinyMCE adapter for XOOPS
*
* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
* @license http://www.fsf.org/copyleft/gpl.html GNU public license
* @package class
* @subpackage editor
* @since 2.3.0
* @author Taiwen Jiang
* @version $Id: editor_registry.php 3496 2009-08-25 14:21:12Z dugris $
*/

return $config = array(
"name" => "tinymce",
"class" => "XoopsFormTinymce",
"file" => XOOPS_ROOT_PATH . "/class/xoopseditor/tinymce/formtinymce.php",
"title" => _XOOPS_EDITOR_TINYMCE,
"order" => 5,
"nohtml" => 0
);
?>


26
ghia
Re: v2.3.2 upgrade to 2.4.4
  • 2010/5/26 14:20

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Check once if the order numbers are different and try also to change nohtml for tinymce to 1 and then delete xoops_editorlist and let it recreate by updating the News module.

Other thing could be adding in the xoops_configoptions table a record with confop_name TinyMCE, confop_value tinymce and the same conf_id as Plain Text / textarea. But that will vanish after an update of the module.

27
Wonderfish1
Re: v2.3.2 upgrade to 2.4.4

That doesn't seem to be working - the xoops_editorlist doesn't seem to be recreating either


28
ghia
Re: v2.3.2 upgrade to 2.4.4
  • 2010/5/26 14:45

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


And if you recreate it from post 14?
Any errors with debug on?

29
Wonderfish1
Re: v2.3.2 upgrade to 2.4.4

I worked out how to recreate the editors list - to do that, I needed to start TinyMCE from the forums.

Debug is implying trustpath issues:

Warning: fopen(/home/trustpath/modules/protector/configs/configcached76743) [function.fopen]: failed to open stream:

Permission denied in file /home/trustpath/modules/protector/class/protector.php line 144

Warning: fwrite(): supplied argument is not a valid stream resource in file /home/trustpath/modules/protector/class/protector.php line 145

Warning: fclose(): supplied argument is not a valid stream resource in file /home/trustpath/modules/protector/class/protector.php line 146


(dir names are changed to protect the innocent)

30
Wonderfish1
Re: v2.3.2 upgrade to 2.4.4

When I start TinyMCE in Forums debug tells me:

Errors
Notice: Constant _MD_POSTEDON already defined in file /modules/news/language/english/main.php line 88

Notice: Undefined index: nohtml in file /class/xoopseditor/xoopseditor.php line 192

Notice: Constant _XOOPS_EDITOR_FCKEDITOR already defined in file /class/xoopseditor/fckeditor/language/english.php line 16

Notice: Constant _XOOPS_EDITOR_FCKEDITOR_FONTLIST already defined in file /class/xoopseditor/fckeditor/language/english.php line 17

Notice: Constant _XOOPS_EDITOR_FCKEDITOR_LANGUAGE already defined in file /class/xoopseditor/fckeditor/language/english.php line 18

Notice: Undefined index: nohtml in file /class/xoopseditor/xoopseditor.php line 192

Notice: Undefined index: nohtml in file /class/xoopseditor/xoopseditor.php line 192

Notice: Only variables should be assigned by reference in file /Frameworks/compat/class/xoopsform/formeditor.php line 31

Any hints in that?

Login

Who's Online

355 user(s) are online (213 user(s) are browsing Support Forums)


Members: 0


Guests: 355


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits