Error: Undefined variable: mosConfig_list_

kay 16 Jun, 2007
Hi,

I have installed chronoform ver 2 without any problem and i tested it and found it working. However, just when i am about to start using, i found this error

Notice: Undefined variable: mosConfig_list_limit in /srv/www/web11/web/administrator/components/com_chronocontact/admin.chronocontact.php on line 164

displayed at the top of the form manager in the admin mode and this error

Notice: Undefined variable: imver in /srv/www/web11/web/components/com_chronocontact/chronocontact.php on line 47

at the top of my form. Everything works fine though, but the error shows. Please can you help me.

Thank you in advance.

kay
GreyHead 17 Jun, 2007
Hi kay,

As I posted somewhere else here, these are both PHP Notices that are best avoided by setting the PHP Error display code. They nave no practical effect on the Component except showing the error message😟

I think the first notice can be fixed in the code by changing line 163 of admin.chronocontact.php to
	global $database,$mosConfig_absolute_path, $mainframe, $mosConfig_list_limit;


and I think the second notice can be fixed in the code by changing line 36 of chronocontact.php to
	} else { $imver=""; }


Bob
Max_admin 17 Jun, 2007
Hi Kay,

Please apply Bob's solution, this should fix it for you!!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
kay 17 Jun, 2007
Hi,

This works just perfectly. Thank you so much. The errors are all gone.:)

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