Forums

Why chronoforms is writing a lot in php_error.log?

hgaleano 11 Dec, 2015
Hi everyone

I'm developing a web site in localhost, and I have noted that my php_error log is growing faster while I am editing my forms with the chronoforms wizard. I made a test, I have stoped all wamp services and I cleaned all the logs. After that I started all services and then I opened the chronoforms wizard with a tiny test form, it just has 3 dropdowns (no more), is a test for refreshing dynamic data through AJAX.

After loading is complete, i reviewed the php_log file and I see something like the next:

[11-Dec-2015 15:37:57 UTC] Tipo: dropdown
[11-Dec-2015 15:37:57 UTC] Tipo: dropdown
... 30 times more...
[11-Dec-2015 15:37:58 UTC] Tipo: dropdown

Of course, it 33 lines with a form with 3 controls, and I have a lot more complex forms.

Anybody can tell me what is wrong? How can I avoid this massive log?

Thanks in advance

Hugo
GreyHead 11 Dec, 2015
Hi Hugo,

I don't recognise the messages - do they match your form name?

I'd suggest that you try setting Site Error Reporting to None and see if that makes a difference. As far as I know ChronoForms doesn't write anything to the PHP Log but it could be that your server is recording the Ajax calls somehow.

Bob
hgaleano 11 Dec, 2015
Hi Bob
Thanks for your quick answer. The form name is "prueba" it means test in spanish, and it does not appears in the log. I removed all events and and DBRead in order to test if is there something wrong with AJAX, but nothing changes. I let just the 3 clean dropdowns. I tried your suggestion too, setting error reporting to none but still is writing 33 times when I open my form.

Any other clue?

Hugo
GreyHead 12 Dec, 2015
Hi Hugo,

Sorry I have no ideas, I've done a search and don't think that 'Tipo' is anywhere in the ChronoForms code. I don't have any clues where this message is coming from :-(

Bob
hgaleano 14 Dec, 2015
Hi Bob
I have been looking for something in the code too, when form is edited, but did not find anything yet. I think is when the code recognize the type (Tipo in spanish) of each control to know what php code needs to load. I made another test with a fresh form, but the only thing I found, is that chronoforms writes eleven times for each control in the form, why eleven? I don't know. Another thing is with the timezone written in log, my php.ini is configured with the timezone America/Bogota, but the lines written by chronoforms have UTC datetime.

Thanks for your help
Hugo
This topic is locked and no more replies can be posted.