I’ve a problem uploading files using FCKEditor.
I’m creating a link from some text.
1. I highlight the text
2. I click the create link button
4. When I try to upload a file, I get an Invalid XML Response from Connector error in a popup window.
Running on Windows 2000 Server, Apache 2, PHP 5.1.2.
Please check you Resource Path and Resource Url under
Administration > System Configuration > Interface & Editor Settings
You will find the 2 fields there, and more information about IIS is displayed right next to them.
Hope it helps.
Bizzarely, the contents of the
folder seem to be being deleted. Replace them and all works well.
A security issue? I’ve tightened the permissions on the folder in any case.
(Just to add, this is happening on a private site, so I don’t think 3rd party hacking is likely)
OK - more information. I’ve been able to reproduce the problem myself.
I open the FCKEditor Resource Browser and create a new directory.
I go to the new directory and upload a file - cardiff.pdf.
The pdf directory in the connectors directory disappears all together.
The new directory created to contain the file actually contains a new folder called cardiff.pdf with a number of new folders inside including:
(Sorry to keep adding to this - just realised it’s moving the contents of the connectors/php folder to the new folder named the same as the file it has uploaded)
I wonder if it’s not able to change to a temporary file directory and hence the error - where are temporary files uploaded to? The upload_tmp_dir in php.ini is set correctly.
I’ve solved the problem.
The maximum upload file size in PHP was set to 2Mb. The file being uploaded was 2.2Mb!
Obviously the file wasn’t successfully uploaded by php, and therefore the script acted strangely.
I’ve increased the maximum upload filesize for now which gets over the immediate problem.
i sort of have the same problem.
Website was moved to a new server. Image browser led to an empty folder and i could not upload img / create folder.
I cheked the Resource path-- it was the old one.
Using phpinfp.php i found this:
* Changed the Resource path to
.. and it did still did not work.
* Uploaded install/ upgrade from 0.9.1 to 0.9.2.1 ran the install to update my modx.
Still did not help.
Seems it was File Manager Path in the Miscellaneous Settings. Once i changed that, everything worked again. =]
I’m having the problem too . . . I’ve tried resolving using the solutions here but still the same problem...
Uploading a file (even small ones of about 500-700k) I nearly always get the same error "Invalid XML Response".
Anyone have any ideas?
I am now experiencing the same problem having moved from a development server (uniform server on WinXP) to a live server (Linux shared hosting with FastHosts).
The problem also occurs with the file manager - but returns "64 - host not found". The error only occurs when uploading image files - other files (e.g. css) upload without problems.
I assume the problem is caused by the PHP configuration, but do not know where to begin to resolve the issue. Any help would be appreciated - the site is due to go live at the end of month.
Should have guessed it - the problem is being caused by proxy/firewall restrictions on our internal network.