I'm getting the variable error in my module, using the latest 3.x version of Chrono engine.
It shows in the initial display of the chrono form module -- making the form "useless" until I can find a fix.
Hosting is: hostgator.
Looking forward to a fix🙂
Thanks
Rowby
Hi Rowby,
Please show me the error you get exactly!🙂
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Rowby,
Please go to the Global Configuration | Server tab in your site and set Error Reporting to 'System Default', 'Simple' or 'None'. There's a better than 95% chance that this will hide these message. If it doesn't then you may have to configure Error Reporting in your PHP.ini configuration file.
Bob
Hi Bob,
I tried both simple and default and the error still shows.
Do you have the code handy to change the php.ini file?
Thanks
Rowby
Thanks I'll run that link through a php thingie forum I subscribe to and they'll give me the info -- and I'll post it here for others.
BTW is this an error reporting bug that can be turned "off" within chronoengine -- should I report it as a bug?
Rowby
Hi Rowby,
It's a known problem with the coding if you have error reporting set too high. It's probably the most posted query on the forums here. Max has said that he will do his best to hunt them all down for the next release that he's working on now.
As I said, for 95% of users setting the Error Reporting down to a lower level hides the NOTICE & WARNING errors. If there's a PARSE error or a FATAL error they should probably show up.
Bob
Hi Rowby,
As Bob said, those are fixed in the coming update!
pay attention, the form is breaking your page layout, its wider than the module, I guess you already know this!
you can fix the 2 notices permanently by using the attached file :
cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Yup I'll fix the width.
And thanks for the fix files!
Hi
Where do I put the helper.php file? WHich folder. Or just in the web root?
Thanks
Rowby
Hi rowby,
I think it replaces root/modules/mod_chronocontact/helper.php
Bob
Hi rowby,
I'm a bit baffled . . . neither Max's file, nor yours (which appears identical) nor the original have a $plugins Object on line 304 (or anywhere else that I can see). I must be missing something there.
Anyhow, clearly the None setting isn't setting Error Reporting to None - please try 'Simple' and 'System Default' and see if either of these do the trick.
Bob
Hmmm... Tried those just now same error. I will try the same form on a different site on the same server. I'll see if that makes a difference.
Is there anything I can place in a php.ini file that might turn off these kinds of errors?
Rowby
I fixed it via creating a php.ini file with the following in it:
display_errors = Off
log_errors = On
error_log = "/var/log/php_error.log"
I uploaded it to the web root
Now the errors are gone.
NOTE: If anyone else is trying this, make sure you double check to see if you already have a php.ini file. You don't want to overwrite itl
Thanks all!
Rowby
Hi rowby,
Excellent, thank you for the info.
Bob