Page 1 of 1
TinyMCE problem..
Posted: Mon Jul 14, 2008 7:09 pm
by ellaissad
Hi I have my site working properly and everything until the web host

moved me to another server.. now I am experiencing some issues with the TinyMCE.. I have tried re-installed CMSMS and TinyMCE 2.4.1 but still doesn't work.
When I click "Turn WYSIWYG on/OFF", it doesn't do anything(I don't see any buttons on top of the text area). in IE I see this error:
"Line: 540
Char: 1
Error: Object expected
Code:0
URL: mysitename/admin/moduleinterface.php?module=TinyMCE"
Another error:
"Line 164
Char 1
Object Expected
Code 0
URL: ...mysitename/admin/editcontent.php?content_id=51&page="
In Firefox, I don't see neither errors,, it just doesn't do anything when I check and uncheck that box..
Please help!!

Re: TinyMCE problem..
Posted: Mon Jul 14, 2008 8:27 pm
by ellaissad
This is SO BAD!!
I have created a seperate test site with fresh installed CMSMS...everything works. And then I imported the not working TinyMCE db to the test site...
Now the new test site's TinyMCE doesn't work. I tried to reinstall of the module, refresh and clear cache of the site and my browser, etc etc. When I click on TinyMCE under Extesions now it says \
"Fatal error: Call to a member function GetFriendlyName() on a non-object in /home/public_html/cmsmadesimple/admin/moduleinterface.php on line 120"
I even tried FCKeditor.. it didn't work neither!!!
Is it wrong with the database? ;((( please help!
Re: TinyMCE problem..
Posted: Tue Jul 15, 2008 8:30 am
by Dr.CSS
Obviously some thing is hosed in the DB, I would suspect that when you uploaded the first time a file went missing that's why it threw the error and it didn't create a table in the DB during install but the second one wasn't missing the file and was installed to the DB correctly...
Tiny is quite large so a missing file wouldn't be out of the question...
Try reuploading tiny and overwrite all files then uninstall it and reinstall, or you may want to just get the latest updated tiny from forge and upload/install it, you will still have to uninstall current one...
Re: TinyMCE problem..
Posted: Wed Jul 16, 2008 2:11 pm
by rvdv
Try the next thing:
In the TinyMCE directory there's a file named 'tinyconfig.php'. In this file you have a line:
Code: Select all
require $path . DIRECTORY_SEPARATOR . 'include.php';
Replace this line with:
I have found this solution somewhere on the forum but lost the topic so no credits for me... Let me know if this worked for you

.
Re: TinyMCE problem..
Posted: Wed Jul 30, 2008 3:25 am
by l1nda
I'm not seeing the WYSIWYG editor either when i install TinyMCE 2.4.2 (i have CMSms 1.2.4 installed). I have tried both suggestions below and it still doesn't work.
Can anyone else shed light on this?
BTW FCkeditor WYSIWYG editor does appear for me but doesn't link to styles in my stylesheet so I can use it. Also it doesn't have CMSms internal link function.
Thanks!
Re: TinyMCE problem..
Posted: Wed Jul 30, 2008 9:21 am
by Dr.CSS
Tiny may need the site cache cleared a few times before it shows, I've even had to FTP to tmp and remove all files NOT FOLDERS then in template_c remove all files and still clear the cache after, site and browser, had to go back and forth doing this routine a few times then it showed...
Re: TinyMCE problem..
Posted: Wed Aug 20, 2008 2:50 pm
by lagaa
I have the same problem since i installed CMSMS in the first place. uninstalled lots of diferent versions of TinyMCE but no success, as with any other WYSIWYG editors..
I tried what
RVDV said and got another error:
Line: 207
Char: 1
Error: Object expected
Code: 0
URL:
http://myurl/admin/editcontent.php?content_id=55&page=
Should I just try to re-install the whole CMSMS ? or any other suggestions?
Re: TinyMCE problem..
Posted: Thu Aug 21, 2008 9:14 am
by rvdv
What CMS version are u using? Anyway...
In the config file there is a line like this:
Code: Select all
$path = dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])));
Comment this line so you get the following:
Code: Select all
//$path = dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])));
That worked for me after i changed the include line.