I’m experiencing trouble with Channel Images fields and i came up to the conclusion that somenthing is wrong between CI e Publisher, but i couldn’t say for sure who is the culprit.
Channel Images stopped working reporting a generic php error during upload. I debugged the Channel Images plugin going nowhere, ‘cause no error has been found in any log and the hook of the router was never being called. Plus, the Channel Images field was failing to validate location showing the homepage instead of the proper output.
Moving forward: testing in a local environment the validate location feature of Channel Images showed a warning triggered at
\system\ee\legacy\libraries\Cache\drivers\Cache_file.php line 120
about the inability to write the file in the Publisher cache folders. Sorry to not be able to share the detailed log.
These the steps i took since then:
- disabled Publisher. Channel Images working.
- enabled Publisher using the default settings. Channel Images working.
- tested the settings i was using on the live site, meaning “add url prefix” to ON under “Url translation” and boom, the error on Channel Images popped out.
- saying to Publisher to ignore the Channel_Images fields didn’t solve the issue.
The bug has been observed 3 different environments.
Channel Images: 6.0.4
Cache method: file (can’t be turned off, since is a Channel Images requirement)