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.

EE will not write thumbnail images to disk in WAMP

December 10, 2011 11:57am

Subscribe [3]
  • #1 / Dec 10, 2011 11:57am

    Joe Michaud

    154 posts

    This question may be related to a resolved thread.

    Since updating to EE 2.3.1, none of the updated sites are able to save resized images to disk.  This includes thumbnails as well as custom sizes.  I have not found any changes I can make to the file system that makes any difference.

    I wish I had reported this when I first discovered it because now my memory is a little hazy.  I *think* that it worked correctly in 2.3.0 but something changed in 2.3.1.  It definitely worked correctly when the auto-resize capability was first introduced then stopped working after an EE update.

  • #2 / Dec 12, 2011 11:20am

    Kevin Smith

    4784 posts

    Hi Joe,

    Sorry to see you’re experiencing this. I’ll do what I can to get you back in business soon.

    Are you receiving any errors when you try to upload new files? And are the main images being uploaded correctly and only failing to upload thumbs/custom sizes? Have you changed anything about your WAMP setup (installed an update, changed PHP versions, etc)?

    Can you confirm for me that your entire upload folders are given 777 permissions? And can you tell by looking at the directory with FTP which user is the owner of the upload directory and files?

  • #3 / Dec 12, 2011 2:10pm

    Joe Michaud

    154 posts

    Hello Kevin,

    Thanks for looking into this.  Just to be clear, this is ONLY happening in my development environment which is a WAMP server in Windows 7.  My live servers (all with EngineHosting) work fine!

    This means that your 777 permissions question does not really apply (yes, the directories are writable by everyone) and it probably worthy of note that image synchronization worked great in previous versions of EE. In fact, the EE version is the only real variable. Image synchronization worked immediately before I updated but not immediately afterward (in Windows 7).

    I’ve attached a screen capture so you can see what happens when I try to synchronize my images.

  • #4 / Dec 13, 2011 10:19pm

    John Henry Donovan

    12339 posts

    Hi Joe,

    Can you try a straight-up ‘Upload File’ from your File area, no resizing anything else involved. Does that work?

    It has been a while since I’ve been in W7. Can you send up a screenshot of the properties of that folder and the permissions it has

  • #5 / Dec 15, 2011 4:59pm

    Joe Michaud

    154 posts

    Okay, sorry for the delay.  Been a tad busy around here!

    Turns out that it doesn’t let me do a straight ‘Upload File’ from the file area either BUT it gives this error: “Thumbnail could not be created for the image”.

    The attached screen capture shows an example of the Windows 7 permissions window and I’ve already spent hours tweaking settings to try to get it to work.  The fact is, the Apache server runs with administrative rights (which I must manually grant every time I start the server) and has complete access to the local drive.

  • #6 / Dec 17, 2011 1:53am

    Joe Michaud

    154 posts

    Okay, so I spent my Friday night troubleshooting this issue because it is a really frustrating little roadblock—and I found the problem.

    It seems that on my system the “Server Path to Upload Directory” no longer accepts forward slashes as directory separator since EE 2.3.0.  PHP recognizes both forward and back slashes as directory separators on windows systems so I can’t imagine where this restriction is being imposed.  ALL OF MY SERVER PATHS USE FORWARD SLASHES and the only trouble I’ve noticed is with resized images.

    Oddly, if no resizing is required (ie the original image is thumbnail sized or smaller) then the image is written just fine regardless of the directory separator used.

    I really hope this helps you find your way to the source of this quirk.  I can get around it - yes - but having to work around stuff like this gets to be a drag after a while!

  • #7 / Dec 20, 2011 11:40pm

    Kevin Smith

    4784 posts

    Thanks for doing that research and figuring it out, Joe. That might’ve taken ages for us to troubleshoot by proxy. I’m going to bring in a dev on this so that they’re aware of the effects this change is having on Windows users, and perhaps to explain why the change was made.

    Thanks for your patience!

  • #8 / Dec 23, 2011 12:03am

    Joe Michaud

    154 posts

    I just watched the video on 2.4 which appears to solve this issue entirely.  Fantastic!

    Thanks for humoring me even though you knew the solution was forthcoming. :D

  • #9 / Dec 23, 2011 4:14am

    John Henry Donovan

    12339 posts

    Yes Joe, the new features will make managing environments much easier and I’m looking forward to them myself.
    Are you happy with me to close this thread out?

  • #10 / Dec 23, 2011 9:27am

    Joe Michaud

    154 posts

    Yes by all means, close the thread.  Thanks again!

  • #11 / Dec 23, 2011 3:25pm

    Sean C. Smith

    3818 posts

    Feel free to post again when you need more help.

    Sean

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

ExpressionEngine News!

#eecms, #events, #releases