niteosoft / simplejobscript

free job board software
Other
38 stars 24 forks source link

Fatal error during setup #11

Closed tsvallender-zz closed 4 years ago

tsvallender-zz commented 4 years ago

Installing simplejobscript on a Debian 10 system using MariaDB 10.3.18, PHP 7.4.1, Apache 2.4.38, I receive multiple errors after entering database information as follows:

Warning: Declaration of Db::query($query) should be compatible with mysqli::query($query, $resultmode = NULL) in /var/www/roles.tsvallender.co.uk/public_html/_lib/class.Db.php on line 51
Database connection has been set up successfully. Details are stored in "_config/config.envs.php" file. If you need to change settings again, manually edit this file on server. If database import did not run, import it manually from the "db" folder.

Fatal error: Uncaught Error: Object of class Db could not be converted to string in /var/www/roles.tsvallender.co.uk/public_html/_lib/class.Db.php:56 Stack trace: #0 /var/www/roles.tsvallender.co.uk/public_html/installer.php(122): Db->query() #1 {main} thrown in /var/www/roles.tsvallender.co.uk/public_html/_lib/class.Db.php on line 56
niteosoft commented 4 years ago

Hello,

this looks like an environment specific issue. We run the script on Debian based OS systems with MariaDB, PHP & Apache without any major problems. Because of single instance of this we unfortunately have no time available to simulate the problem and provide any fix for it.

Thank you for understanding.