1
ozboof
TinyMCE debug error
  • 2008/7/4 13:32

  • ozboof

  • Friend of XOOPS

  • Posts: 67

  • Since: 2003/10/28


Trying to install TinyMCE in a test site with 2.0.18.1 and im getting this error below when trying to edit new article there no editor showing on the page just wondering if there is a fix or something i may have over looked .

Quote:
Warning: fgets(): supplied argument is not a valid stream resource in file /modules/tinyeditor/include/initcode.php line 227Warning:

fclose(): supplied argument is not a valid stream resource in file /modules/tinyeditor/include/initcode.php line 231

2
ghia
Re: TinyMCE debug error
  • 2008/7/10 23:53

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You probably have a problem with your settings for the CSS-file. You are using the TinyEditor module?

For TinyMCE you need to place xoops_editor.css in every modules/xxxxx map of the modules where the tinymce editor is to be used.

3
frankblack
Re: TinyMCE debug error
  • 2008/7/11 7:48

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


tinyeditor has a fallback for using the theme's style.css when a special CSS file for the editor is not given in the preferences. Unfortunately under some circumstances this is not working reliable. Visit preferences for tinyeditor and make an entry in editor css like this (just an example):
/themes/default/style.css

or better: write a special editor css for tinyeditor.

HTH

Login

Who's Online

170 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

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

Latest GitHub Commits