Can't see TinyMCE
Can't see TinyMCE
I just installed 1.1 and everything went great. My problem is the edition of pages, I see everything except for TinyMCE toolbar or something, therefore I can't do any WYSIWYG editing. However, I am able to see its options under Extensions > TinyMCE Basic. I even removed 2.2 and installed 2.2.1 and nothing...
Can someone tell me what am I missing?
Can someone tell me what am I missing?
Last edited by hexdj on Sun Jul 22, 2007 2:10 am, edited 1 time in total.
Re: Can't see TinyMCE
Look in permissions for any missing...
Go to Preferences and set tiny as your editor...
Go to Preferences and set tiny as your editor...
-
- Forum Members
- Posts: 31
- Joined: Tue Jun 05, 2007 5:36 pm
Re: Can't see TinyMCE
same thing here...
TinyMCE is my default editor, I've got the permissions set right, yet still: no TinyMCE
TinyMCE is my default editor, I've got the permissions set right, yet still: no TinyMCE
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: Can't see TinyMCE
Hi Guys,
I was running into the same problem with TinyMCE not loading.
Silmarilion and I fixed few problems and here is the latest SVN version you can try:
http://www.elijahlofgren.com/uploads/cm ... .2-svn.zip
(if you want XML version)
http://www.elijahlofgren.com/uploads/cm ... vn.xml.zip
Hope this helps,
Elijah
I was running into the same problem with TinyMCE not loading.
Silmarilion and I fixed few problems and here is the latest SVN version you can try:
http://www.elijahlofgren.com/uploads/cm ... .2-svn.zip
(if you want XML version)
http://www.elijahlofgren.com/uploads/cm ... vn.xml.zip
Hope this helps,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

