WYSIWYG problems with Safari 4.0.5 on Mac OS X

Please report bugs here!

Moderator: Thorsten

Post Reply
filmo
Posts: 10
Joined: Tue Jun 30, 2009 12:22 am

WYSIWYG problems with Safari 4.0.5 on Mac OS X

Post by filmo »

Using Safari 4.0.5 on Mac OS X.

I can successfully load a page for editing "Once", but then the next time I load a different FAQ for editing, all I get is the raw HTML and no WYSIWYG editor. I'm logged in as an Admin and have WYSWIG turned 'on' in the configuration file.

I have to clear the cache each time to get it to 'reset', so essentially, it appears broken since it is only usable one time before clearing the cache is required again.

On Firefox, we're not having the same problems.

Is anybody else having the same problems with Safari 4.0.x on Mac?
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: WYSIWYG problems with Safari 4.0.5 on Mac OS X

Post by Thorsten »

Hi,

which version of phpMyFAQ do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
filmo
Posts: 10
Joined: Tue Jun 30, 2009 12:22 am

Re: WYSIWYG problems with Safari 4.0.5 on Mac OS X

Post by filmo »

We have installed 2.6.4

I've even tried downloading the most recent version of tiny_mce and installing it in the 'editor' folder, but no luck. ( the new tincy_mce does work with Firefox on Mac OSX as did the old version.)
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: WYSIWYG problems with Safari 4.0.5 on Mac OS X

Post by Thorsten »

Hi,

seems to be a TinyMCE issue then... sorry!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
filmo
Posts: 10
Joined: Tue Jun 30, 2009 12:22 am

Re: WYSIWYG problems with Safari 4.0.5 on Mac OS X

Post by filmo »

I have to say I think it's an issue of integration into phpMyFAQ because tiny_mce works fine with Safari on other applications.

On 2.0.x of phyMyFAQ, the WYSIWYG editor does work correctly.
I'm assuming on 2.0.x both the phpMyFAQ code and the tiny_mce code base are different.

Right now, we can't use phpMyFAQ 2.6.4 because the editor doesn't work on Safari and we're not going to start hand coding html for our FAQ. We're also not going to 'switch' all the browsers in our company.
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: WYSIWYG problems with Safari 4.0.5 on Mac OS X

Post by Thorsten »

Hi,

TinyMCE in phpMyFAQ 2.0 is very very old... I'll test it.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: WYSIWYG problems with Safari 4.0.5 on Mac OS X

Post by Thorsten »

HI,

I can confirm this issue with Safari 4.0.5 and Google Chrome 5.0.375.29 beta. A reload of the page helps in both browsers. Looks like a rendering or caching issue in the WebKit engine. I'll try to implement a workaround.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: WYSIWYG problems with Safari 4.0.5 on Mac OS X

Post by Thorsten »

Hi,

please try this "hack" in the file admin/header.php:

Code: Select all

diff --git a/phpmyfaq/admin/header.php b/phpmyfaq/admin/header.php
index 8d237b6..0b14773 100644
--- a/phpmyfaq/admin/header.php
+++ b/phpmyfaq/admin/header.php
@@ -55,7 +55,7 @@ header("Vary: Negotiate,Accept");
     <script type='text/javascript' src='../inc/js/plugins/autocomplete/jquery.autocomplete.pack.js'></script>
     <script type="text/javascript" src="../inc/js/plugins/datePicker/date.js"></script>
     <script type="text/javascript" src="../inc/js/plugins/datePicker/jquery.datePicker.js"></script>
-    <script type="text/javascript" src="editor/tiny_mce.js"></script>
+    <script type="text/javascript" src="editor/tiny_mce.js?<?php print time(); ?>"></script>
 </head>
 <body id="body" dir="<?php print $PMF_LANG["dir"]; ?>">
 <a name="top"></a>
If this is working for you I'll add this to phpMyFAQ 2.6.5.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply