Updated php causes 500 error with AJAX field verification

OK, the problem is that you have a bunch of validation conditions which are missing the ; on the end, like ...

Code:
return '{etenant2___t2_employ_raw}' == '1'

Which is why the error is complaining about expecting a ;

I found 5 like that in the first four pages. But there's another 6 pages to go. So I'm going to hand the task over to you. Edit and check every element that has validations (you can tell from the number in the Validations column, if the x in x/y is not 0), and add the missing semi colons. I'd gotten as far as etenant2___t2_empl_cont_contname on page 4 (at 20 rows per page).

I think PHP 5.x was a little more lenient about missing semi colons on a single line of code.

-- hugh
 
Hugh
Excellent, thank you. Yes that has sorted it. Many thanks to you and troester for all your help, absolutely brilliant support.

As you say, php5.5 was not as strict.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top