Menu

I am getting loop and jason parsing errors, help!

Roy Keith
2019-02-12
2019-02-15
  • Roy Keith

    Roy Keith - 2019-02-12

    Fatal error: 'break' not in the 'loop' or 'switch' context in /home/katherih/public_html/timetable/database.php on line 15

     
  • Roy Keith

    Roy Keith - 2019-02-12

    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.

     
  • Geoff Partridge

    Geoff Partridge - 2019-02-15

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB