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.
CGSmartImage and finfo_open error
CGSmartImage and finfo_open error
- Attachments
-
[The extension txt has been deactivated and can no longer be displayed.]
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: CGSmartImage and finfo_open error
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.
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.
Re: CGSmartImage and finfo_open error
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.
Re: CGSmartImage and finfo_open error
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.
My workaround was to set "Image Embedding Mode" to "None" in CGSmartImage settings.

