Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No WYSIWYG Editor available
#1
I want to use the WYSIWYG Editor (as described in http://get-simple.info/wiki/how_to:wysiwyg_editor ) but when I want to edit a page it doesn't appear.
It is enabled in the settings and all files are in my GetSimple installation/admin/template/js/ckeditor/ ,

Furthermore the there is no problem with the Editor at
http://www.opensourcecms.com/demo/2/269/GetSimple+CMS

So I don't know what is going wrong.
Reply
#2
Check for javascript errors using the console in whatever browser you are using.

What language are you using ?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
I use the default language (en_US). I also installed de_de, but I didn't use it so far.
Reply
#4
I sent the page to

http://validator.w3.org/check#

with the following result:

Validation Output: 6 Errors
Line 37, Column 17: Element style not allowed as child of element noscript in this context. (Suppressing further errors from this subtree.)
<noscript><style>#metadata_window {display:block !important} </style></noscript>
Contexts in which element style may be used:
If the scoped attribute is absent: where metadata content is expected.
If the scoped attribute is absent: in a noscript element that is a child of a head element.
If the scoped attribute is present: where flow content is expected, but before any other flow content other than inter-element whitespace, and not as the child of an element whose content model is transparent.
Content model for element noscript:
When scripting is disabled, in a head element: in any order, zero or more link elements, zero or more style elements, and zero or more meta elements.
When scripting is disabled, not in a head element: transparent, but there must be no noscript element descendants.
Otherwise: text that conforms to the requirements given in the prose.
Line 97, Column 262: Stray end tag span.
…option><option value="testyxx" ><span>&nbsp;&nbsp;&ndash;&nbsp;&nbsp;&nbsp;</…

✉
Line 97, Column 306: Stray end tag span.
…;&nbsp;&ndash;&nbsp;&nbsp;&nbsp;</span>testyxx</option><option value="testsei…

✉
Line 106, Column 226: Bad value facybox for attribute rel on element a: Keyword facybox is not registered.
…n.php" class="viewlink" rel="facybox" ><img src="template/images/search.png" i…
Syntax of link type valid for <a> and <area>:
A whitespace-separated list of link types listed as allowed on <a> and <area> in the HTML specification or listed as an allowed on <a> and <area> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.
Line 109, Column 53: Duplicate ID tick.
<img src="template/images/tick.png" id="tick" />

✉
Line 106, Column 291: The first occurrence of ID tick was here.
…facybox" ><img src="template/images/search.png" id="tick" alt="Vorschau" /></a>

✉
Line 373, Column 492: Bad value facybox_s for attribute rel on element a: Keyword facybox_s is not registered.
…hare.php?term=Teilen" rel="facybox_s" >Teilen</a></p> <p>&copy; 2009-20…
Syntax of link type valid for <a> and <area>:
A whitespace-separated list of link types listed as allowed on <a> and <area> in the HTML specification or listed as an allowed on <a> and <area> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.

I hope this helps!
Reply
#5
As I wrote I have no problems with the editor at

http://www.opensourcecms.com/demo/2/269/GetSimple+CMS

I also sent this page to the evaluator, which also shows errors:

Validation Output: 4 Errors
Line 37, Column 17: Element style not allowed as child of element noscript in this context. (Suppressing further errors from this subtree.)
<noscript><style>#metadata_window {display:block !important} </style></noscript>
Contexts in which element style may be used:
If the scoped attribute is absent: where metadata content is expected.
If the scoped attribute is absent: in a noscript element that is a child of a head element.
If the scoped attribute is present: where flow content is expected, but before any other flow content other than inter-element whitespace, and not as the child of an element whose content model is transparent.
Content model for element noscript:
When scripting is disabled, in a head element: in any order, zero or more link elements, zero or more style elements, and zero or more meta elements.
When scripting is disabled, not in a head element: transparent, but there must be no noscript element descendants.
Otherwise: text that conforms to the requirements given in the prose.
Line 106, Column 223: Bad value facybox for attribute rel on element a: Keyword facybox is not registered.
…n.php" class="viewlink" rel="facybox" ><img src="template/images/search.png" i…
Syntax of link type valid for <a> and <area>:
A whitespace-separated list of link types listed as allowed on <a> and <area> in the HTML specification or listed as an allowed on <a> and <area> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.
Line 109, Column 53: Duplicate ID tick.
<img src="template/images/tick.png" id="tick" />

✉
Line 106, Column 284: The first occurrence of ID tick was here.
…el="facybox" ><img src="template/images/search.png" id="tick" alt="View" /></a>

✉
Line 372, Column 479: Bad value facybox_s for attribute rel on element a: Keyword facybox_s is not registered.
…share.php?term=Share" rel="facybox_s" >Share</a></p> <p>&copy; 2009-201…
Syntax of link type valid for <a> and <area>:
A whitespace-separated list of link types listed as allowed on <a> and <area> in the HTML specification or listed as an allowed on <a> and <area> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.
Reply
#6
When you edit a page, do you get the plaintext (non-wysiwyg) editor, or no editor at all?
Reply
#7
Carlos Wrote:When you edit a page, do you get the plaintext (non-wysiwyg) editor, or no editor at all?

I see the Edit Page with a field for the title and a field where I can enter HTML code.
And the buttons for Page 0ptions and View.
But no buttons for formatting etc.
Reply
#8
Any plugins installed?

If you enable debug mode, do you get any warnings or notices?

[edit] Also, have you tested with different browsers?
Reply
#9
validation is worthless to us.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#10
Carlos Wrote:Any plugins installed?

If you enable debug mode, do you get any warnings or notices?

[edit] Also, have you tested with different browsers?

I tested the following browsers with

http://www.opensourcecms.com/demo/2/269/GetSimple+CMS
(Admin Username: admin
Admin Password: demo123 )
MSIE, Coolnovo/Crome, and Firefox work
Opera doesn't, although Javascript is enabled and the bottom toolbar of opensourcecms.com works, which probably also runs on javascript.
Reply
#11
Carlos Wrote:Any plugins installed?

If you enable debug mode, do you get any warnings or notices?

[edit] Also, have you tested with different browsers?

Now I tested http://eneresearch.de/getsimple/admin/edit.php in
MSIE, Firefox, Chrome and Opera, all have JS enabled: In none of them it works.
Reply
#12
Carlos Wrote:Any plugins installed?

All plugins deactivated, same problem.
Reply
#13
Carlos Wrote:Any plugins installed?

If you enable debug mode, do you get any warnings or notices?

Now I activated debug mode.

Now below the login fields the following messages appear:


© 2009-
Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /kunden/370832_12161/webseiten/getsimple/admin/template/footer.php on line 17

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /kunden/370832_12161/webseiten/getsimple/admin/template/footer.php on line 17
2012 GetSimple CMS – Version 3.1.2

After the login there is an entire page with the following messages:


Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /kunden/370832_12161/webseiten/getsimple/admin/inc/logging.class.php on line 49

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /kunden/370832_12161/webseiten/getsimple/admin/inc/logging.class.php on line 49

Strict Standards: setcookie() [function.setcookie]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /kunden/370832_12161/webseiten/getsimple/admin/inc/cookie_functions.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /kunden/370832_12161/webseiten/getsimple/admin/inc/logging.class.php:49) in /kunden/370832_12161/webseiten/getsimple/admin/inc/cookie_functions.php on line 23

