Forums

What does this mean?

ksorman 11 Oct, 2007
I have ChronoForm on one of my sites, and it works great - however, when I looked at the page tonight I see this message at the top.

I am running this on a Joomla web site.

Notice: Undefined variable: imver in /home/website.com/httpdocs/components/com_chronocontact/chronocontact.php on line 147

What does this mean?

Any help greatly appreciated....
GreyHead 11 Oct, 2007
Hi ksorman,

This means two things:

First, that Max has an undefined variable in the code, though this is pretty harmless.

Second, that you have a very high level of error reporting set on your site as this is a warning message that doesn't normally show up.

You can fix the first by putting $imver = ""; early in the function showform() in chronocontact.php (it needs to be before the line "if ( trim($paramsvalues->imagever) == 'Yes' ) {" which is line 80 in my version but you have different line numbers.

You can probably fix the second by setting Error Reporting to 'System Default' on your site Global Configuration | Server tab.

Bob
This topic is locked and no more replies can be posted.