Page 1 of 1

[solved] What does this CGExtensions error mean?

Posted: Wed Aug 07, 2013 11:52 am
by wmdvanzyl
Hi All...

CMSMS 1.11.7
CGExtensions 1.37.1

I moved a site from my dev environment to my staging environment. The dev environment is on a dev server and the staging environment is one a production server (shared hosting). I have other sites running on the staging environment without a problem. When i access the back-end, i get these errors on Extensions page:

Code: Select all

Warning: file_get_contents(__DIR__/help.inc) [function.file-get-contents]: failed to open stream: No such file or directory in /home/modhcbsp/public_html/lig/modules/CGExtensions/CGExtensions.module.php on line 242

Warning: file_get_contents(__DIR__/help.inc) [function.file-get-contents]: failed to open stream: No such file or directory in /home/modhcbsp/public_html/lig/modules/CGExtensions/CGExtensions.module.php on line 242

Warning: file_get_contents(__DIR__/help.inc) [function.file-get-contents]: failed to open stream: No such file or directory in /home/modhcbsp/public_html/lig/modules/CGSmartImage/CGSmartImage.module.php on line 62

Warning: file_get_contents(__DIR__/help.inc) [function.file-get-contents]: failed to open stream: No such file or directory in /home/modhcbsp/public_html/lig/modules/CGSmartImage/CGSmartImage.module.php on line 62
I get this error on page when trying to acecss site:

Code: Select all

Fatal error: Uncaught exception 'Exception' with message 'Problem with host setup. the finfo_open function does not exist' in /home/modhcbsp/public_html/lig/modules/CGExtensions/lib/class.cge_utils.php:112 Stack trace: #0 /home/modhcbsp/public_html/lig/modules/CGSmartImage/lib/class.cgsi_utils.php(722): cge_utils::get_mime_type('/home/modhcbsp/...') #1 /home/modhcbsp/public_html/lig/modules/CGSmartImage/action.default.php(39): cgsi_utils::process_image(Array) #2 /home/modhcbsp/public_html/lig/lib/classes/class.CMSModule.php(1731): include('/home/modhcbsp/...') #3 /home/modhcbsp/public_html/lig/modules/CGExtensions/CGExtensions.module.php(324): CMSModule->DoAction('default', 'm05883', Array, '16') #4 /home/modhcbsp/public_html/lig/lib/classes/class.CMSModule.php(1799): CGExtensions->DoAction('default', 'm05883', Array, '16') #5 /home/modhcbsp/public_html/lig/lib/module.functions.php(123): CMSModule->DoActionBase('default', 'm05883', Array, '16') #6 /home/modhcbsp/public_html/lig/lib/classes/class.CMSModule.php(302): cms_m in /home/modhcbsp/public_html/lig/modules/CGExtensions/lib/class.cge_utils.php on line 112
I have tried un-installing CGExtensions and reinstalling it, but to no avail.
Config file looks to be right.

Re: What does this CGExtensions error mean?

Posted: Wed Aug 07, 2013 12:05 pm
by Stikki
Paste your system info.

Re: What does this CGExtensions error mean?

Posted: Wed Aug 07, 2013 12:17 pm
by wmdvanzyl
Stikki wrote:Paste your system info.
If you look at test.modh.co.za you will see it looks fine, but lig.modh.co.za gives that error. So it has to related to my config or installation. Right?

Either way, here it is:

Code: Select all


----------------------------------------------

Cms Version: [b]1.11.7[/b]

Installed Modules:

    CMSMailer: [b]5.2.1[/b]
    CMSPrinting: [b]1.0.4[/b]
    FileManager: [b]1.4.3[/b]
    MenuManager: [b]1.8.5[/b]
    MicroTiny: [b]1.2.5[/b]
    ModuleManager: [b]1.5.5[/b]
    News: [b]2.12.12[/b]
    Search: [b]1.7.8[/b]
    ThemeManager: [b]1.1.8[/b]
    CGExtensions: [b]1.37.1[/b]
    AceEditor: [b]0.2.5[/b]
    TinyMCE: [b]2.9.12[/b]
    TemplateExternalizer: [b]2.0.11[/b]
    Showtime: [b]3.3[/b]
    Gallery: [b]1.6.1[/b]
    CGSmartImage: [b]1.11[/b]


Config Information:

    php_memory_limit: [b][/b]
    process_whole_template: [b][/b]
    max_upload_size: [b]20000000[/b]
    url_rewriting: [b]none[/b]
    page_extension: [b][/b]
    query_var: [b]page[/b]
    image_manipulation_prog: [b]GD[/b]
    auto_alias_content: [b]true[/b]
    locale: [b][/b]
    default_encoding: [b]utf-8[/b]
    admin_encoding: [b]utf-8[/b]
    set_names: [b]true[/b]


Php Information:

    phpversion: [b]5.2.17[/b]
    md5_function: [b]On[/b] (True)
    gd_version: [b]2[/b]
    tempnam_function: [b]On[/b] (True)
    magic_quotes_runtime: [b]Off[/b] (False)
    E_STRICT: [b]0[/b]
    memory_limit: [b]32M[/b]
    max_execution_time: [b]30[/b]
    output_buffering: [b]On[/b]
    safe_mode: [b]Off[/b] (False)
    file_uploads: [b]On[/b] (True)
    post_max_size: [b]20M[/b]
    upload_max_filesize: [b]20M[/b]
    session_save_path: [b]/tmp[/b] (1777)
    session_use_cookies: [b]On[/b] (True)
    xml_function: [b]On[/b] (True)
    xmlreader_class: [b]On[/b] (True)


Server Information:

    Server Api: [b]cgi-fcgi[/b]
    Server Db Type: [b]MySQL (mysql)[/b]
    Server Db Version: [b]5.0.91[/b]
    Server Db Grants: [b]Found a "GRANT ALL" statement that appears to be suitable[/b]


----------------------------------------------

Re: What does this CGExtensions error mean?

Posted: Wed Aug 07, 2013 12:21 pm
by Stikki

Re: What does this CGExtensions error mean?

Posted: Wed Aug 07, 2013 12:26 pm
by wmdvanzyl
Stikki wrote:Reason: phpversion: 5.2.17

Read: http://forum.cmsmadesimple.org/viewtopi ... =7&t=65515
Ugh. Thanks. Now to get my hosting provider to update PHP.

What happens is i forget that with shared hosting not every server is exactly the same. So i work on a site that is on a server that is running 5.3 and i forget about it. Then update a domain i haven't touched in a while and this type of stuff happens.

Thanks!