TinyMCE is not showing

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

TinyMCE is not showing

Post by TJINAK »

Hi everyone,

Just did a clean install of CMS Made Simple 1.1.3.1 "Apia" but I have no tinymce toolbar.  So I have no editor.

Anyone else having this problem?

Installed on Dreamhost.com.

TJ
cyberman

Re: TinyMCE is not showing

Post by cyberman »

Is TinyMCE module available and installed?

Do you have choose TinyMCE as your WYSIWYG (in User settings)?
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

Re: TinyMCE is not showing

Post by TJINAK »

Its is installed, both default and the advanced, and I have reviewed the user settings - trying both versions w/no joy.

I then uninstalled both tinymce and installed the other editor and it works w/no problem.

Thanks,

TJ
hcamelion

Re: TinyMCE is not showing

Post by hcamelion »

Same thing here with a fresh install.  Any updates on this issue?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: TinyMCE is not showing

Post by tsw »

any errors (also javascript errors)
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

Re: TinyMCE is not showing

Post by TJINAK »

No visible errors on my end.  I installed on Dreamhost server.

I could install on my local dev server and see if I have the same problem.  I'll post back when I'm done.

TJ
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

Re: TinyMCE is not showing

Post by TJINAK »

Clean install on my local dev server works correctly.

I'm running:

Debian Linux  2.4.27-2-386
PHP 4.4.4-9+lenny1 (cli) (built: May 24 2007 20:17:30)
MySQL 5.0.32-Debian_7etch1-log
apache 1.1.3

TJ
skypanther

Re: TinyMCE is not showing

Post by skypanther »

Not sure if our problems are related, but I'm also having TinyMCE problems (and FCKEditor problems, but those are probably not related). I started with TinyMCE, had troubles, and then tried TinyMCEAdv. I sorta solved the problem in that module and you could probably retro-fit it to the TinyMCE module.

In modules/TinyMCEAdv/tinyconfig.php  and modules/TinyMCEAdv/tinyconfig_gz.php the line that reads:

Code: Select all

require $path . DIRECTORY_SEPARATOR . 'include.php'; 
was giving me PHP errors. It seems the path is being resolved incorrectly. I changed it to the hard-coded value:

Code: Select all

include_once '../../include.php';
and I no longer got the PHP warnings. (you could stick with require, or use require_once in place of include_once also). At this point, I still wasn't getting a WYSIWYG editor. I went into the TinyMCEAdv settings page (under Extensions menu) and turned on the option to show the "hide wysiwyg editor checkbox". Then, load a page and *uncheck* the "show wysiwyg" checkbox and the editor would appear. That's backward from what that checkbox would do. But, at least I could get something.

This is on a Windows/IIS web server. I've had no problems with prior versions of CMS-MS and TinyMCE on Linux hosts. But, I have never gotten TinyMCE to work on this particular web site. FCKEditor works, but not the filebrowser...it shows the contents of something other than the uploads directory.

I'm still digging for the full answer to my trouble because I need the file browser. Apparently that's not an included plug-in with the TinyMCEAdv module.

I hope this helps you.
Tim
diggnified

Re: TinyMCE is not showing

Post by diggnified »

Having the same issue. I am hosting with easycgi.com. Running the latest build of CMS Made Simple. Easycgi running PHP 4.4.4. I have tried both version of TinyMCE Basic and Advanced. And I have tried both IE7 and Firefox. IE7 throws an error right away. Firefox shows the turn on/off under the text area but it does nothing at all. I can install FCKEditor and it works but it is very slow to load. I have never used it before so I am not sure if this is normal???. Everything else loads very fast except FCKEditor. I even went as far as temporarily setting the modules/Tiny directory to Full Control and changing it back to write and still nothing.

Do not have any answers but I thought I would at least let other people know what the host I am using in the event you have the same problem with the same host. Would love an answer on this issue.

Take care all!
Diggnified
hcamelion

Re: TinyMCE is not showing

Post by hcamelion »

