the path '/var/www/casebox/' should include a directory 'logs' , if not ,the apache will raise some error, may be, there is no place to store the ssl_access_log, ssl_error_log and demo1_error_log file .
in the demo1.sql , the table of crons maybe should have a column of last_action.