Strict Standards: setcookie() [function.setcookie]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /kunden/370832_12161/webseiten/getsimple/admin/inc/cookie_functions.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /kunden/370832_12161/webseiten/getsimple/admin/inc/logging.class.php:49) in /kunden/370832_12161/webseiten/getsimple/admin/inc/cookie_functions.php on line 24

Strict Standards: setcookie() [function.setcookie]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /kunden/370832_12161/webseiten/getsimple/admin/inc/login_functions.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /kunden/370832_12161/webseiten/getsimple/admin/inc/logging.class.php:49) in /kunden/370832_12161/webseiten/getsimple/admin/inc/login_functions.php on line 71
Error: Headers already sent in /kunden/370832_12161/webseiten/getsimple/admin/inc/logging.class.php on line 49 If your browser does not redirect you, click here

Clicking on "here" I get back to the login page, so in fact I cannot proceed.
Reply
#14
Go to: Admin -> Support -> Health check

Is there anything not in green?
PHP version?
Reply
#15
Code:
Warning: Cannot modify header information - headers already sent by (output started at /kunden/370832_12161/webseiten/getsimple/admin/inc/logging.class.php:49) in

Thats strange, that class doesn't output anything, So I wonder why it says headers already sent,
Neither does cookie_functions:24

I have those timezone infos but they never give me header warnings.
very strange

Also the logging class is only loaded when logging in ill try to reproduce, but check your permissions on
data/other/logs and failedlogins.log

Also what php version ?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#16
shawn_a Wrote:
Code:
Warning: Cannot modify header information - headers already sent by (output started at /kunden/370832_12161/webseiten/getsimple/admin/inc/logging.class.php:49) in

...

Also what php version ?

php 5.2.13

The site is hosted at
http://www.df.eu/int/webhosting/my-home-...ktdetails/
which is said to be one of the best.

I hope this helps
Reply
#17
shawn_a Wrote:
Code:
Warning: Cannot modify header information - headers already sent by (output started at /kunden/370832_12161/webseiten/getsimple/admin/inc/logging.class.php:49) in

...
Also the logging class is only loaded when logging in ill try to reproduce, but check your permissions on
data/other/logs and failedlogins.log

Also what php version ?

I have attached errorlog.txt

The content of failedlogins.log is:

<?xml version="1.0" ?>
- <channel>
- <entry>
<date>Wed, 19 Sep 2012 12:32:28 +0200</date>
- <IP_Address>
- <![CDATA[ 195.37.142.72
]]>
</IP_Address>
- <Username>
- <![CDATA[ ichimix0r
]]>
</Username>
- <Reason>
- <![CDATA[ Invalid Password
]]>
</Reason>
</entry>
- <entry>
<date>Thu, 20 Sep 2012 09:02:11 +0200</date>
- <IP_Address>
- <![CDATA[ 85.178.128.68
]]>
</IP_Address>
- <Username>
- <![CDATA[ admin
]]>
</Username>
- <Reason>
- <![CDATA[ Invalid User
]]>
</Reason>
</entry>
</channel>
Reply
#18
Carlos Wrote:Go to: Admin -> Support -> Health check

Is there anything not in green?
PHP version?

Yep, since the beginning there is a yellow warning:

ZipArchive Not Installed - Warning
Reply
#19
Carlos Wrote:Any plugins installed?

If you enable debug mode, do you get any warnings or notices?

[edit] Also, have you tested with different browsers?

Now I activated debug mode *after* having logged in.
But so far there are no messages.
Reply
#20
shawn_a Wrote:validation is worthless to us.

Well no it's not, unless you enjoy tag soup!
Reply
#21
Worthless for debugging.

I found that the redirect function does its own header sent detection and erroring , which is very confusing, I hope some one knows why. Or what the purpose it serves as its not commented.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#22
It's because the error process itself generates headers.

Basically if you stop all errors from occurring or use a less strict error reporting mechanism, there will be no problem.
Reply
#23
Thats what I figure but I didn't write the code. Or know what its purpose was.

I run in strict and I and never have encountered this.

I've actually been working on this to rid these. When a user logs in, their timezone gets applied and these errors go away. So its only when not logged in and strict mode.

Obviously here is an issue where this is not happening, either the user has no timezone set, or a bad one.
Or its failing for some other reason and redirecting.

I wanted to add a timezone to GS itself and using that when a user is not logged in. This way a timezone is always set.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)