fushar / regrader

ICPC-style programming contest system
MIT License
34 stars 25 forks source link

Database #75

Open hyperstand opened 8 years ago

hyperstand commented 8 years ago

Hello, what is the diference between the bump version and tar.gz, how to set up the database and run it because I got error saying Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php. which should i install the tar.gz or bump version? I'm installing in a ubuntu server.

Thank you

hyperstand commented 8 years ago

Uncaught exception 'Dotenv\Exception\InvalidPathException' with message 'Unable to read the environment file at D:\xampp\htdocs\a\regrader1/.env.' in D:\xampp\htdocs\a\regrader1\vendor\vlucas\phpdotenv\src\Loader.php:75 Stack trace: #0 D:\xampp\htdocs\a\regrader1\vendor\vlucas\phpdotenv\src\Loader.php(52): Dotenv\Loader->ensureFileIsReadable() #1 D:\xampp\htdocs\a\regrader1\vendor\vlucas\phpdotenv\src\Dotenv.php(42): Dotenv\Loader->load() #2 D:\xampp\htdocs\a\regrader1\index.php(298): Dotenv\Dotenv->load() #3 {main} thrown in D:\xampp\htdocs\a\regrader1\vendor\vlucas\phpdotenv\src\Loader.php on line 75

fushar commented 8 years ago

Please use the dist (.tar.gz) one.

Did you actually perform the steps mentioned here: https://github.com/fushar/regrader#3-configure-regrader?

hyperstand commented 8 years ago

ok,yes i didnt understand installing in innodb. is it posible to put it in a webhosting server

fushar commented 8 years ago

As long as it gives you access to the console (to run the grader), it should be possible.

hyperstand commented 8 years ago

http://imgur.com/a/YLysH why is this

fushar commented 8 years ago

Well... that means your database configuration is wrong and thus regrader cannot connect to it.

hyperstand commented 8 years ago

Error: cannot write to the main directory Please make sure that the web server has the permission to write to /var/www/html/90.

Installation failed.

im runing in ubuntu server