Page 1 of 1
Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Mon Jun 12, 2006 4:40 am
by csolana
I had this problem and ran around in circles trying to find the fix.
At the bottom of the screen a Javascript error is shown and says done, but with errors... The buttons wouldn't work, I couldn't type into the WYSIWYG editor, etc.
I figured I should put it up here for easy finding. There are two solutions. The first is just a work around, but not very useful.
1. Use Firefox instead of IE
The second is what you should really do:
2. Go into your configuration.php or configuration.php-dist you have to change the line that starts with: $mosConfig_live_site = (do a search in notepad or your fave text editor. Once you find it look at the url.
If it is $mosConfig_live_site = 'http://www.yoursite.com change it to: $mosConfig_live_site = 'http://yoursite.com
If it is $mosConfig_live_site = 'http://yoursite.com change it to: $mosConfig_live_site = 'http://www.yoursite.com
That should work. Good luck.
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Wed Jun 21, 2006 9:48 pm
by starbuck01
You made my day, I even missed Holland playing Argentina in the World Cup due to this #$@* problem!
I run Joomla using IIS 6.0 and turned it upside down, because I thought the problem was in there with Javascript, but I made the change you suggested (not expecting this would work) and it worked!
Thank You
Melvin
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Wed Jun 21, 2006 9:49 pm
by paulpa
Same here - great work finding this.
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Thu Jun 22, 2006 4:34 am
by csolana
I am really glad you found it helpful.
This is a great program - server configs can be so confusing sometimes. Glad it is working for you. Good luck!
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Sat Jul 08, 2006 4:14 pm
by cdx
Csolana, thank you very much!
I am having this problem for a very long time! Thanks for sharing...
Next time, I will google before I am trying to solve it by myself
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Sun Jul 09, 2006 8:38 pm
by csolana
I'm glad to hear this post has been beneficial. Just keep on remembering the www. sometimes it will disappear from your address bar and give you hell. If you have trouble with the wysiwyg look up at it... I had that issue recently and I am sure it is related to the issue I posted above. Once I figure out a permanent fix I will post it...
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Tue Jul 18, 2006 12:02 am
by mikefitz
I have been working on this !&%#$@ issue for days and have posted it on the forum with no replies. csolana, you are a genius!
I have noticed many other posts of the same problem while trying to find an answer. I am going to put a link to this thread on all of the related posts I can find so others will benefit.
Thanks again,
Mike
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Tue Jul 18, 2006 11:35 pm
by csolana
I am not at all a genius, I actually got the info from some genius on the forums after days and hours of searching through hundreds of posts. I thought since I had such a hard time, and knew others would have the same problem I should use a descriptive title and keywords that I knew you guys would be searching for.
If people would use better titles/keywords in their posts it would make the forums much more useful.
I am really glad it helped you. Hopefully in the new release they will make it so that it works with and without www. because it is just a plain pain in the butt for it to be so restricted. Good luck.
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Fri Jul 21, 2006 5:27 pm
by ktusznio
I ran into this problem as well and before I came across this thread, I found a solution to the same problem but for TinyMCE. I implemented that fix for fckeditor. It involves a few lines of code changes in mambots/editors/fckeditor.php. The edited fckeditor.php file is attached.
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Wed Aug 16, 2006 5:51 pm
by lauramoon
You have no idea how happy this makes me!!! I went so far as to find a new host, because I thought it was a permissions thing they wouldn't fix for me. When it happened on the new one, I was floored. With the patched fckeditor.php and the change in config file, it works wonderfully. I worked WAY too many hours trying to fix this thing.
You guys ROCK!!!
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Sun Nov 05, 2006 3:12 am
by robowerks
Great find here... Just as I thought, I can't be the first one to see this problem. I also checked out the demo for 1.0.0 and 1.5.0 and saw that things worked fine, thought it was odd to work for IE6.0 & 7.0 on the demo and mine had a problem. I downloaded FireFox and saw that worked, but really wanted to see if something could be done. A quick search here and BAM, all is good again.
Thanks,
robowerks
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Tue Apr 10, 2007 3:36 am
by Mari
Thanks for this posting. I spent two weeks tweaking with security settings and had almost given up when I found your posting.
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Sat Apr 14, 2007 3:33 am
by cpawannabe
csolana wrote:I had this problem and ran around in circles trying to find the fix.
At the bottom of the screen a Javascript error is shown and says done, but with errors... The buttons wouldn't work, I couldn't type into the WYSIWYG editor, etc.
I figured I should put it up here for easy finding. There are two solutions. The first is just a work around, but not very useful.
1. Use Firefox instead of IE
The second is what you should really do:
2. Go into your configuration.php or configuration.php-dist you have to change the line that starts with: $mosConfig_live_site = (do a search in notepad or your fave text editor. Once you find it look at the url.
If it is $mosConfig_live_site = 'http://www.yoursite.com change it to: $mosConfig_live_site = 'http://yoursite.com
If it is $mosConfig_live_site = 'http://yoursite.com change it to: $mosConfig_live_site = 'http://www.yoursite.com
That should work. Good luck.
Re: Fix for Javascript error in wysiwyg editor when trying to add / edit content
Posted: Sat Apr 14, 2007 3:34 am
by cpawannabe
I am not that computer literate. Would you be able to explain the fix to me in an easier way to understand