phpThumbOf
phpThumbOf copied to clipboard
S3 and phpThumbOf Integration Error
I'm getting this error when I turn on the integration ...
PHP Fatal error: Class 'CFRuntime' not found in /home/xxxxxxxxxxxx/public_html/core/components/phpthumbof/model/aws/services/s3.class.php on line 69
Also have a custom CNAME but pretty much have followed the instructions in the docs. Could be that I messes around with the formats of one of the input e.g. CNAME needs a trailing '.' but there are no examples or results on google of anyone who's got this working...
Google the error you get a couple of sites that are down with the same error ...
The fix we found that worked and allowed the caching to work on the S3 Bucket was as below:
/core/components/phpthumbof/model/aws/sdk.class.php line 136
CHANGE FROM if(class_exists('CFRuntime_Exception') != true) {
TO if(class_exists('CFRuntime') != true) {
Just checked the version that comes bundles with phpthumbof ... file is of version 2010.10.11 ...
New version is 2012, same line is different (probably close to the latest since I downloaded it recently and use it in another section of the site ... works perfectly there)
I'll check it out.
didn't worked for us. site remains white. trying to use s3 without cname.
PS: grrr... is working after doing exactly what is written for that patch : )
I can confirm that this fix works.