View Issue Details

IDProjectCategoryView StatusLast Update
0015299phplist applicationMessage Send Processpublic03-05-10 19:29
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2.10.10 
Target VersionFixed in Version2.10.11 
Summary0015299: 'Short' php tag in fckphplist.php causes FCKEditor not to load
DescriptionI have tracked a problem with FCKEditor failing to load to a 'short' PHP tag in fckphplist.php causing that file not to parse.

The following patch resolves the issue:
--- fckphplist.php.orig Mon Jun 1 19:08:47 2009
+++ fckphplist.php Mon Jun 1 19:40:52 2009
@@ -1094,7 +1094,7 @@
 FCKConfig.MsWebBrowserControlCompat = false ;

 FCKConfig.PreventSubmitHandler = false ;

 } elseif ($_GET["action"]) {

TagsNo tags attached.


related to 0015313 resolved fckeditor cannot display correctly 
related to 0015463 resolvedmichiel Call to iconv() doesn't fail gracefully and prevents FCKeditor from loading 



04-01-10 05:20

manager   ~0050809

On a similar note, these are the the findings of tmelzer confirming the issue with short tags in fckphplist.php :

==== Start quote ====

after installing v2.10.10 I got the several times reported emtpy message body editor bug (FCKeditor not showing off).
After trying the suggested fixes none of them resolved the issue on my installation.
php 5.2.11 / fastcgi / Mysql 5.1.36
asp_tags = Off
short_open_tag = Off !!!!!

Further investigation showed that loading the fckphplist.php include with LoadScript in fckeditor.html does'nt work.
The server reported an http status code 500 (General Server Error). Using a network trace I noticed that not output from fckphplist.php was in http stream instead the error code was reported and a partial index.php content was shown.
Parsing the fckphplist.php with php -l gave me an syntax error!!! This was causing the abort / 500 status code.

After investigating the file I noticed that in the end araund line 1100 there was a short tag in the source <? instead of <?php.
As we have defined short_open_tag Off on our server this produced the syntax error as the php code include by this short tag was not parsed and the block was not closed correctly which produced a premature $end error.

After applying the following patch all worked perfectly:

--- fckphplist.php.orig 2009-05-04 20:18:35.000000000 +0200
+++ fckphplist.php 2010-01-03 23:45:04.000000000 +0100
@@ -1094,7 +1094,7 @@
FCKConfig.MsWebBrowserControlCompat = false ;

FCKConfig.PreventSubmitHandler = false ;

} elseif ($_GET["action"]) {


==== End quote ====


20-01-10 15:27

manager   ~0050830

revision 1736 (stable) and 1737 (trunk)