CGSmartImage "Problem with host setup."

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

CGSmartImage "Problem with host setup."

Post by wmdvanzyl »

Does anyone know how to remedy this problem?

Code: Select all

Problem with host setup. the finfo_open function does not exist
----------------------------------------------

Cms Version: 1.11.7

Installed Modules:

CMSMailer: 5.2.1
CMSPrinting: 1.0.4
FileManager: 1.4.3
MenuManager: 1.8.5
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.12.12
Search: 1.7.8
ThemeManager: 1.1.8
CGExtensions: 1.37.2
CGSmartImage: 1.12.1
AceEditor: 0.2.5
TinyMCE: 2.9.12
TemplateExternalizer: 2.0.11
Showtime: 3.3
FormBuilder: 0.7.4
Gallery: 1.6.1


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 2000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.4.19
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 0
memory_limit: 32M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.70
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CGSmartImage "Problem with host setup."

Post by Dr.CSS »

It depends on your host/server sometimes it can be fixed in .htaccess or if you get to it the php.ini file, contact your host and ask them which will work, they may have to do it...
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: CGSmartImage "Problem with host setup."

Post by wmdvanzyl »

Dr.CSS wrote:It depends on your host/server sometimes it can be fixed in .htaccess or if you get to it the php.ini file, contact your host and ask them which will work, they may have to do it...
Contacted my hosting provider. They added it and the issue was resolved, but now i get this issue:

Code: Select all

-- Missing Languagestring - module:CGSmartImage string:error_insufficientmemory--
How much memory does CGSmartImage need? What is the name of the setting i should be looking in to?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CGSmartImage "Problem with host setup."

Post by Dr.CSS »

You can look in the system information page to see if you have any yellow !, most likely there is one on the memory line and during install/upgrade they show...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CGSmartImage "Problem with host setup."

Post by calguy1000 »

CGSI looks for 2x the amount of memory required to store the image to guess a reasonable minimum amount of memory required.

which is width * height * bits (default 8) * channels (default 3) / 8 + 65535

for a 64x64 png image that's ~150k.

Actual memory required can be higher for the same image depending upon the filter and operations you are performing. i.e: running numerous resize, transformations, rotations, watermarking images, etc.
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.
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: CGSmartImage "Problem with host setup."

Post by wmdvanzyl »

calguy1000 wrote:CGSI looks for 2x the amount of memory required to store the image to guess a reasonable minimum amount of memory required.

which is width * height * bits (default 8) * channels (default 3) / 8 + 65535

for a 64x64 png image that's ~150k.

Actual memory required can be higher for the same image depending upon the filter and operations you are performing. i.e: running numerous resize, transformations, rotations, watermarking images, etc.
So in short - use a smaller original image. :) Uploading to the Gallery (the module) i can force auto resize upon upload, but not when using Image Manager. Is there maybe a replacement module for Image Manager - ideally something that uses CGExtensions, b/c then i can use CGExtension to resize uploaded images.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CGSmartImage "Problem with host setup."

Post by calguy1000 »

In short.... 32MB is prolly not enough memory. Having another module may not solve the problem.
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.
Post Reply

Return to “Modules/Add-Ons”