ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

"Thumbnail could not be created" Error

September 20, 2011 7:32pm

Subscribe [4]
  • #1 / Sep 20, 2011 7:32pm

    leviticus

    6 posts

    I am having a strange issue uploading images to the File Manager and entries. Every time I try to upload an image to my images folder, it gives me the “Thumbnail could not be created for the image. Please make sure the thumbnail directory is writable.” error.  This happens no matter which member account login, browser, or computer I use.  The weird part is that another member on a different IP is able to upload images to that folder through the File Manager without any trouble using his or my login.

    We can’t see an error message of relevance in the logs, except for one instance of having two //‘s in a call to the cp_theme/default folder.

    It might be relevant that this started after we transfered from our development server to our “live” server.  I could upload images on the development server, but not the live server.  The new server is also saying that some of my template and image files do not exist (ones that were there pre-move).  However, the actual files are there but not the thumbnails.  I am able to create template files on the new live server.

    EE v2.2.2 with GD2

    Thoughts?

    —————
    Not sure if this output from the debugger would be helpful:

    0.0008     SELECT *
    FROM (`exp_upload_prefs`)
    WHERE `site_id` =  ‘1’
    ORDER BY `name`
    0.0007     SELECT `exp_categories`.`group_id`, `exp_categories`.`parent_id`, `exp_categories`.`cat_id`, `exp_categories`.`cat_name`
    FROM (`exp_categories`)
    WHERE `site_id` =  ‘1’
    ORDER BY `group_id`, `parent_id`, `cat_name`
    0.0008     SELECT COUNT(*) AS `numrows`
    FROM (`exp_files`)
    WHERE `upload_location_id` IN (3, 5, 6, 1, 2, 4)
    AND `exp_files`.`site_id` =  ‘1’
    0.0005     SELECT *
    FROM (`exp_files`)
    WHERE `upload_location_id` IN (3, 5, 6, 1, 2, 4)
    AND `exp_files`.`site_id` =  ‘1’
    ORDER BY `upload_date` DESC, `file_id` DESC
    LIMIT 100
    0.0006     SELECT COUNT(*) AS `numrows`
    FROM (`exp_files`)
    WHERE `upload_location_id` IN (3, 5, 6, 1, 2, 4, 3, 5, 6, 1, 2, 4)

  • #2 / Sep 21, 2011 3:05am

    John Henry Donovan

    12339 posts

    leviticus,

    Things to double-check

    Upload location path and URLs
    Permissions on upload folders (777)
    Run our Server Wizard to make sure live server can create thumbnails

    Let us know if that helps

  • #3 / Sep 27, 2011 11:54am

    leviticus

    6 posts

    We have done those things and the problem still persists.  Anything else we can try or can I get you in touch with our server administrator?

  • #4 / Sep 28, 2011 9:22pm

    Dan Decker

    7338 posts

    Hi leviticus,

    Since the server move to production, have you synchronized your upload directories and your templates as file? For the FIle Manager navigate to Content-> File-> FIle Upload Preferences and click the Synchronize icon next to each destination. On the next screen, make sure to click Submit. For your templates as files, navigate to Design-> Templates-> Synchronize Templates Select the templates you want to sync and click Submit.

    Cheers,

  • #5 / Sep 29, 2011 11:24am

    leviticus

    6 posts

    Dan-

    I did the synchronize of the files as you described.  The “Images” folder came back with the same “Thumbnail could not be created” error for 4 files I had prior to the server move.  I deleted those 4 files and synchronized the folder.  It said there were no errors.  Then I tried to upload a new image to the Images folder and the same thumbnail error persists. Anything else I could try?

    I looked at the remote server again and noticed that I have multiple thumbnail folders (attached).  One of which has an index file in it.
    My upload directory is: http://www.lcc-wf.com/assets/images/content/  and the image manipulations folder is set to image_thumb.
    Which folder(s) should remain on the server?

    Thanks

  • #6 / Sep 30, 2011 11:24am

    Dan Decker

    7338 posts

    leviticus,

    You should only have “_thumbs” with the “s”. Can you verify that the permission on “_thumbs” are set to 755?

  • #7 / Sep 30, 2011 12:42pm

    leviticus

    6 posts

    _thumbs, image_thumb, and _thumb are set to 777. What about the index.html file in _thumb?  Should that be deleted or moved?

  • #8 / Oct 03, 2011 10:37am

    Mark Bowen

    12637 posts

    Hi leviticus,

    The index.html files are okay to stay in each of those folders. They are placed there to prevent direct access to the folders so that people don’t see all the files in them so definitely a good idea to leave them there.

    With your _image_thumb and _thumb folders were these perhaps Image Manipulations settings that you created in the File Manager Preferences?

    Thanks,

    Mark

  • #9 / Oct 03, 2011 11:33am

    leviticus

    6 posts

    Thanks, Mark.  Yes, the image_thumb and _thumb folders were Image Manipulation settings (I am only using Image_thumb at the moment). I copied the index file into _image_thumb and _thumbs and deleted _thumb.

    However, I am still stumped by my original issue of not being able to upload images.  Any other ideas?

  • #10 / Oct 03, 2011 11:54am

    Mark Bowen

    12637 posts

    Hi leviticus,

    As you mentioned above that someone else using your login was able to upload without any problems this would seem to indicate that it might be a problem with either your internet connection or perhaps security.

    Are you behind any firewalls at all? Are you able to check out with your computer on the other persons internet connection to see if you can login at all?

    Thanks,

    Mark

  • #11 / Oct 10, 2011 3:38pm

    leviticus

    6 posts

    I am checking again with our server admin, though he can’t see anything wrong with the security settings at the moment. He tried from his place and was able to upload images and he will try to upload from another location to check again. We will let you know how that goes.

  • #12 / Oct 11, 2011 10:18am

    Mark Bowen

    12637 posts

    Hi leviticus,

    No problem, just let us know what you find out.

    Thanks,

    Mark

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases