DataTables warning (table id = 'DataTables_Table_0'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To fix these issues, just log into your CPanel and change your PHP Software version from 7.0 back to the default 5.4 PHP version (see screen shots).
The timetable php scripts and SQL database are coded on PHP 5.0 and below. After PHP 7.0, a lot of the SQL commands no longer worked, preventing the php scripts from communicating with the MYSQL database.
If you leave your CPanel set at default php 5.4, you shouldn't have anymore issues and it won't effect any other web software you install in to your public htm folder.
Fatal error: 'break' not in the 'loop' or 'switch' context in /home/katherih/public_html/timetable/database.php on line 15
DataTables warning (table id = 'DataTables_Table_0'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
Hi Roy
To fix these issues, just log into your CPanel and change your PHP Software version from 7.0 back to the default 5.4 PHP version (see screen shots).
The timetable php scripts and SQL database are coded on PHP 5.0 and below. After PHP 7.0, a lot of the SQL commands no longer worked, preventing the php scripts from communicating with the MYSQL database.
If you leave your CPanel set at default php 5.4, you shouldn't have anymore issues and it won't effect any other web software you install in to your public htm folder.