When I click show server I receive XML request error: OK (200) "The server didn't send back a proper XML response" and it shows an incomplete xml directory. The number of archives of the directory file is 403, in the directory image there are two archives and they work well, FCKeditor 2.2 worked well after updating takes place the error.
FCKeditor 2.4.3
PHP 5.2.3
Windows 2003
Apache 2.55
As I can solve the error?
FCKeditor 2.4.3
PHP 5.2.3
Windows 2003
Apache 2.55
As I can solve the error?
Re: Browser directory with many files
Then test PHP connector via file located in editor\filemanager\browser\default\connectors\test.html (in FCKeditor 2.4) to find some more information.
I guess that maybe max_execution_time or memory_limit is exceeded...
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Browser directory with many files
Re: Browser directory with many files
Re: Browser directory with many files
So this could be another instance of http://dev.fckeditor.net/ticket/888
Re: Browser directory with many files
Hello I downloaded today FCKeditor, unfortunately the file manager does not work, neither on firefox nor on IE.
I followed all the advices (no special character in files or folders) including changing the following files according to changeset 759
FCKeditor/trunk/editor/filemanager/connectors/php/commands.php
FCKeditor/trunk/editor/filemanager/connectors/php/util.php
this link:
http://dev.fckeditor.net/changeset/759
But I still have same error.
What can I do?
Your help is very much appreciated.
Thank you and regards
joejac
Re: Browser directory with many files
Hello,
I solved the "XML request error" installing FCKeditor 2.5 Nightly Build. But now I have other type of error:
Error creating folder "http://www.domain.com/images/image/" (Can't create http:/ directory)
My images directory has 777 permissions
Can any body help me to find the solution?
Thank you and regards
joejac
Re: Browser directory with many files
What's your $Config['UserFilesAbsolutePath'] and $Config['UserFilesPath'] path?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Browser directory with many files
I corrected the path but now when I try to upload even a small image I get:
Upload a new file in this folder (Upload in progress, please wait...)
the message never clears and the image never gets uploaded, I can create subdirectories, but I can not upload images, the directories are empty, permissions are 777. Do you have any Idea of the solution?
My configuration is:
$Config['UserFilesPath'] = '/imagenes1/' ;
$Config['UserFilesAbsolutePath'] = '/home/userofdomain/public_html/imagenes1/' ;
I have installed FCKeditor in:
/home/userofdomain/public_html/FCKeditor/
My files calling FCKeditor are in:
/home/userofdomain/public_html/myapplication/
the site is in:
/home/userofdomain/public_html/index.php
I also have
BasePath = "/FCKeditor/
Thanks in advance for your kind help
Best Regards
joejac
Re: Browser directory with many files
Just to be sure - does this folder have permissions set to 777: /home/userofdomain/public_html/imagenes1/ ?
If this folder has the right permissions, you could enable error_reporting to log file and check for example whether you web server can save uploaded files to temporary directory.
(http://php.net/manual/en/features.file-upload.php)
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Browser directory with many files
Testing with my hosting provider they where able to upload an image. This is what is happening:
In short, the File manager (FCK Resources Browser) is not working, but the image button is working, please see the attached image:
ImageUploadProblemWithFCK2_5FileManager.jpg
What can I do?
Regards
joejac
Attachments:
Re: Browser directory with many files
If you have it defined as follows:
images uploaded in step 1-5 will be saved in $Config['QuickUploadPath']['Image'] that points to $Config['UserFilesPath']... that's why uploaded file is not visible in resource browser (although it has been uploaded and you can see it when logging via FTP, right?).
To change that behaviour, replace it with the following code:
not that $Config['QuickUploadPath']['Image'] and $Config['QuickUploadAbsolutePath']['Image'] has changed.
After that make sure that path to Image resource type is writable by web server.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Browser directory with many files
This is the full config.php file with your changes. Sorry but this does not work for flash or text files either. The images directory '/imagenes1/ is 777 does this means to you that, it is writable by web server?
regards, joejac
<?php
global $Config ;
$Config['Enabled'] = true ;
$Config['UserFilesPath'] = '/imagenes1/' ;
$Config['UserFilesAbsolutePath'] = '/home/customerc/public_html/imagenes1/' ;
$Config['ForceSingleExtension'] = true ;
$Config['SecureImageUploads'] = 2;
$Config['ConfigAllowedCommands'] = array('QuickUpload', 'FileUpload', 'GetFolders', 'GetFoldersAndFiles', 'CreateFolder') ;
$Config['ConfigAllowedTypes'] = array('File', 'Image', 'Flash', 'Media') ;
$Config['AllowedExtensions']['File'] = array() ;
$Config['DeniedExtensions']['File'] = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis','sh','shtml','shtm','phtm') ;
$Config['FileTypesPath']['File'] = $Config['UserFilesPath'] . 'file/' ;
$Config['FileTypesAbsolutePath']['File']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'file/' ;
$Config['QuickUploadPath']['File'] = $Config['UserFilesPath'] ;
$Config['QuickUploadAbsolutePath']['File']= $Config['UserFilesAbsolutePath'] ;
$Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ;
$Config['DeniedExtensions']['Image'] = array() ;
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'image/' ;
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'image/' ;
$Config['QuickUploadPath']['Image'] = $Config['FileTypesPath']['Image'] ;
$Config['QuickUploadAbsolutePath']['Image']= $Config['FileTypesAbsolutePath']['Image'] ;
$Config['AllowedExtensions']['Flash'] = array('swf','fla') ;
$Config['DeniedExtensions']['Flash'] = array() ;
$Config['FileTypesPath']['Flash'] = $Config['UserFilesPath'] . 'flash/' ;
$Config['FileTypesAbsolutePath']['Flash']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'flash/' ;
$Config['QuickUploadPath']['Flash'] = $Config['UserFilesPath'] ;
$Config['QuickUploadAbsolutePath']['Flash']= $Config['UserFilesAbsolutePath'] ;
$Config['AllowedExtensions']['Media'] = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg') ;
$Config['DeniedExtensions']['Media'] = array() ;
$Config['FileTypesPath']['Media'] = $Config['UserFilesPath'] . 'media/' ;
$Config['FileTypesAbsolutePath']['Media']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'media/' ;
$Config['QuickUploadPath']['Media'] = $Config['UserFilesPath'] ;
$Config['QuickUploadAbsolutePath']['Media']= $Config['UserFilesAbsolutePath'] ;
?>
Re: Browser directory with many files
Does your server have safe mode enabled? In such case:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Browser directory with many files
If that text is correct and any folder created by PHP in SafeMode can't be used later to upload files, do you think that it would be better to detect that Safe Mode is enabled and in that situation refuse to create any folder in the connector giving a message explaining that it must be done manually so it can work?
Regards
Re: Browser directory with many files
But if I upload files with FileZilla FTP, The File Manager allows to see them and select them and place them inside the textarea. I uploaded via FTP a .swf to the flash directory, but I can not select any directory, it only sees the image directory (Image).
regards
joejac