Closed TheHolyLoli closed 7 years ago
Blob/text columns can't have a default value, not even the empty string in MySQL.
You should remove all default value of text columns in install.php
To make it work I had to remove all the default values for TEXT type columns from the installation script. MySQL doesn't support default values for TEXT type data.
This should not be closed as nobody updates the code.
@madl-ash can you reopen this? Other people may struggle finding out the root of problem.
Hello,I tried installing Sharif judge on my Ubuntu 16.04 (Desktop). I configured required files like
database.php
andindex.php
I madeapplication/cache/twig
writable bywww-data
I opened the installation page,and i entered admin username-email and password.but when Sharif-judge is trying to make database ready,it gets an error:root
,as i don't mind about the security)shj_sessions
shj_submissions
shj_assignments
Here are the screenshots:
Edit(Added screenshot of tables):
My system information:
OS : Ubuntu16.04 PHP Version : 7.0.4-7ubuntu2.1 MySQL Version : 5.7.12-0ubuntu1
what i have already tried: