Control not working after upgrade

Have an issue with a control that has been in use for a couple of years, which has been running fine on Ubuntu 16.04 and MySQL 5.6.

The control was developed with a field that had an event with an OnChange which runs a PHP script and populates some other fields. The hosting server has been updated to Ubuntu 18.04 and MySQL 5.8.

The control application is working but any change to the field seems not to be triggering the OnChange event and is thus not populating the fields.

Can anyone give me some pointers on how to possibly troubleshoot this issue?

Thanks in advance.

Hi,

Check:

  • There was any change to the PHP version? I’ve had problems with AJAX and events under PHP 7.1 and 7.2. I keep using PHP 7.0.x
  • Use the developer tools from your browser (F12 if you’re using Chrome, Firefox or Edge) and check if there’s any http error.
  • Have you tested your SQL sentences directly in MySQL?

Let us know…

Thanks for the pointer. 100% solved by downgrading to php 7.0 on ubuntu and works fine now. Great!