Thanks for your post, it's just what the doctor ordered. I use phpthumb within expressionengine and have noticed as I pile more sites onto my shared server, my gpu count is rising rapidly per month. Having a few issues though.
When I first run the script I see this error:
Not Found
The image you requested could not be found.
An error was triggered: cannot save thumbnail
If I refresh again the thumbnail shows up correctly. If I try and do this for another image (now that the directory structure has been created from the previous image), this error is displayed:
Warning: mkdir() [function.mkdir]: File exists in C:\site\thumbs\index.php on line 59
Not Found
The image you requested could not be found.
An error was triggered: cannot create directory
I'm running wamp on windows 7, but have also found the same errors on the production server. If I delete the file and directories created for the first thumbnail, I can recreate above errors. Any ideas where I might be going wrong?
Works on first thumb, fails on others
Thanks for your post, it's just what the doctor ordered. I use phpthumb within expressionengine and have noticed as I pile more sites onto my shared server, my gpu count is rising rapidly per month. Having a few issues though.
When I first run the script I see this error:
The image you requested could not be found.
An error was triggered: cannot save thumbnail
If I refresh again the thumbnail shows up correctly. If I try and do this for another image (now that the directory structure has been created from the previous image), this error is displayed:
Not Found
The image you requested could not be found.
An error was triggered: cannot create directory
I'm running wamp on windows 7, but have also found the same errors on the production server. If I delete the file and directories created for the first thumbnail, I can recreate above errors. Any ideas where I might be going wrong?