CGSmartImage and finfo_open error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
severtki
Forum Members
Forum Members
Posts: 29
Joined: Tue Aug 11, 2009 1:33 pm

CGSmartImage and finfo_open error

Post by severtki »

This morning I upgraded CMS to 1.11.7 from 1.11.4 -- upgrade went normally and site was fully functioning.
Next, I upgraded CGSmartImage and its dependencies (not sure previous versions, but current version is now 1.12).

Now, calls to CGSmartImage are broken, e.g.:
{cms_module module="CGSmartImage" src="uploads/news/id`$post`/`$img->value`" filter_resizetofit='475,350' alt=$entry->title|cms_escape:htmlall}
results in an error message:
Problem with host setup. the finfo_open function does not exist

I've searched on here and googled for possible causes for this and I can confirm this is php version 5.3.27, and it is a linux server (NOT Windows). Yes, this function is a standard php function and SHOULD exist, and it did in fact exist immediately prior to the upgrade to CGSmartImage (assuming prior version of CGSmartImage also used this function?). Nothing changed in the server (shared host) side in the meantime.

Could anyone give me some pointers for what I can look for to resolve this?

Thanks in advance for the help.
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CGSmartImage and finfo_open error

Post by calguy1000 »

some hosts stupidly don't include this extension in their 'custom builds'. contact your host. it's a standard part of PHP now.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
severtki
Forum Members
Forum Members
Posts: 29
Joined: Tue Aug 11, 2009 1:33 pm

Re: CGSmartImage and finfo_open error

Post by severtki »

Ah -- so previous versions of CGSmartImage did not reference the Fileinfo extension of PHP? I've written to our hosting company, and so hope they will be understanding. Otherwise, I guess I'll have to revert the site to our backup and stay on the older version of CGSmartImage for the time being.
User avatar
webform
Power Poster
Power Poster
Posts: 524
Joined: Sat Nov 25, 2006 3:39 pm

Re: CGSmartImage and finfo_open error

Post by webform »

Have the same problem with my host, and they won't fix the problem.

My workaround was to set "Image Embedding Mode" to "None" in CGSmartImage settings.
Post Reply

Return to “Modules/Add-Ons”