Sharif-Judge
Sharif-Judge copied to clipboard
Always Pending
Assalomu Aleykum,
I have recently installed the SHJ but having pending problem all the time. I went through all the previous discussions but couldnt find any solution to my problem. LOG says FILE NOT FOUND. I created sample assignment and after uploading STATUS is always PENDING. I check the database and my sample is in SUBMISSIONS and QUEUE sections. I am thinking there is some error with queueing or compiler. I dont have Perl installed but I have CodeBlocks and Visual Studio 2017 Pro installed. I want to check the compiler path code but I couldnt find the code which is calling the compiler. Please help me solve my issue.
Thank you for your time and consideration
Hi, Probably you have to check permissions of directory where submissions are stored. So, chmod 0777 -R and_your_directory Kindly Regards c:
Thank you for your kind reply. I was thinking that the problem is about the permissions too. However, I dont understand how to and where to write that command as im working windows 10. Please can you clarify how to give that access to folders.
Thank you
And please can you tell me how to check if it is correctly accessing the compilers in my laptop. I have Code blocks and VS but not sure if SHJ can find and use them
Hi, SHJ is made for Unix'es, and I didn't try to use it on WIN. Regards c:
When You'll have some questions about installation on debian 8, I can help c:
https://contester.000webhostapp.com I have recently installed the SHJ but having pending problem all the time.
ok, but tester is written in BASH, which you can open on Debian or other UNIX
Hello, sorry for taking so long. I had been trying to install Debian and failed to make a databse in that after a long try. but i have ubuntu installed and made mysql database in it, installed latest version php and perl. Now i,m a little confused to how connect SHJ and my database. I used phpmyadmin in windows but i cant use it here. is it okay if i just fill in the databases.php file with necessary information. and can u also tell me how to grant permission for php shell exec and twig folders
Thank you very much for your kind help and patience,
I gave permission to the folders with chmod 0777 but still same pending. I cheched with development mode and got the following error list.
A PHP Error was encountered
Severity: 8192
Message: Function mcrypt_get_iv_size() is deprecated
Filename: libraries/Encrypt.php
Line Number: 338
Backtrace:
File: /opt/lampp/htdocs/WJ/application/controllers/Submissions.php Line: 23 Function: __construct
File: /opt/lampp/htdocs/WJ/index.php Line: 285 Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Function mcrypt_decrypt() is deprecated
Filename: libraries/Encrypt.php
Line Number: 347
Backtrace:
File: /opt/lampp/htdocs/WJ/application/controllers/Submissions.php Line: 23 Function: __construct
File: /opt/lampp/htdocs/WJ/index.php Line: 285 Function: require_once
And I dont have a log file in assignements folder. when i click log in submissions page I get file not found.
Thats my complete error List. Please help me solve this issue. I set all the permissions to folders. I dont know what to do mozilla.pdf