Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always Pending #66

Open
wahidustoz opened this issue Jul 23, 2017 · 10 comments
Open

Always Pending #66

wahidustoz opened this issue Jul 23, 2017 · 10 comments

Comments

@wahidustoz
Copy link

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
2017-07-23 2

@wojcik13
Copy link

Hi,
Probably you have to check permissions of directory where submissions are stored. So, chmod 0777 -R and_your_directory
Kindly Regards c:

@wahidustoz
Copy link
Author

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

@wahidustoz
Copy link
Author

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

@wojcik13
Copy link

Hi,
SHJ is made for Unix'es, and I didn't try to use it on WIN.
Regards c:

@wojcik13
Copy link

When You'll have some questions about installation on debian 8, I can help c:

@BakhodirIsmatov
Copy link

https://contester.000webhostapp.com
I have recently installed the SHJ but having pending problem all the time.

@wojcik13
Copy link

ok, but tester is written in BASH, which you can open on Debian or other UNIX

@wahidustoz
Copy link
Author

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,

@wahidustoz
Copy link
Author

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.

@wahidustoz
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants