Hi I hope someone can help me,
I am using FCKeditor 2.4.3 for Dragonfly CMS.
I have configured it to use the php connector for both the browser and quickupload.
The editor loads and I can use it but when I click the "Insert/Edit Image" button and then click the "browse server" button it opens the file browser window but then I get the following error.
XML request error: Not found (404) http://xxxxxx.xx.xx/df/includes/wysiwyg/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2F
Re: Browse server returns XML request error: Not found (404)
Re: Browse server returns XML request error: Not found (404)
Re: Browse server returns XML request error: Not found (404)
That is supposed to be there. %2F is URL-encoded / character, which is passed as a query string into connector.php. This is why it is URL encoded.
The problem, however, is not that connector.php cannot find the file, but instead that the web server cannot find connector.php itself. That is, if you take this path
/df/includes/wysiwyg/fckeditor/editor/filemanager/browser/default/connectors/php/connector.php
and append it to webroot (see your web server configuration for this), the path will be invalid. This is what you need to fix.
Re: Browse server returns XML request error: Not found (404)
Re: Browse server returns XML request error: Not found (404)
/df/includes/wysiwyg/fckeditor/editor/filemanager/browser/default/connectors/php/connector.php
in the URL in a browser? Also, can you create a text file in the same directory where connector.php is and request it as well?
Re: Browse server returns XML request error: Not found (404)
Re: Browse server returns XML request error: Not found (404)
Re: Browse server returns XML request error: Not found (404)
Did that and yep you are right it is not getting executed, even if i call it directly.
Created a test.php file in same folder and it cannot find that either but it is finding the testdoc.txt file in there.
This is very weird.
Could it have something to do with something in an .htaccess file ?
Re: Browse server returns XML request error: Not found (404)
Found some deny .php and have commented them out and the test.html works now, but when I try it within Dragonfly it thinks I am using the ASP connector. LOL and I get a (200) error returned. Yes I have set the config correctly. LOL
Image Properties not showing file.
Well I have got it working.
I deleted everthing and uploaded again.
Set all config options.
Done the test, all worked OK.
... Except that when it returns from the selection of the file the "Image Properties" does not display the image as can be seen from picture below.
If I was to press the "OK" button the image does not appear in my editor just the red cross.
If I put the http and domain in front of the URL it is OK.
I have seen this on another post somewhere but he has not had a reply either.
Re: Browse server returns XML request error: Not found (404)
Re: Browse server returns XML request error: Not found (404)
I have solved this for now (well sort of) by using a full URL to the "userfiles" directory in the $Config['UserFilesPath']
and a full absolute path to the same directory in $Config['UserFilesAbsolutePath']
That will do for now, need sleep.
Thank you very much A.M. for all of you help it is most appreciated.
André