Ok I figured it out...
this is the error that helped me find the issue:

Code: Select all

[Thu Oct  4 02:27:28 2007] [error] File does not exist: /home/emurgent/public_html/dev/modules/TinyMCE/tinymce/jscripts/tiny_mce/themes/advanced/css/editor_ui.css
The problem seems to be that there is a folder (actually two) missing after the install of the module.

You need to download tinymce and upload the missing folders to your tinymce folder in the modules directory.

The missing folders are:
/modules/TinyMCE/tinymce/jscripts/tiny_mce/themes
/modules/TinyMCE/tinymce/jscripts/tiny_mce/utils


http://tinymce.moxiecode.com/download.php
hcamelion

Re: [SOLVED] TiinyMCE is not showing

Post by hcamelion »

Is this solved?
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

Re: TinyMCE is not showing

Post by TJINAK »

This is not resolved on my end.

I've done a little more work and this is what I have.

1. I upgraded to the latest release of cmsms being 1.1.4.1.

When I went to my module manager I found an error stating that "Php safe mode" may be on.  Did a little reading and found out from the php help files that many shared web hosts use this as a saftey mechanism.

So, I have a trouble ticket in with dreamhost.com  because I'm not sure how turn this off ...

Then I found this on the dreamhost support wiki which may have to do with the TinyMCE install but only a developer could answer that...
After many hours of frustration with the pear module XML_RSS (which depends on XML_Parser), I finally figured out that Dreamhost turns off allow_url_fopen for good security reasons.

They have, thankfully, allowed libcurl connections. Alas, XML_Parser (which is where the http open was failing) doesn't fallback to libcurl, so I had to hack it.

....   http://wiki.dreamhost.com/Using_XML_Par ... _url_fopen
So, I'm still working the issue but its not high priority as the FCKeditorX works great!

I'll post back if I resolve the issue.

TJ
neelesh
Forum Members
Forum Members
Posts: 17
Joined: Mon Aug 13, 2007 2:30 pm

Re: TinyMCE is not showing

Post by neelesh »

Hi,

Can you please go thru the ftp logs on your server?

This is a very common issue with the editor.

Solution: Change the perms on the TinyMCE folder in Modules to 755 and it should be all set.

Hope this helps :).

Thanks,
Neelesh
boonier
Forum Members
Forum Members
Posts: 43
Joined: Mon Feb 19, 2007 11:39 pm

Re: TinyMCE is not showing

Post by boonier »

Hi Neelesh,

Thanks for this tip. I did this and it showed up perfect.

Now, however, when I try to browse for say an image i get an error alert:

"Callback function: TinyMCE_SimpleBrowserPlugin_browse could not be found"

Any Ideas?

thanks
neelesh
Forum Members
Forum Members
Posts: 17
Joined: Mon Aug 13, 2007 2:30 pm

Re: TinyMCE is not showing

Post by neelesh »

Hello,

This basically happens because of two reasons:

1) There is a function called as printFormData in TineMCE.js where it gets the parameners for hegith, width and ration. If any of these parameters are not supplied it gives the error you are experiancing.

2) It might be missing out on some of the files or some files in the directory might not be set to the correct perms.

Resolution:

1) Check the file error_log in modules/TinyMCE for any traces of the errors.
2) Make sure all the .js extention files are with perms 777 and all folders should be 755. Compalsarily modules/TinyMCE/tinymce/jscripts/tiny_mce/ tiny_mce.js and tiny_mce_popup.js.

All the files in the root folder need to be 777 except for tinyconfig.php, it needs to be in perms 755.
All the files in folders templates, lang need to be 755.

To sum up. Make sure all the files 777 except tinyconfig.php (This needs to be 755) in the root directory, and make sure the files tiny_mce.js and tiny_mce_popup.js in modules/TinyMCE/tinymce/jscripts/tiny_mce/ are 777.

I know this is slightly complex, however hopefully it should give the desired results :).

Thanks,
Neelesh
Locked

Return to “[locked] Installation, Setup and Upgrade”