Page 1 of 1

Toolbar in 'New Entry' (or 'Edit Entry') not working

Posted: Thu Jun 29, 2006 4:12 am
by thadigitalkid
This is probably a silly question but...I have version 1.0-beta3 of serendipity installed and I am having a problem with creating entries (*not* using WYSIWYG). With the exception of the "Media" icon, when I click on one the icons in the toolbar above the entry body window I get an error message in the lower left-hand corner of IE (ver 6.0) that says "Error on Page" (or in Firefox nothing happens).

What can I do to correct this problem?[/img]

Re: Toolbar in 'New Entry' (or 'Edit Entry') not working

Posted: Thu Jun 29, 2006 10:39 am
by garvinhicking
Hi!

Do you have javascript enabled? IE sadly does often not properly report errors. Could you check in Firefox unter "Tools > Error Console" if you see Javascript errors?

And on which non-WYSIWYG button do you click? On the "B" one or so? Those need selected text before you click on it, as they format/wrap your selection...

HTH,
Garvin

Posted: Thu Jun 29, 2006 5:05 pm
by thadigitalkid
Javascript is enabled and I am selecting text before clicking on "B" or "I" for example. In Firefox I see several error messages including:

Error: Unknown property 'behavior'. Declaration dropped.
Source File: http://www.thadigitalkid.net/serendipit ... dipity.css
Line: 2

Error: Unknown property 'behavior'. Declaration dropped.
Source File: http://www.thadigitalkid.net/serendipit ... _admin.css
Line: 2

Error: Expected ':' but found 'italic'. Declaration dropped.
Source File: http://www.thadigitalkid.net/serendipit ... ction]=new
Line: 0

Error: wrapSelection is not defined
Source File: http://www.thadigitalkid.net/serendipit ... ction]=new
Line: 1

Error: wrapSelectionWithLink is not defined
Source File: http://www.thadigitalkid.net/serendipit ... _admin.php?
Line: 1

Error: wrapInsImage is not defined
Source File: http://www.thadigitalkid.net/serendipit ... _admin.php?
Line: 1

Error: Unknown property 'scrollbar-face-color'. Declaration dropped.
Source File: http://www.s9y.org/forums/templates/sub ... Silver.css
Line: 11

Error: Unknown property 'scrollbar-highlight-color'. Declaration dropped.
Source File: http://www.s9y.org/forums/templates/sub ... Silver.css
Line: 12

Error: Unknown property 'scrollbar-shadow-color'. Declaration dropped.
Source File: http://www.s9y.org/forums/templates/sub ... Silver.css
Line: 13

Error: Unknown property 'scrollbar-3dlight-color'. Declaration dropped.
Source File: http://www.s9y.org/forums/templates/sub ... Silver.css
Line: 14

Error: Unknown property 'scrollbar-arrow-color'. Declaration dropped.
Source File: http://www.s9y.org/forums/templates/sub ... Silver.css
Line: 15

Error: Unknown property 'scrollbar-track-color'. Declaration dropped.
Source File: http://www.s9y.org/forums/templates/sub ... Silver.css
Line: 16

Error: Unknown property 'scrollbar-darkshadow-color'. Declaration dropped.
Source File: http://www.s9y.org/forums/templates/sub ... Silver.css
Line: 17

Error: Unrecognized at-rule or error parsing at-rule '@import'.
Source File: http://www.s9y.org/forums/templates/sub ... Silver.css
Line: 274

Posted: Thu Jun 29, 2006 5:10 pm
by garvinhicking
Hi!

The "declaration dropped" messages are not important. But those pointoing at "wrapSelectioN" are.

Check if the "serendipity_editor.js" file is loaded/reference - if you view your HTML sourcecode, there must be a <script src=...> reference on the admin panel. Try to open that URL in your browser - if that file would not exist, the toolbar could not be clicked.

Maybe you didn't upload that file to your installation?

Best regards,
Garvin

Posted: Fri Jun 30, 2006 12:07 am
by thadigitalkid
The serendipity_editor.js file appeared in the directory when I opened my FTP client, yet when I tried to open thay URL in my browser I got a 403 error message. After deleting the file and uploading the file again the toolbar works fine.

Thanks alot!

Posted: Fri Jun 30, 2006 8:07 am
by garvinhicking
Hi!

Ah, great to know. Have fun!

Best regards,
Garvin