I’ve had the scheduler working fine for the last 3yrs in a stable environment. (Only use the timeline view).
Now having to move to new server.
Old server was using an older version of PHP. New server has PHP 7.2.10
I’ve made some progress, and I now feel “close” to a solution, but not quite there yet!
Original error messages (below) solved - I had missed the line "$scheduler->render_table(“timetable… etc” from config.sys. Found this thanks to this forum post:
Scheduler - No events shown with Connector
OK, now I have the database returning data to the page, but STILL NOT DISPLAYING.
Here’s what I get:
- timeline page loads. I can see data returning from database like:
…which looks right to me.
But, data doesn’t display on the timeline.
ADDITIONALLY, if I add an event, it shows on the page, and text goes RED (I assume this is indicating that there’s an error). Saving/editing causes the following return from EVENTS_TREE_DB.PHP:
action type=‘error’ sid=‘1541667586949’ tid=‘1541667586949’
and events are not added/updated in the database.
Now, I’m completely lost, as these seem to be scheduler “internal” errors, not db, php or server errors.
Help someone please?
ORIGINAL POST HERE…
Loading scheduler causes the following error:
(from events_tree_db.php) Uncaught Error: Call to undefined function mysql_query() in /var/www/html/timetable2/common/connector/db_mysql.php:11
I can ‘double-click’ to create an event, which shows the event-create dialog screen, but on saving I get:
Uncaught Error: Call to undefined function mysql_real_escape_string90 in […]timetable/common/connector/db_mysql.php:29
…and, of course, I see no activity in the database (MySQL).
I’ve hunted through all the support info I can find, including notes about minor regressions by Alex Klimenkov, and implemented suggested fixes.
Tried grabbing latest versions of db_mysqli , db_mysql and db_common from the codebase, but still going a bit mad trying to find the problem!!
I am sure this is just a connector config problem, but I’ve run out of ideas and things to try.
Help! I’m going insane! Can someone suggest where I look next?