TinyMCE problem..

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
ellaissad
Forum Members
Forum Members
Posts: 48
Joined: Wed Jul 11, 2007 6:41 pm

TinyMCE problem..

Post 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!!  :-[ :-[ :-[
Last edited by ellaissad on Mon Jul 14, 2008 7:41 pm, edited 1 time in total.
ellaissad
Forum Members
Forum Members
Posts: 48
Joined: Wed Jul 11, 2007 6:41 pm

Re: TinyMCE problem..

Post 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!
Last edited by ellaissad on Mon Jul 14, 2008 8:50 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: TinyMCE problem..

Post 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...
rvdv
Forum Members
Forum Members
Posts: 62
Joined: Wed Oct 31, 2007 2:16 pm

Re: TinyMCE problem..

Post 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:

Code: Select all

include_once '../../include.php';
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 :).
l1nda
Forum Members
Forum Members
Posts: 18
Joined: Mon Jul 28, 2008 5:49 am

Re: TinyMCE problem..

Post 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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: TinyMCE problem..

Post 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...
lagaa

Re: TinyMCE problem..

Post 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?
Last edited by lagaa on Wed Aug 20, 2008 2:54 pm, edited 1 time in total.
rvdv
Forum Members
Forum Members
Posts: 62
Joined: Wed Oct 31, 2007 2:16 pm

Re: TinyMCE problem..

Post 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.
Last edited by rvdv on Thu Aug 21, 2008 9:40 am, edited 1 time in total.
Post Reply

Return to “Modules/Add-Ons”