What does this error mean? [SOLVED]

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

What does this error mean? [SOLVED]

Post by wmdvanzyl »

I am getting this error after i moved the site from the staging server to the live server. The only difference i can find between the two servers are the PHP versions - the live server being 5.4.16 and the staging server being 5.3.23

Code: Select all

Notice: Problem with host setup. the finfo_open function does not exist in /public_html/modules/CGSmartImage/action.default.php
Last edited by wmdvanzyl on Thu May 15, 2014 12:38 pm, edited 1 time in total.
User avatar
Tetsuo
Forum Members
Forum Members
Posts: 58
Joined: Wed Aug 19, 2009 12:00 pm
Location: UK

Re: What does this error mean? (with more info)

Post by Tetsuo »

I think you've answered your own question.

You will need to ensure that the function finfo_open is enabled on the version of PHP you are running. Check with your host if you cannot enable it locally, they should be able to help.
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: What does this error mean? (with more info)

Post by wmdvanzyl »

Thanks - that was my initial feeling as well. The problem is that the Host (well the call centre support) says its not a problem on the server... which i don't agree with, BUT i wanted to check here.

There's always the chance that someone else had the issue and solved it by.. let's say.. clearing their cache (which i have tried).
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: What does this error mean? (with more info)

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
wmdvanzyl
Forum Members
Forum Members
Posts: 214
Joined: Fri May 06, 2011 12:48 pm

Re: What does this error mean? (with more info)

Post by wmdvanzyl »

Hi Rolf. Thanks for the reply. Are you suggesting that i obtain more php info? I think i have most of the relevant info pertaining to the issue.

I have spoken to the host and this is their response:

Code: Select all

The expected magic database format changed in PHP 5.3.11 and 5.4.1. Due to this, the internal magic database was upgraded. This mostly effects code where an external magic database is used: reading an older magic file will now fail. Also, some textual representations of the mime types has changed, for instance for PHP would be "PHP script, ASCII text" instead of "PHP script text" returned.
I don't know how accurate it is, but the difference in PHP versions is just about the only thing i can find, so i have requested that the domain be moved to a server with php version 5.3. If that is not the issue, then i can at least remove it from the list of possibilities.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: What does this error mean? (with more info)

Post by calguy1000 »

Test this php file:

<?php

if( function_exists('finfo_open') ) {
die("all good\n");
} else {
die("your host needs to fix this");
}

?>
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: What does this error mean? (with more info)

Post by wmdvanzyl »

Will do - thx. But only tomorrow... it's midnight here and i'm tired :P

The host moved my site back to a server with PHP 5.3.23 and the issue has been resolved.

I will keep that snippet close-by for future use CG - thanks.
Post Reply

Return to “Modules/Add-Ons”