Uploading error named “Error creating folder” in Fckeditor

Last few days i was trying to solve a path issue regarding the Fckeditor. I was using the editor with php.It was little bit annoying this time cause it took few hours to find out. The editor was working fine wihtout any problem. For no reason suddenly the editor started showing the error messge while i was tyring to upload an image with the html editor. Most of the time the error seems more or less like below :

  • Error creating folder '/Resources/ImageFile/image' {Can't create 'image' directory}
  • Not getting the UserFilesAbsolutePath.

Well the editor have a configuration file for solving this issue with php.Here we need to be sure for the following three lines of code.

  1. $Config[‘UseFileType’] = true ;
  2. $Config[‘UserFilesPath’] = ‘/Resources/ImageFile/’ ;
  3. $Config[‘UserFilesAbsolutePath’] = ‘D:/PHPWorks/alpha-v2/Resources/ImageFile/’ ;

Remember the file path for UserFilesAbsolutePath usually not given while we download Fckeditor. In few versions of fckeditor it works fine without this path. But to stop the error message if any we should enter an absolute path for the destination directory. In my case my server was a windows server. Thats why i used the absolute path like above.

Last but not least imoprtant issue is the chmod of the destination directory should be set to 777 that means the directory should be writable to upload an image in it.

5 thoughts on “Uploading error named “Error creating folder” in Fckeditor

  1. enovision

    The config file by the way is: config.php and for the wordpress plugin it can be found in folder:

    wp-content/
    plugins/
    fckeditor-for-wordpress-plugin/
    filemanager/
    connectors/php

    Thank you for your post milansaha, I had the same problem with this nice but shitty configured editor.

    Johan

  2. This is what I always get when I try to upload to this site

    Error storing the uploaded image file, error creating folder /home/getinfre/public_html/files/photos/163269. Please try again! If the problem persists, please contact support@GetinFree.com.

    Help me upload my photos of 1MB. JPG, JPEG, PNG, GIF.Thanks

  3. Johng144

    Howdy just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Ie. ddkdakfekada

Leave a comment