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.

2.2.2 to 2.3 Killed File Uploads

October 12, 2011 7:23pm

Subscribe [4]
  • #1 / Oct 12, 2011 7:23pm

    chealey

    95 posts

    This all applies to a local, working EE installation running WAMP 2.1 on Windows 7 SP1.

    I upgraded an EE installation from 2.2.2 to 2.3 this morning and found out that anytime I try to upload an image using EE’s built in file upload field I get the following error:

    Thumbnail could not be created for the image. Please make sure the thumbnail directory is writable.

    This is for a directory that was working prior to the upgrade. In order to further debug this problem, I rolled back the database and files to 2.2.2 and tried the upload, and sure enough, it worked. I then performed the upgrade to 2.3 again and ran into the same problem I had. Nothing else seems to be malfunctioning with the installation.

    Here are all things I have tried and/or checked:

    1. I tried both relative and full file paths

    2. I ran the EE server wizard and came back with no issues

    3. I made sure none of the directories were read-only or locked on my machine

    4. I tried a third party module (channel images) and am able to upload/resize/process/delete images no problem

    5. I made sure I was attempting the uploads from a Super Admin account

    6. I tried disabling XSS filtering on uploads, with no success

    7. I tried uploading multiple files, even some that I’ve uploaded before

    8. I tried multiple upload directories, even some that have worked in the past

    9. As I mentioned above, I reverted the site to 2.2.2 and had no issues

    10. Double checked every file path with deeploy helper, and manually checked the file upload preferences

    11. Verified that the thumbnail directory existed

    12. All the previously uploaded images worked just fine - I’m able to manipulate them with CE image, I’m able to assign them to new entries, etc.

    Hopefully I can get some help on this! Thanks in advance!

  • #2 / Oct 13, 2011 8:13am

    Sue Crocker

    26054 posts

    Hi, Christopher.

    Can you try creating a brand new WAMP install, to see if the same thing happens? I’m not seeing this issue on a MAMP install. I don’t have access to a Windows machine for testing right this minute.

  • #3 / Oct 13, 2011 4:25pm

    chealey

    95 posts

    Unfortunately that has not solved the problem.

  • #4 / Oct 14, 2011 10:56am

    artics

    1 posts

    Unfortunately that has not solved the problem.

    Try in “Content > Files > File Upload Preferences” for “Server Path to Upload Directory” set a slash in the opposite direction. Instead of “/” to “\”

  • #5 / Oct 14, 2011 1:12pm

    chealey

    95 posts

    Unfortunately that has not solved the problem.

    Try in “Content > Files > File Upload Preferences” for “Server Path to Upload Directory” set a slash in the opposite direction. Instead of “/” to “\”

    That…worked…Thank you so much!

    Do you know if this was related to a particular change with v2.3? Previously, I could use local file paths with “\” or “/”.

  • #6 / Oct 14, 2011 2:16pm

    Kevin Smith

    4784 posts

    Thanks for helping out, artics!

    There wasn’t a specific change to force using backslashes that I know of, but it may have been a change made that wasn’t related to a known bug.

    Either way, it’s the proper way to do things, so it makes sense that EE would require the proper kind of slash.

    Is there anything else we can help you with Christopher?

  • #7 / Oct 14, 2011 3:48pm

    chealey

    95 posts

    That’s fine - I was actually surprised I was able to get away with using “/” instead of “\” in the first place.

    We can go ahead and mark this resolved.

  • #8 / Oct 14, 2011 4:34pm

    Sue Crocker

    26054 posts

    Sounds good. Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases