Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Having trouble installing serendipity?
Post Reply
MrLeeh
Regular
Posts: 11
Joined: Sat May 03, 2008 3:55 pm

Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by MrLeeh »

Hello,
I updated from 1.4.0 to 1.4.1 and realized that I can' t use the WYSIWYG Editor anymore. There are no menus or buttons. I have already checked if the editor is enabled. Could someone help in this because I can' t find a way getting it working again.
Thanks
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by Don Chambers »

From the backend, if you check "personal settings", is the wysiwyg editor enabled? The wysiwyg editor did change in 1.4, so there could be more to your problem, but I thought this simple question was a good place to start. :wink:
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by garvinhicking »

Hi!

Also make sure to refresh your browser cache? It might still have the old WYSIWYG files cached.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MrLeeh
Regular
Posts: 11
Joined: Sat May 03, 2008 3:55 pm

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by MrLeeh »

Thx for the fast answer.
From the backend, if you check "personal settings", is the wysiwyg editor enabled?
Yes it is enabled. I double checked it all the time.
Also make sure to refresh your browser cache?
I refreshed my browser cache as well.
The wysiwyg editor did change in 1.4
Maybe there is a way to check if the new wysiwyg editor is installed successfully so I have a point to start my research.

Thx
MrLeeh
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by garvinhicking »

Hi!

You could use Firefox and open the Javascript error console and/or Firebug to check which files are loaded, and if you have any 40x errors.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MrLeeh
Regular
Posts: 11
Joined: Sat May 03, 2008 3:55 pm

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by MrLeeh »

You could use Firefox and open the Javascript error console and/or Firebug to check which files are loaded, and if you have any 40x errors.
I did it now and got the following warning messages:
1. unknown property 'behavior'. declaration ignored
source: /serendipity_admin.css

2. error processing the property 'filter' declaration ignored.
source: /htmlarea/Xinha.css

I guess it has something to do with the second error. I read Xinha is the new wysiwyg editor.

When I klick on the error link I get the following code:

Code: Select all

.htmlarea .toolbar .buttonDisabled img {
  filter: gray() alpha(opacity = 25);
  -moz-opacity: 0.25;
  opacity: 0.25;
}
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by Don Chambers »

Hmm.. just noticed you said this happened with the upgrade from 1.4.0 to 1.4.1 - the new editor (xhina) started with 1.4.0. Did it work ok with 1.4.0?

The firebug errors you are reporting are not fatal. I think Garvin's suggestion was for you to check for javascript errors, not css errors.
=Don=
MrLeeh
Regular
Posts: 11
Joined: Sat May 03, 2008 3:55 pm

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by MrLeeh »

Yes before the update it worked fine. Actually I don' t get any other error messages.
MrLeeh
Regular
Posts: 11
Joined: Sat May 03, 2008 3:55 pm

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by MrLeeh »

Sorry I made a mistake. Before 1.4.1 I had 1.3.1 so I guess Xinha was not installed before. Is there any reason why Xinha should not work?
I found this sourcecode for my editing window:

Code: Select all

<script type="text/javascript">
        _editor_url = "/mrleeh/htmlarea/";
        _editor_lang = "de";
        _editor_skin = "silva";
        var editorref = '';
</script>
<script type="text/javascript" src="htmlarea/XinhaCore.js"></script>
Can someone tell me where the path to the script is set in Serendipity. It seems to me that it should not be htmlarea/XinhaCore.js but /mrleeh/htmlarea/XinhaCore.js
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by garvinhicking »

Hi!

Are you able to use Firebug, open the "Net" tab and check the files listed there? It should contain XinhaCore.js, and you should check if it returns a 404 status.

Since serendipity_admin.php is called in the root of /mrleeh, the relative link htmlarea/xinhaCore.js should work.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MrLeeh
Regular
Posts: 11
Joined: Sat May 03, 2008 3:55 pm

Re: Upgrade to 1.4.1: Can' t use WYSIWYG Editor

Post by MrLeeh »

Thank you for the tip with Firebug. I found that some .js files couldn' t be loaded because I had no rights to read them. Everything is fine now. I changed the rights with chmod and now I can edit.
Thanks guys
Post Reply