Topic: xajax and php 5.3.1
My member registration/administration application has worked without problems for over a year. Last week I did some small changes and it still worked in all parts.
This week it stopped working properly when my host upgraded to latest version of php.
As I se it the server side is doing the job but only the very first part of the response is sent back to my form.
Any idea what to look for?
What should I check for when using the new php version?
Can I validate the php code on the server side in some tool?
/Staffan
February 26
I just got a message that there was a response to my issue:
The main problem was that php 5.3.1 impose new coding rules that made my php code stop working.
Just one thing I think Xajax could fix:
Not possible to read status of unchecked Checkboxes.
Fix: Add text fields and JavaScript to mimic status of checkboxes and
access the corresponding text field.
Other thing that needed fixing:
Does not work any longer to use:
XML-element: $entry->getAttributeNode('param') -> nodeValue;
when the attribute is missing.
Fix: Changed to $entry->getAttribute('param') ;
Must no longer try to access $_Session values that are not set.
Fix: Check with if (session_is_registered('param'));
Variables now must be initialized before used in expressions.
Fix: Only use initialized varaibles in expressions.
With these changes things seem to work!!
Last edited by westbeck (2010-02-26 9:04:58 AM)