Hi nervosud,
These are PHP notices about things that 'might' cause a problem. Usually you can turn them off by setting 'Error Reporting' to 'System Default' in your site Global Configuration.
Bob
just add element titles, e.g.:
name=Name
and fill something into a:
General - Omitted fields names
e.g. 'Nothing' there must be some value to not display the notice...
Jan
Hi Jan,
The problem with Error messages is that PHP5 issues warnings and notices about undeclared variables; and ChronoForms in effect creates a new set of variables from the form field names.
Max really neeeds to put in a few lines of code to predeclare them and avoid the messages but it's not in the releases so far.
It's easy enough to code around if you know a little PHP but hard to explain to users who don't know any.
Have you hit a problem with this? If so, post the error caode and I'll give you a fix for it.
Bob
PS Congratualtions on PhocaGallery, it's an excellent extension. I've just been installing a version this week.
Thank you....
I got the same errors as nervosud get. But if I added the items I have wrote, no errors are displayed now, so if nervosud add:
e.g. value 'Nothing' into Omitted field, the variable will be filled (notice will be not displayed)
If he add into elements titles, e.g.:
name=Name
the $name variable will be exist and no notice will be displayed...
One question: is there a possibility to validate the form on server side ?
Thank you, Jan
great to hear it...
BTW: the ChronoForms component is great and powerfull, I will vote for it...
thank you, Jan
Hmmm...
I'm not sure I understand. I added Entries into those fields that were suggested here but I am still getting this error:
Notice: Undefined property: stdClass::$name in C:\joomla\components\com_chronocontact\chronocontact.php on line 364
Notice: Undefined property: stdClass::$title in C:\joomla\components\com_chronocontact\chronocontact.php on line 364
Notice: Undefined property: stdClass::$suggestion in C:\joomla\components\com_chronocontact\chronocontact.php on line 364
Notice: Undefined property: stdClass::$button in C:\joomla\components\com_chronocontact\chronocontact.php on line 364
Hi sock2me,
These are PHP warnings, you can fix them by adding some code but the simplest way is usually to go to your Joomla Global Config and set error reporting to System Default (or something lower than Maximum).
Bob