Re: Can't see TinyMCE
Hi,
I can't connect to http://viewsvn.cmsmadesimple.org/viewsv ... madesimple
I have a message Not Found The requested URL /viewsvn/ was not found on this server.
.Silmarilion and I fixed few problems and here is the latest SVN version
I can't connect to http://viewsvn.cmsmadesimple.org/viewsv ... madesimple
I have a message Not Found The requested URL /viewsvn/ was not found on this server.
Jean-Claude Etiemble MyPageFr
Re: Can't see TinyMCE
hexdj, theredspecial,
You may experiment the same problem as a posting I made several days ago for which I didn't receive any reply.
http://forum.cmsmadesimple.org/index.ph ... 553.0.html
In my case, the issue seems to be a broken link generated by the tinyconfig.php file: it cannot find the include.php file where -- if I understand correctly -- the tinyMCE javascript is called.
Your browser may have an option to visualize all javascript and other errors generated. (In Firefox: Tools -> Error Console). If you could isolate the error -- if any -- and post it that would probably help the experts on this forum.
Elijah, thanks for your links. I installed your version, but it didn't fix my broken link error.
You may experiment the same problem as a posting I made several days ago for which I didn't receive any reply.
http://forum.cmsmadesimple.org/index.ph ... 553.0.html
In my case, the issue seems to be a broken link generated by the tinyconfig.php file: it cannot find the include.php file where -- if I understand correctly -- the tinyMCE javascript is called.
Your browser may have an option to visualize all javascript and other errors generated. (In Firefox: Tools -> Error Console). If you could isolate the error -- if any -- and post it that would probably help the experts on this forum.
Elijah, thanks for your links. I installed your version, but it didn't fix my broken link error.
Michel Godts eDesign
Web Graphic Design Services for Your Online Communication
Made with CMSms:
Concentus Women’s Chorus
Color Brighton Green
-
- Forum Members
- Posts: 31
- Joined: Tue Jun 05, 2007 5:36 pm
Re: Can't see TinyMCE
been working on this... found where the error occurs: line 33
Code: Select all
function CMSmsCustomCleanup(type, value) {
var start, end, previous_end, valuein, s;
switch (type) {
case "get_from_editor":
start = -1;
end = 0; previous_end = 0;
valuein = value;
value = "";
while( (start = valuein.indexOf( '{', end )) != -1 ) {
end = valuein.indexOf( '}', start )+1;
if( end == 0 ) break;
s = valuein.substring(start,end);
if( s == '{literal}' ) {
end = valuein.indexOf( '{/literal}', end )+1;
if( end == 0 ) break;
end = end + 9;
s = valuein.substring(start,end);
} else {
s = s.replace(/'/g, "'");
s = s.replace(/"/g, '"');
}
value = value.concat( valuein.substring( previous_end, start ) );
value = value.concat( s );
previous_end = end;
}
value = value.concat( valuein.substring( previous_end, valuein.length ) );
break;
}
return value;
}
//this is where the error occurs
tinyMCE.init({
mode : "exact",
elements : "content_en",
- Silmarillion
- Dev Team Member
- Posts: 483
- Joined: Sun Jan 02, 2005 9:10 pm
Re: Can't see TinyMCE
theredspecial:
In which browser? Seems to be some special JavaScript case...
sil.
In which browser? Seems to be some special JavaScript case...
sil.
-
- Forum Members
- Posts: 31
- Joined: Tue Jun 05, 2007 5:36 pm
Re: Can't see TinyMCE
i am using
- FF 2.0.0.6 (with NoScript, but server is set as to allowed), running @ WinXP Pro.
- Same holds for IE7(.0.5730.11. supposedly fully up2date), I'm not sure if the error occurs in the same line, because I cannot fin a error console in IE
- FF 2.0.0.6 (with NoScript, but server is set as to allowed), running @ WinXP Pro.
- Same holds for IE7(.0.5730.11. supposedly fully up2date), I'm not sure if the error occurs in the same line, because I cannot fin a error console in IE

Re: Can't see TinyMCE
I'm having this same problem. theredspecial may be beyond this already, but for me, both both firefox and opera say tinyconfig.php generated this error:
Does anybody have any leads/understading on this? I have no PHP skills, and am not even sure if TinyMCE is at fault. TinyMCE disappeared for me when I changed hosting providers (complete reinstall of CMSMS) so is there some element of Javascript that could be blocked by my webhost?
Code: Select all
<br />
<b>Warning</b>: main(//include.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/home/.shorty/username/hostname.com/modules/TinyMCE/tinyconfig.php</b> on line <b>5</b><br />
<br />
<b>Warning</b>: main(//include.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/home/.shorty/username/hostname.com/modules/TinyMCE/tinyconfig.php</b> on line <b>5</b><br />
<br />
<b>Fatal error</b>: main() [<a href='function.require'>function.require</a>]: Failed opening required '//include.php' (include_path='.:/usr/local/lib/php') in <b>/home/.shorty/username/hostname.com/modules/TinyMCE/tinyconfig.php</b> on line <b>5</b><br />
- Silmarillion
- Dev Team Member
- Posts: 483
- Joined: Sun Jan 02, 2005 9:10 pm
Re: Can't see TinyMCE
Hmm, this last dump of output actually made sense... think I may have fixed it today, due to some other issues... Feel free to test svn-version, which should be pretty stable, or wait till next release, which will be out quite soon.
sil.
sil.
-
- Forum Members
- Posts: 31
- Joined: Tue Jun 05, 2007 5:36 pm
Re: Can't see TinyMCE
Haven't tried the SVN. Hope to do so tonight - in the meanwhile:
I managed to get more details on the error:
Error: missing ; before statement
Source file: http://***/cms/modules/TinyMCE/tinyconfig.php
Rule: 2, Column: 9
Source code:
Parse error: syntax error, unexpected T_ECHO in ***/cms/modules/TinyMCE/tinyconfig.php on line 8
Doesn't seem hard to fix, but I can't find the missing ";"
I managed to get more details on the error:
Error: missing ; before statement
Source file: http://***/cms/modules/TinyMCE/tinyconfig.php
Rule: 2, Column: 9
Source code:
Parse error: syntax error, unexpected T_ECHO in ***/cms/modules/TinyMCE/tinyconfig.php on line 8
Doesn't seem hard to fix, but I can't find the missing ";"
Code: Select all
<?php // COMMENT line 1?
header("Content-type:text/javascript; charset=utf-8");
-$path = dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])));
+$path = dirname(dirname(dirname(__FILE__)));
+// Uncomment the 2 lines below to aid in debugging:
+ print_r($_SERVER);
+ echo $path;
require $path . DIRECTORY_SEPARATOR . 'include.php';
// Adapted from http://www.php.net/manual/en/function.session-id.php#54084
// session_id() returns an empty string if there is no current session, sotest if a session already exists before calling session_start() to prevent error notices:
if(session_id() == "")
{
session_start();
}
$modules =& $gCms->modules;
$tiny=$modules["TinyMCE"]['object'];
$basepath = $gCms->config["root_url"].'/modules/TinyMCE/tinymce/jscripts/tiny_mce/';
?>
function CMSmsCustomCleanup(type, value) {
var start, end, previous_end, valuein, s;
switch (type) {
case "get_from_editor":
start = -1;
end = 0; previous_end = 0;
valuein = value;
value = "";
while( (start = valuein.indexOf( '{', end )) != -1 ) {
end = valuein.indexOf( '}', start )+1;
if( end == 0 ) break;
s = valuein.substring(start,end);
if( s == '{literal}' ) {
end = valuein.indexOf( '{/literal}', end )+1;
if( end == 0 ) break;
end = end + 9;
s = valuein.substring(start,end);
} else {
s = s.replace(/'/g, "'");
s = s.replace(/"/g, '"');
}
value = value.concat( valuein.substring( previous_end, start ) );
value = value.concat( s );
previous_end = end;
}
value = value.concat( valuein.substring( previous_end, valuein.length ) );
break;
}
return value;
}
- Silmarillion
- Dev Team Member
- Posts: 483
- Joined: Sun Jan 02, 2005 9:10 pm
Re: Can't see TinyMCE
ok, the version you inserted here is sure not to work... how did you come across that? the +/-'es in the first few lines is not PHP thats svn complaining about differences...
Replace the start of the file with this:
Hope this works...
sil.
Replace the start of the file with this:
Code: Select all
<?php // COMMENT line 1?
header("Content-type:text/javascript; charset=utf-8");
$path = dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])));
require $path . DIRECTORY_SEPARATOR . 'include.php';
if(session_id() == "") {
session_start();
}
sil.
-
- Forum Members
- Posts: 31
- Joined: Tue Jun 05, 2007 5:36 pm
Re: Can't see TinyMCE
got it here: http://forum.cmsmadesimple.org/index.ph ... 553.0.html
inserted 'your' text instead of mine at the beginning, getting this error message
Fout: tinyMCE is not defined
File: ***/modules/TinyMCE/tinyconfig.php
Line: 33
inserted 'your' text instead of mine at the beginning, getting this error message
Fout: tinyMCE is not defined
File: ***/modules/TinyMCE/tinyconfig.php
Line: 33
Re: Can't see TinyMCE
This is what mine says...
modules;
$tiny=$modules["TinyMCE"]['object'];
$basepath = $gCms->config["root_url"].'/modules/TinyMCE/tinymce/jscripts/tiny_mce/';
?>
function CMSmsCustomCleanup(type, value) {
var start, end, previous_end, valuein, s;
switch (type) {
modules;
$tiny=$modules["TinyMCE"]['object'];
$basepath = $gCms->config["root_url"].'/modules/TinyMCE/tinymce/jscripts/tiny_mce/';
?>
function CMSmsCustomCleanup(type, value) {
var start, end, previous_end, valuein, s;
switch (type) {