I have been trying to load up the module tinymce but i keep getting this message Could not find the TinyMCE engine installed at modules/tinymce/tinymce/

I have the folders as such in the module folder of my web site as follows

tinymce (folder)
then i have the folders docs; examples; jscripts; plugins; po; themes

I was thinking about changing the jspripts to the name tinymce but need some help

thanks

Comments

gmasky’s picture

You need to download and install the tinymce engine http://tinymce.moxiecode.com/download.php

in modules/tinymce/

gmasky’s picture

You need to download and install the tinymce engine http://tinymce.moxiecode.com/download.php

in modules/tinymce/

tourbike’s picture

I have downloaded this file but still no joy and I have tried using various upload methods but still the same.

is the engine a different file???

gmasky’s picture

Is a directory. After downloading->extract and you will have \tinymce_2_1_1_1\tinymce

Copy->paste the folder to sites\all\modules\tinymce or whever you have placed tinyce

The patch of the engine should be sites\all\modules\tinymce\tinymce

The first tinymce directory is the drupal module and the second is the engine

HTH

tourbike’s picture

yeah I only have the files in one of the folders

sites/all/modules/tinymce/tinymce and everything is in there, and nothing in the first tinymce folder. so is that where i have been going wrong?

I will update the web server tomorrow

oh one last question do i need to edit the theme so that tinymce works or does drupal automatically sort this out so you can use tinymce?

tourbike’s picture

I have installed and set up the profile for tinymce but the browers is now say the following message
tinyMCE is not defined
[Break on this error] tinyMCE.init({

how do I correct this

thanks for any feedback

davemybes’s picture

I think you still have the wrong folder structure. The TinyMCE Drupal module should have its files in modules/tinymce. Then you create a new folder called tinymce in the first tinymce folder. Now extract the tinymce program itself (downloaded separately) into that second tinymce folder.

So, you should have the following file structure:

modules/tinymce/
  CHANGELOG.TXT
  INSTALL.txt
  LICENSE.txt
  plugin_reg.php
  README.TXT
  tinymce.info
  tinymce.install
  tinymce.module
  - plugins <dir>
  - po <dir>
  - themes <dir>
  - tinymce <dir>
      - docs <dir>
      - examples <dir>
      - jscripts <dir>
      changelog
      readme

You can also read this article about setting up TinyMCE: http://mybesinformatik.com/tinymce-and-drupal5

______________________________________________________________________________________________________
mybesinformatik.com - Drupal website development

______________________________________________________________________________________________________

tourbike’s picture

I followed the steps again and followed the blog article about image_assit

but still comes up with the follow errors in firebug

missing ( before condition
[Break on this error] focusElm)this.selection.selectNode(focusElm,false)}this.getDoc().execCommand(com...
tiny_mce.js (line 2)
tinyMCE is not defined
[Break on this error] tinyMCE.init({
www.tourbike.net (line 62)
tinyMCE is not defined
[Break on this error] img_assist.innerHTML = tinyMCE.getEditorId('edit-body') == null ? '' : img...

do I need to update my drupal??

sorry for being thick but I would really like to use this feature

thanks

davemybes’s picture

What version of Drupal and of the TinyMCE module are you currently running?
______________________________________________________________________________________________________
mybesinformatik.com - Drupal website development

______________________________________________________________________________________________________

tourbike’s picture

I am using drupal 5.1

tinymce module 5.x-1.9
tinymce_2_1_1_1

davemybes’s picture

It all looks good to me, so I can't really see where the problem is. Any chance you can post the directory structure of the whole tinymce module folder, including subdirectories? Or maybe you can let me in via FTP to verify that all the required files are there? - contact me via my contact page for that if you like.

Before you do any of that, though, check out this link to see what my directory for Tinymce looks like, and compare it to yours: http://mybesinformatik.com/files/tinymce-dir.txt.

______________________________________________________________________________________________________
mybesinformatik.com - Drupal website development

______________________________________________________________________________________________________

tourbike’s picture

it works like a dream, cheers for the help

thanks again

Drugerry’s picture

Your problem has been solved, but guys like me can't see the solution.
Can you rewind one step so that I can get it to work!

ianr’s picture

me too, as I had the same types of problems with tinymce, and in the end just gave up... The install instructions need to be SERIOUSLY modified!

Ian

davemybes’s picture

Most likely, he had put some of the files in the wrong directories. Check my list in my previous post to see if you file structure is the same. (the file is there now).
______________________________________________________________________________________________________
mybesinformatik.com - Drupal website development

______________________________________________________________________________________________________

jaydubb181’s picture

Fairly simple...the permissions were not right on the tinymce/tinymce directory. I changed the permissions to 777 by by sshing into my server and chmod -R 777 tinymce and it worked.

tanc’s picture

Just wanted to confirm that this also fixed the issue for me. The TinyMCE download expanded with 700 permissions which wasn't suitable on my test platform. A 'chmod -R 775 sites/all/libraries/tinymce' sorted it out

dar-wan’s picture

its showing

"Call to undefined function tinymce_profile_load() in /home/nagorik1/public_html/modules/tinymce/tinymce.admin.inc on line 440"

how may i get rid of this?!

can any body help?!

sere02’s picture

Thank you toubike

This was very helpful, i followed your instructions and now it's working like a charm.