We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Why is Channel Images searching for images in the cache folder?

How Do I?

Bobe's avatar
Bobe
19 posts
9 years ago
Bobe's avatar Bobe

I cloned a site to overhaul it, meaning I copied over all files and databases, but following the instructions in the ExpressionEngine User Guide to upgrade (from 2.5.2 to 2.10.2) I cleared all caches.

I updated Channel Images to version 5.4.19, but when I try to regenerate images I get the following error (username and filename redacted):

A PHP Error was encountered

Severity: Warning

Message: copy(/home/<username>/public_html/dev/system/expressionengine/cache/channel_images/<filename>.jpg): failed to open stream: No such file or directory

Filename: local/local.php

Line Number: 111


Fatal error: Uncaught exception 'Exception' with message 'Image file not found: /home/<username>/public_html/dev/system/expressionengine/cache/channel_images/<filename>__small.jpg' in /home/<username>/public_html/dev/system/expressionengine/third_party/channel_images/libraries/PHPThumb/ThumbBase.inc.php:193 Stack trace: #0 /home/<username>/public_html/dev/system/expressionengine/third_party/channel_images/libraries/PHPThumb/ThumbBase.inc.php(172): ThumbBase->triggerError('Image file not ...') #1 /home/<username>/public_html/dev/system/expressionengine/third_party/channel_images/libraries/PHPThumb/ThumbBase.inc.php(110): ThumbBase->fileExistsAndReadable() #2 /home/<username>/public_html/dev/system/expressionengine/third_party/channel_images/libraries/PHPThumb/GdThumb.inc.php(96): ThumbBase->__construct('/home/<username>/...', false) #3 /home/<username>/public_html/dev/system/expressionengine/third_party/channel_images/libraries/PHPThumb/ThumbLib.inc.php(127): GdThumb->__construct('/home/<username>/...', Array, false) #4 /home/<username>/p in /home/<username>/public_html/dev/system/expressionengine/third_party/channel_images/libraries/PHPThumb/ThumbBase.inc.php on line 193

Why is it searching in the cache directory for the images? Shouldn’t it just be searching for the original files in the /images/uploads directory? What are my options to resolve the issue?

       
Bobe's avatar
Bobe
19 posts
9 years ago
Bobe's avatar Bobe

Can anyone offer some advice? This is quite urgent.

       
Pedro Guimaraes's avatar
Pedro Guimaraes
170 posts
9 years ago
Pedro Guimaraes's avatar Pedro Guimaraes

Since this is a third party add-on. Have you tried to contact the developer?

       
Bobe's avatar
Bobe
19 posts
9 years ago
Bobe's avatar Bobe
Since this is a third party add-on. Have you tried to contact the developer?

Their support page just points you to the EE Stack Exchange site, on which I have already posted with no response.

       
Derek Jones's avatar
Derek Jones
7,561 posts
9 years ago
Derek Jones's avatar Derek Jones
Their support page just points you to the EE Stack Exchange site, on which I have already posted with no response.

http://www.devdemon.com/support/

I see direct support options on the right-hand side of the page, did you try those?

       
Bobe's avatar
Bobe
19 posts
9 years ago
Bobe's avatar Bobe
[http://www.devdemon.com/support/](http://www.devdemon.com/support/) I see direct support options on the right-hand side of the page, did you try those?

Direct support is only free for 90 days. I’d rather not spend money if the community could help figure out the issue.

       
Bobe's avatar
Bobe
19 posts
9 years ago
Bobe's avatar Bobe

I feel silly for not trying this earlier, but I just cleared all caches and it now works fine.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.