Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0015297phpList 3 applicationCampaign Send Processpublic28-04-11 15:51
Reporterpvibert Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionduplicate 
Product Version2.10.10 
Summary0015297: config.php path wrong in FCKeditor config.php
DescriptionWhen using the Add Image feature in FCKEditor and clicking Browse server, it returns:
"The server The server didn't send back a proper XML response."

The path in:
lists/admin/FCKeditor/editor/filemanager/connectors/phplist/config.php (lines 28 and 29)
tries to load config.php 2 levels too high:
elseif (is_file('../../../../../../../../config/config.php')) {
     include "../../../../../../../../config/config.php";

it should be:
elseif (is_file('../../../../../../config/config.php')) {
  include "../../../../../../config/config.php";
TagsNo tags attached.

Relationships

duplicate of 0015481 resolvedmichiel [FCKeditor] wrong path to phplist's config.php 
related to 0015482 resolvedmichiel [FCKeditor] SendError() is not defined in config.php 

Activities

spiro

03-06-09 13:14

reporter   ~0050671

I have just tried this change to these paths but still receive the xml error which i have pasted below in case it helps solve this issue. I also noticed that FCKeditor that shipped with v2.10.10 reports to be v2.6.3 even though v2.6.4 came out some time ago. I wonder if its possible to slip v2.6.4 into things but don't know which files in the v2.6.3 FCKeditor package have been modified for PHPList? I have also tried changing the permissions on the attachments folder from 755 to 777 but with no difference.


error reported by GUI.... (ignore bmi javascript stuff in html reponse as that relates to my mobile broadband provider that slips that in to reduce bandwidth of image files)

The server didn't send back a proper XML response. Please contact your system administrator.

XML request error: Forbidden (403)

Requested URL:
http://www.mydomain.co.uk/lists/admin/FCKeditor/editor/filemanager/connectors/phplist/connector.php?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2F&uuid=1244030293894

Response text:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><HTML><script src="http://1.2.3.8/bmi-int-js/bmi.js" language="javascript"></script><HEAD><TITLE>403 Forbidden</TITLE> </HEAD><BODY><H1>Forbidden</H1>You don't have permission to access /lists/admin/FCKeditor/editor/filemanager/connectors/phplist/connector.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.<HR><ADDRESS>Apache/1.3.41 Server at www.mydomain.co.uk Port 80</ADDRESS></BODY></HTML><script language="javascript"><!--
bmi_SafeAddOnload(bmi_load,"bmi_orig_img",0);//-->
</script>

pvibert

04-06-09 04:05

reporter   ~0050672

Hi Spiro,

The error you mention doesn't seem to be directly related to the PHPList/FCKeditor config -- it looks more like an Apache error related to file ownership or permissions.

I would doublecheck that the proper user owns the files in the phplist directory (specifically connector.php), and try going to:
http://www.mydomain.co.uk/lists/admin/FCKeditor/editor/filemanager/connectors/phplist/connector.php?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2F&uuid=1244030293894

directly in your browser-- it should return some XML. Once you can browse to it with no problems, FCKeditor should not have any issues either.

spiro

04-06-09 13:58

reporter   ~0050673

Hi pvibert,

Thanks for your response. I have spoken to web host today but have been unable to resolve issue, they have asked me to detail in an email but before I do I thought I'd ask here first. I wondered having taken a fresh look whether all the files in PHPList should be set to 0644 permissions? The web host changed the permissions on connector.php to 0655 to include execute permissions. I just wondered if perhaps this should also be the case for the other files that are referred to by connector.php in the include statements within that file?

Not sure why I'm getting this issue, all I did was copy the new version of PHPList over to my web host after deleting the previous version, then ran the update link to update the db. The rest of PHPList seems to be working ok, able to subscribe, send messages etc.

kind regards

pvibert

07-06-09 00:48

reporter   ~0050674

Hi Spiro,

Feel free to contact me via email: peter at vibert dot ca
and I can try to help you out.

rjc

06-07-09 01:32

reporter   ~0050691

I want to confirm that azero's solution worked for me (http://forums.phplist.com/viewtopic.php?f=17&t=24547#p62700) - or "pvibert" as listed above. I too was getting XML Error 200 when browsing for an image on the server after installing phplist v2.10.10. Also, when I tried to upload an image, it "hung", never uploading anything, and hanging (or freezing) in the process.

I made the changes to _path_to_phpmailer_/admin/FCKeditor/editor/filemanager/connectors/phplist/config.php as per azero's suggestion (i.e. remove to levels of ../, and it fixed the issue of XML Error 200 and "hanging" when I tried to upload an image. Everything's sweet now.

A note to spiro: The XML Error you are getting is a different one to the one that OutToLunch and azero were talking about... I notice that your XML Error is 403, while OutToLunch (and azero, and mine), was XML Error 200, so it seems like yours has a different cause than this.

h2b2

19-04-10 21:51

manager   ~0050939

Possibly related to issue 15432