ngsankha / codejudge

host coding competitions anywhere, anytime
http://sankhs.com/codejudge
MIT License
90 stars 53 forks source link

Submission time closed for newly added problem #17

Open ngsankha opened 11 years ago

ngsankha commented 11 years ago

Bug reported by Shivendra Pal Singh:

I cannot get past the issue whenever a new problem is updated and if a user tries to solve it, it shows submission time is closed. Apparently when new problem is added it is not updated in the database,i have beeen trying to rectify this,can you please help?

Additional information reported:

After you updated the scoring scheme,install.php was unable to update the database with "event" information. Null array was returned when later on the record was fetched by update.php

An INSERT QUERY had to be modified in install.php for it to work back to normal

ngsankha commented 11 years ago

Reportedly this works fine till 9a6d7864ea6888a8de3faed9fab66a303d1b583b

swapagarwal commented 11 years ago

its working fine after #13 was closed (start and end times added so submission time closed shows only when end time has been reached)