Gotta bug after install of v2.0...

stevehaworth 08 Jun, 2007
The install worked fine. Went to Configuration and changed the radio button to My Template (just to check it out). Joomla! confirmed that the configuration had been changed properly, but underneath the confirmation, I get the following:

Notice: Undefined variable: mosConfig_list_limit in /var/www/vhosts/mydomain.co.uk/httpdocs/main/administrator/components/com_chronocontact/admin.chronocontact.php on line 164

Any ideas why this should occur?
Max_admin 08 Jun, 2007
Hi,

Could you please go into "global configuration" of ur site then save it ?

Please let me know after this if the problem still occurs!!

Cheers

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

Saved the Global Config file - saved no problem. Back into ChronoForms Configuration, changed the options, saved , same message came up.
:(
Max_admin 08 Jun, 2007
This message wont prevent it from functioning, do u see the top bar with "new-edit-delete-...etc" icons ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
stevehaworth 08 Jun, 2007
Yes, the icons are there. When I click on new, the form entry details screen loads, but Im also getting 'undefined property' warnings in some of the form entry boxes, e.g

<br /><b>Notice</b>: Undefined property: emailfield in <b>/var/www/vhosts/domain.co.uk/httpdocs/main/administrator/components/com_chronocontact/admin.chronocontact.html.php</b> on line <b>156</b><br />

...in the email field.

You think something has corrupted on install?
Max_admin 08 Jun, 2007
which joomla version do u have ? and do u have CF v2.0 ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rojer_31 12 Jun, 2007
I have the same problems. I use Joomla version:
Joomla! 1.0.12 Stable [ Sunfire ]
and v 2.0 of chrono forms
Max_admin 12 Jun, 2007
Hi,

Iam sorry for this, This is a bug yes, the solution will be at V 2.1 but for now this is the quick fix:

open file admin.chronocontact.php

line 163:


global $database,$mosConfig_absolute_path, $mainframe;


change to :


global $database,$mosConfig_absolute_path, $mainframe, $mosConfig_list_limit;


Cheers

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

This is a PHP warning Notice because paramsvalues->emailfield doesn't exist - for whatever reason. A blank entry is perfectly OK here and the form should run without any problem.

This only shows up because you have your PHP Error reporting set to a high level. This is fine for developing but the recommendation for production is to set error_reporting to 6135 which is 'All errors except notices'. You should be able to see the current setting in the Joomla Admin System phpinfo tab.

Bob

Later: I see Max replied first and has given you the coding fix.<br><br>Post edited by: GreyHead, at: 2007/06/12 13:23
bertm 16 Jun, 2007
I had the same problem on a fresh Joomla build. The PHP code fix eliminated the single error reported at the top of the configuration screen, but I still get tons of error messages filling up the fields when I create a new form.

I have a live site that exhibits this behavior. I checked System Info - PHP error_reporting = 2047. Then I tried all of this on a local server and there were no problems. Its PHP error_reporting value is 2039.

Since you guys are working on this, I figure you should have all of the info that any of us have. Don't know if it is meaningful. I am pretty sure I can use this version, just have to clear those fields each time I start a new form - no biggie.

Thanks loads for a very promising component.
GreyHead 16 Jun, 2007
Hi,

The difference between 2039 & 2047 is the '8' that flags E_NOTICE errors so this exactly explains the behaviour.

6135 comes from adding on another 4096 for E_RECOVERABLE_ERROR that was added in more recent versions of PHP.

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

VPS & Email Hosting 20% discount
hostinger