<![CDATA[ Error Uploading Files in FCKEditor - My Forums]]> https://forums.modx.com/thread/?thread=46349 <![CDATA[Re: Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=6#dis-post-267987 Go to Tools -> Configuration -> Interface & Features
and make sure use a fully qualified file base path:
File base path: /home/youruser/doc/root/assets/

Often this defaults to simply assets/ which WON’T work on some servers. Without the full pathname, I got permissions errors on some servers.]]>
Everettg_99 Dec 08, 2009, 02:53 PM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=6#dis-post-267987
<![CDATA[Re: Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=6#dis-post-267986 ]]> webprosmo Nov 02, 2009, 10:03 AM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=6#dis-post-267986 <![CDATA[Re: Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267985 Quote from: adrock at Feb 09, 2007, 02:19 AM

Found the solution to my problem "Invalid XML response from connector" at the FCKeditor forum at sourceforge.net which was very god for FCKeditor troubles. This was an old post though and Ive learned they no longer use mcpuk file browser in the editor.

In /manager/media/browser/mcpuk/connectors/php/Commands/"GetUploadProgress.php" Just add:

header ("content-type: text/XML");
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n";

directly after:
//Progresshandler not specified, return generic response

This solved everything for me, i now get the upload progress in both IE and FF and no error.
So now I’m a happy camper/Modx user

I’ve heard this folder "Commands" being refereed, but I don’t have that directory. Only up to /php/
]]>
stormlifter May 27, 2009, 02:43 PM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267985
<![CDATA[ [SOLVED] Re: Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267984
well my hosting company worked very hard with me to find the problem and also a solution to this issue.

It turns out that it was to do with a new or updated security module called ’suhosin’ installed on the apache server (i think that is the correct terminology).

It has a limit of 3 folder traverses by default and the file /manager/media/browser/mcpuk/connectors/php/connector.php needs more than this to work. Here is the error log from Apache.


[Sat Mar 28 15:28:18 2009] [error] [client 111.222.333.444] ALERT - Include filename (’../../../../../includes/protect.inc.php’) contains too many ’../’ (attacker ’111.222.333.444’, file ’/home/mydomain/public_html/manager/media/browser/mcpuk/connectors/php/connector.php’, line 24), referer: http://www.mydomain.com/manager/media/browser/mcpuk/frmfolders.html

I have substituted the ip address above for 111.222.333.444.

So my hosting company changed the setting suhosin.executor.include.max_traversal = 6 and all is working fine now.

Hopefully this information will help someone else out in the future.

cheers
Brad]]>
bradelaide Apr 02, 2009, 06:20 PM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267984
<![CDATA[Re: Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267983
this.DOMDocument is null
http://www.mydomain.com/manager/media/browser/mcpuk/js/fckxml.js
line 108

The code on line 108 is commented below and I have included the surrounding function.

FCKXml.prototype.SelectSingleNode = function( xpath ) 
{
	if ( document.all )		// IE
		return this.DOMDocument.selectSingleNode( xpath ) ;
	else					// Gecko
	{
		//BOF Line 108
		var xPathResult = this.DOMDocument.evaluate( xpath, this.DOMDocument, this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), 9, null);
		//EOF Line 108

		if ( xPathResult && xPathResult.singleNodeValue )
			return xPathResult.singleNodeValue ;
		else	
			return null ;
	}
}


I am assuming IE is faulting at line 105.

Does this help anyone start to identify the problem.

Brad]]>
bradelaide Mar 30, 2009, 06:43 AM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267983
<![CDATA[Re: Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267982
My hosting company is not really budging on this security setting so I am at a loss with what to do.

Can anyone offer a solution??
]]>
bradelaide Mar 29, 2009, 07:03 AM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267982
<![CDATA[Re: Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267981 sottwell Mar 29, 2009, 02:39 AM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267981 <![CDATA[Re: Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267980
I have been happily uploading images through the resource browser for ages, using multiple installations of modx from 0.9.6.1p2 through to 0.9.6.3. I have a reseller hosting account and all of my clients using modx are on my hosting account (same server). My hosting company has just updated php to version 5.2.9 and since then I have had the "invalid XML response from connector" message coming up when I try to use the resource browser.

here are the details;
only get the alert message "invalid XML response from connector" in IE, FF just looks as though it has worked but no image has uploaded.
I am unable to create folders in there.
I cannot see any images in the image folder, even though there are some which I had uploaded before the server update. I can still see these images in an ftp program, just not the resource browser.
I have tried installing the FCK editor just in case something in tinymce was causing it, even though they both use the same resource browser ... still no good.

If this is just an issue with the mod_security.c settings SecFilterEngine and SecFilterScanPOST then it would be a case of activating the ht.access file and hopefully fixing it. The problem is that my host will not allow the use of .htaccess files and any changes I have made previously I have had to make through a php.ini file. I tried this, all though if someone could confirm for me how to write the php.ini file to change these settings that would be great as I really ave no idea. Anyway what I did try didn’t work. I have logged a support ticket with my host but they said I am not able to change the security settings of the server.
If I can’t change these settings, what can I do. I need this functionality in the html editor ..

someone please help.

]]>
bradelaide Mar 29, 2009, 01:24 AM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267980
<![CDATA[Re: Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267979 I have 0.9.6.3 rev-4546

When uploading an image, the whole system get’s sort of locked for a while after finishing upload.
MCPUK tries to load my other images when refreshing, but it takes several minutes, before all images fail to load.

Then if I close the MCPUK, and open it again, all the images are there and everything works fine.
Only happens when uploading a new image.
]]>
Amrit Dec 18, 2008, 08:01 AM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267979
<![CDATA[Re: [Resolved] Error Uploading Files in FCKEditor]]> https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267978 Quote from: davidsim at Sep 19, 2006, 11:49 AM

Still having a problem with this. Can I confirm if anyone else is having a problem with

the PHP directory under

\manager\media\browser\mcpuk\connectors

being deleted / moved on some uploads? (It’s actually moved into a subdirectory of the assets folder - where the uploaded file was supposed to end up).



I’m getting this exact same problem on a Windows server using both IE and FF from a Windows Vista computer.]]>
mwalsh Oct 22, 2008, 02:46 AM https://forums.modx.com/thread/46349/error-uploading-files-in-fckeditor?page=5#dis-post-267978