Forums

Problem with v3 stable

digisam 17 Sep, 2008
I installed version 3.0 stable and ChronoForms Bot 0.6 J1.5 try to create a form but I always errors like this:

Notice: Undefined property: stdClass::$plugins in D:\Programmi\EasyPHP 2.0b1\www\prova\components\com_chronocontact\chronocontact.html.php on line 302

What is the problem?

Thank you
Max_admin 17 Sep, 2008
Hi,

the notice appears on both the component page and the mambot page too ? try to open the form at the admin area then save it again.

this is a PHP notice, not hamful, its because you are working on a development environment.

let me know!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
timmiller 18 Sep, 2008
Hi,
I'm having the same issue. It's on the back end, and also on the front end. I'm not sure what you mean by "the component page and the mambot page too?"

If I click on the link in the forms manager, then the link I get the same results as if I actually linked this form to a menu item. Also, I'm seeing issues with the plugins section [attachment=0]form_issue.jpg[/attachment]

Not sure what's going on, but if I can get this working correctly, I'll have a very happy client.

Thanks!

tm
Max_admin 18 Sep, 2008
Hi,

all you need is to save the form and when you open it for editing again these errors will not be there, this server has error reporting set to very high which is not recommended for a production server or even for joomla itself, but anyway I will try to remove those notices.

Regards

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
timmiller 18 Sep, 2008
Thanks,
I've changed the form slightly and still get that line of code before the form. What do you suggest for error reporting? I believe I can change this, but not sure where it is.

tm
timmiller 18 Sep, 2008
Ok,
I've gone into my php.ini file and changed the setting from -log_errors= On to Off and restarted apache but didn't find anything with respect to a setting with other that on/off variables.

Also, I'm still getting:
Notice: Undefined property: stdClass::$plugins in /home/stowes.admin/www/itltexas.stowes.biz/components/com_chronocontact/chronocontact.html.php on line 303

on the front end and through the admin link.

tm
timmiller 18 Sep, 2008
I'm wondering if I should downgrade and go with either the J1.0 version or J1.5 with CF2.5....I'm open for suggestions.

I'm not sure what if anything can be adjusted on the chronocontact.html.php file...

tm
GreyHead 18 Sep, 2008
Hi timmiller,

If I have teh correct version line 303 is:
if ( count($plugins) ) {

Try replacing this with:
if ( isset($plugins) && count($plugins) > 0 ) {


Bob
timmiller 18 Sep, 2008
Bob,

Thanks for the code. Unfortunately I cannot find that string anywhere in the file.
I've got 302,303,304
Line 302:
$ava_plugins = explode(",",$paramsvalues->plugins);

Line 303:
foreach($ava_plugins as $ava_plugin){

Line 304:
$query     = "SELECT * FROM #__chrono_contact_plugins WHERE form_id='".$rows[0]->id."' AND event='ONLOAD' AND name='".$ava_plugin."'";
Max_admin 18 Sep, 2008
Hi Tim,

have you opened the form then saved it again at admin area as suggested ? if so then please try to extract the attached file and replace your file under administrator/components/com_chronocontact/ with the one attached.

let me know the results!

Regards

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
timmiller 22 Sep, 2008
I'm sorry I'm afraid that didn't help either. I've saved the form, created new ones, changed error log sensitivity in my php.ini.

I'm not sure what's going on. Please take a look at the attachment- I'm getting this issue on the back end as well.

[attachment=0]form_issue1.jpg[/attachment]

tm

Thanks in advance!
Max_admin 23 Sep, 2008
Hi Tim, whats your php.ini error setting value ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
timmiller 23 Sep, 2008
Hi,
I changed the error log display to "Off" and the sensitivity to only major errors...
I'll check it out and post the code in a minute.
timmiller 23 Sep, 2008
Hi,

I'm sorry- I didn't change the correct value...I only changed the comment!

OLD:
error_reporting = E_ALL - All errors and warnings (doesn't include E_STRICT)
NEW:
error_reporting = E_ERROR - fatal run-time errors

Thanks again for the great app!

tm
Max_admin 23 Sep, 2008
Hi Tim,

Thanks, so now with E_ERROR those notices are not shown correct ? I will fix them by the next release!

Regards

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
diorist 16 Oct, 2008
OK, this is truly a "dumb" workaround, but it got rid of my front-end undefined plugin class error w/ v3 stable...

In the plugins tab for a given form, check the box by Profile Page plugin. Save, but don't enter any params for the plugin (in the link off the Forms Management page). Of course, the plugin won't work without params, but just checking the box kills the "undefined property" error with no obvious adverse side effects.

Prior to this, I tried everything from modding the html.php per Bob's suggestion to changing error prefs in the php.ini file. None of that worked. In on a shared server, though, so maybe my local php.ini is overridden at the root. Also, I don't see errors in admin, just on the front end, so I don't know if it works for both.

FWIW, I think Chronoforms is a grrrreat extension; however, the plugin functionality should be a focus for the dev team. Seems like there's lots o' potential there, but it's almost impossible to figure out how to get the plugin stuff to work. Plus, as of V3, it's a nice-to-have feature that creates general problems when not implemented. That's just wacky. IMHO, CF should either fix AND document the feature or just drop it.
Max_admin 16 Oct, 2008
Hi diorist,

thanks for the tip, the issue is fixed but comes in the new release, it needs a front and admin files patching so I prefer to leave this until a new version is out, notices should not appear by default on any production site!

Cheers,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.