regrader icon indicating copy to clipboard operation
regrader copied to clipboard

Database

Open hyperstand opened this issue 8 years ago • 7 comments

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 avatar Oct 11 '16 13:10 hyperstand

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

hyperstand avatar Oct 11 '16 13:10 hyperstand

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

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

fushar avatar Oct 11 '16 14:10 fushar

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

hyperstand avatar Oct 11 '16 14:10 hyperstand

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

fushar avatar Oct 11 '16 14:10 fushar

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

hyperstand avatar Oct 11 '16 14:10 hyperstand

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

fushar avatar Oct 11 '16 16:10 fushar

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

hyperstand avatar Oct 11 '16 18:10 hyperstand