Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 and phpThumbOf Integration Error #42

Open
itskingori opened this issue Sep 12, 2012 · 4 comments
Open

S3 and phpThumbOf Integration Error #42

itskingori opened this issue Sep 12, 2012 · 4 comments

Comments

@itskingori
Copy link

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 ...

@jonrawlins
Copy link

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) {

@itskingori
Copy link
Author

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.

@charismeki
Copy link

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 : )

@oksushi
Copy link

oksushi commented Jan 6, 2013

I can confirm that this fix works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants