View Issue Details

IDProjectCategoryView StatusLast Update
0011755phplist applicationInterface - Backendpublic31-10-12 12:43
Reporterpaulbeaney 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.10.5 
Target Version4.0.xFixed in Version 
Summary0011755: FCKeditor does not appear in the message or template editor windows
DescriptionDescription
-----------
After a fresh install (of 2.10.5 and 2.10.4) the FCKeditor frame does not appear in the message or template editor windows. No text area appears at all, so editing of any form is impossible.


Workaround
----------
A quick fix is to remove the following line in fckphplist.php:

line 589 // FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%>

WARNING: I believe this this may leave a vulnerability open under certain conditions - see 'Cause' below'


Cause
-----
The cause seems to be having ASP-style tags turned on in PHP.ini:

    asp_tags = On

This causes the <% and %> in the javascript to be interpreted as PHP opening and closing markers. I haven't been able to test this theory though, as I have to have ASP tags on for backward compatibility.

TagsNo tags attached.

Relationships

related to 0002705 closed PHPList v2.11 release 
related to 0015463 resolvedmichiel Call to iconv() doesn't fail gracefully and prevents FCKeditor from loading 

Activities

paulbeaney

02-10-07 06:18

reporter   ~0033703

Related forum discussion:

http://forums.phplist.com/viewtopic.php?t=12245

tristankelley

05-10-07 21:39

reporter   ~0034116

Doesn't fix it for me in FireFox. asp_tags is set to Off in my php.ini and I removed line 589 from fckphplist.php but no luck. I see the FCK header with all the buttons but I can't enter in text or see test when editing an existing me. Work fine in IE 6 and 7 though.

paulbeaney

09-10-07 08:54

reporter   ~0034215

Hi Tristan,

I think you have a different problem - when I had this problem I didn't get *any* FCKeditor window/toolbars/textarea at all.

Regards,

- Paul

rothi

24-09-08 13:35

reporter   ~0050236

This fixed the Problem for me.

Regards Stefan