Closed (works as designed)
Project:
TinyMCE
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2007 at 17:37 UTC
Updated:
30 Aug 2007 at 18:01 UTC
I believe I've gotten this latest version installed correctly, but now when going to a create content page it does not appear. The HTML has the link to the javascript and some inline scripts, but it just isn't there.
Comments
Comment #1
grollaz commentedHi, i have the same problem... what we can do?
Comment #2
fotanka commentedI have the same problem.
Comment #3
seanm commentedI also am not seeing the editor appear at all.
I have installed the tinymce module (5.1 1.x verison of the module) (downloaded, uncompressed to /modules/tinymce, placed engine into modules/tinymce/tinymce) assigned permissions, enabled the module, created a profile for the module.
I am using theme "429 blue" by autothemes.com on drupal 5.1 install, but I have also tried to change to other themes without success.
None of the enabled buttons appear at all, and the only evidence that tinymce editor is installed is the "disable rich text" option at the bottom.
Comment #4
virtualj commentedI have the same problem.
I have Drupal 5.1 and I followed all the installation steps but the editor doesn't show up.
When I look in the source code of the webpage there is TinyMCE java code
Comment #5
JPKCom commentedHi, I've got the same problem, too. In Firefox 1.5, 2.0 and MSIE 7.0 I get the javascript error message "Error: tinyMCE is not defined", so I think other scripts or one other script is provoking this error, because the TinyMCE code is shown correct in the source code of my page. I tried to deactivate all other modules that were inserting their own scripts, but it doesn' t helped. I still got the error "Error: tinyMCE is not defined".
On http://tinymce.moxiecode.com/ I saw a thread about this error associated with the use of other scripts. It also said that if you are using "scriptaculous" you should load TinyMCE-JS-File first in order to prevent this error. So it is possible that one of drupal core javascript files e.g. "jquery.js", "textarea.js", ... is causing this problem. I tried to find a way to influence the loading order of script insert with drupal_add_js, but I can' t find it.
Does anybody know a way to influence the sorting of files loaded with drupal_add_js in the html source code of a drupal page? I am very sure this is the solution, because I rebuild a static version of my page with all files even the drupal javascript files in it and when I set the TinyMCE on the first line of my html code, before all the other js-files, everthing was working and there was no longer an error message.
Example (before - with error message / TinyMCE not working):
Example (after - with no error message / TinyMCE working):
Comment #6
robotjox commentedme too, me too - help!!!
Comment #7
bacchus101 commentedSame issue here as well.
Comment #8
canadrian commentedDitto
Comment #9
frost commentedyes, i just installed this and although the html source shows the tinymce stuff, i get no sign on it.
i'm using firefox 2.0.0.2 on linux (edubuntu)
Comment #10
frost commentedok, i've sorted mine. a simple oversight in my case:
i was logged in as admin, and assumed that i had full admin rights, but i actually hadn't assigned the admin user to any roles. so despite giving some roles rights to use tinyMCE, admin couldn't use it until i put admin into one of those roles
Comment #11
ffunky commentedGuys, my problem was two-fold. First I created a new role w/ tinymce permissions and assigned my admin profile to it. But then I noticed that the editor was working in my admin section and not on the viewer side. My THEME did not support tinyMCE! I changed back to a default theme and it worked!
Comment #12
bdmp commentedI got the same problem.
Comment #13
ethang commentedAny ideas on this??? I have two different sites running the same version of Drupal (5.1) and same version of tinymce (5.x-1.x-dev) and using one browser (firefox 2) - one site runs tinymce perfectly and the other won't load tinymce.
The only difference between my two sites:
I've checked and rechecked permissions, disabled and enabled the module, tested all the standard themes, run update.php... still no tinymce. I can see lots of tinymce stuff in the page source, but nothing on the page. It appears that many others are having this problem: TinyMCE not shown in node editing pages, Can't see the TinyMCE, Tinymce can not load js on some themes. Any ideas?
Comment #14
ron collins commentedi was having the problem where the link to turn off the rich text editor would appear but there the editor itself did not show up. i discovered that there was no js in the source. i checked the theme and the line which should print the scripts variable was not there. i added it, and all is fine.
print $scripts(should appear near the print styles or print head)Comment #15
ron collins commentedsorry, that was in page.tpl.php
Comment #16
peterdeitz commentedI wasn't expecting the fix to be so easy. Adding the < print scripts > did the trick. Thanks for the suggestion.
Comment #17
kreynen commentedIt looks like most of these were theme issues NOT TinyMCE issues. PLEASE post the issue with the theme... or better yet, create a patch for it and harass the theme's designer into updating it. I'm getting WAY too many issues open from people using themes without the print $scripts.
#13 submitted by ethang, you need to install this patch to deal with some table renaming Moxie did. Instead of duplicating the table, they renamed the TinyMCE settings table. Evil.
Comment #18
ron collins commentedfollowing this up with theme creators is a good idea but there are a lot of themes out there. getting them all to change will take time.
mentioning the
print $scriptsissue in the tinymce docs will help most people who will look there first and save you finding this bug re-reported in the future.Comment #19
ygdrazil commentedI have a fresh install. And the error is as all else, but I use the defaul theme. I have tried both in IE 7 and FF2. The TinyMCE sees to be installed and all the rigths are in plase (When i filter users on access to TinyMCE it shows my user.
The page loads with errors in IE and shows an error in line 51:3, error: tinyMCE undefinert.
Code: 0
http:/mypage.com/node/add/page/
I have the
print $scriptsin my page.tpl.php page.Can anybody help here?
ygg
Comment #20
ygdrazil commentedI have a fresh install. And the error is as all else, but I use the default theme. I have tried both in IE 7 and FF2. The TinyMCE sees to be installed and all the rights are in plase (When i filter users on access to TinyMCE it shows my user.
The page loads with errors in IE and shows an error in line 51:3, error: tinyMCE undefinert.
Code: 0
http:/mypage.com/node/add/page/
I have the
print $scriptsin my page.tpl.php page.Can anybody help here?
ygg
Comment #21
Ravan commentedSo... short troubleshooting checklist of things that might cause this:
1. Check your theme(s) for
print $scriptsIf it is not there, place it on a new line just belowprint $styles2. Make sure you placed the /tinymce/... folders directly under /modules/ and not /sites/all/modules/ (which is the 5.1 standard folder for added modules) because it doesn't work there.
3. Retrace your roles/profiles setup (last one is easy to forget!):
- Have you set up at least one extra User Role next to the default ones in Administer>User management>Roles?
- Have you given at least one of those extra roles access to TinyMCE in Administer>User management>Access control?
- Did you create at least one profile in Administer>Site configuration>TinyMCE with at least one role assigned to it?
- And last but not least, have you assigned yourself (or any user) to a role that is assigned in any TinyMCE profile? If you haven't, go (as admin) to Administer>User management>Users and assign at least one user (maybe admin ;) ) to that TinyMCE-enabled role...
4. ... Anyone found other fixes?
Comment #22
grahamshepherd commentedI have tried all of that and it still doesn't work for me.
Comment #23
paulb0t commentedI was in the same boat, and pulling my hair out over it. The problem in my configuration was the inclusion of the TinyMCE compression scripts. Once I removed them, the editor worked as designed.
Comment #24
jasonbrice commentedHi,
I'm having the same or similar problem, using TinyMCE with the itheme theme.
I ahve gone through all the steps suggested by Ravan, and I'm stuck on a javascript error that is generated when the TinyMCE "enable rich-text" link is clicked:
Line: 2
Char: 80956
Error: 'delta_width' is null or not an object
Code: 0
URL: http://www.mydrupalsite.com/index.php?=node/add/story
Any ideas?
Thanks,
JB
Comment #25
aktxyz commentedOk...this is all in Firefox...
- new too drupal
- fresh 5.1 install
- default theme
- all seems to be working
- downloaded tinymce module (placed in drupal/modules/tinymce)
- downloaded tinymce 2.1.1.1 (placed in drupual/modules/tinymce/tinymce
- activated tinymce
- added a role
- gave role all tinymce permissions
- assigned role to my user
- tried to create a page
NO TINYMCE showed up
- disable rich-text link shows up
- view source shows lots tinymce stuff, including js file
BUT no TINYMCE
- going to bed, things were going so well
Comment #26
amygdala commentedme too, only I'm using the default garland theme, and it does have print $scripts; i have checked permissioins & user roles, and all that, and my role has access, and there is a tinnymce profile with my role allowed. the editor doesn't turn up whether or not it is enabled by default, and trying to start it up as disabled & enabling it on the page generates the above error.
php5, drupal 5.1, firefox2/ie7, tinymce 2.1.1.1 ($Revision: 1.90.4.23 $ $Date: 2007/05/06 01:41:35 $); tinymce compression turned off.
Comment #27
The-Rock commentedi do all steps properly.. but same problem.. editor dosnt apear on post page.. :(
page.tpl.php have print script code.. i check post page source code there is no script/code related to tinymce.. please help.. i'm using default theme..
Comment #28
gcassie commentedI was having the "'delta_width' is null or not an object" problem too, with a pretty plain Drupal install. Turns out some of the files in the tinymce themes were missed by the FTP upload. So you might want to check those folders for completeness on your server if you're having this problem.
Comment #29
Kazona commentedDouble check that all files have been uploaded. I just re-uploaded my files to be sure, and while I got plenty of overwrite prompts at first, at least 1000kb of the files did NOT prompt an overwrite notice, meaning they hadn't been uploaded yet.
Here's what I suggest:
On your ftp server, go to the modules/tinymce/ location. Upload all the files from the downloaded tinymce module to this location.
Go to the modules/tinymce/tinymce/ location. Upload all the files located in the official tinymce package to this location.
That fixed it for me. Like I said, turned out not all the required files had been properly uploaded. Soon as they were, the tinymce app showed up.
Comment #30
jwalling commentedI created a duplicate site as a backup site from a database dump. I installed tinymce on both sites in sites/all/modules/tinymce. I used admin user 1 to test both installations. Neither admin user account had roles assigned. The backup site worked. The main site did not work until I added roles to admin user 1. Quirky! Quirky!
Comment #31
fletchermse commentedI'm having the same problem. I have tried all of the recommended solutions, and tinymce fails to appear in Firefox or IE.
Comment #32
spasmody commentedI'm having the same problem, despite the complete reinstallation of tinymce. Please help me.
Comment #33
micmac88 commentedResolved.
After your install check that this file exist :
/modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js
In my case the error came from a bad install : I used the TynyMCE language package folder instead of the tool folder. http://tinymce.moxiecode.com/download.php
thank's Firebug
Comment #34
kvguser commentedthe issue explained in great detail and root cause here: http://drupal.org/node/171731