Shouldn't this message be changed?
Since problems from expired contests are added to the main Judge, submissions within the originating contest will still be saved to the problem on the main judge, so "Contest is over - submission will not be recorded." is a tad misleading.
Shouldn't this message be changed?
Since problems from expired contests are added to the main Judge, submissions within the originating contest will still be saved to the problem on the main judge, so "Contest is over - submission will not be recorded." is a tad misleading.
Also, comment deletion returns a 'Not authorized!' - but that could be because I broke something / my permissions were modified from testing a potential security hole o_o.
Also, from testing that security hole:
[quote]A PHP Error was encountered
Severity: Notice
Message: Undefined variable: psetter
Filename: controllers/comments.php
Line Number: 237[/quote][quote]A PHP Error was encountered
Severity: Notice
Message: Undefined variable: csetter
Filename: controllers/comments.php
Line Number: 237[/quote]
Also, comment deletion returns a 'Not authorized!' - but that could be because I broke something / my permissions were modified from testing a potential security hole o_o.
Yeah, on that note, recently I wasn't able to delete a comment tree with the bomb icon, as it gave me an error - I had to do it manually. Perhaps this feature is broken now (unless you just fixed it).
Yeah, on that note, recently I wasn't able to delete a comment tree with the bomb icon, as it gave me an error - I had to do it manually. Perhaps this feature is broken now (unless you just fixed it).
The faded icon uses a CSS property that will not become valid until CSS 3.0 is adopted. In the meantime, this was the best solution that didn't break standards compliance.
The faded icon uses a CSS property that will not become valid until CSS 3.0 is adopted. In the meantime, this was the best solution that didn't break standards compliance.
Comment page links on the General or Contest Main pages are broken:
[quote]A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''690',10' at line 1
SELECT comments.id AS id,replyto,place,date,username,title,msg,sticky FROM comments LEFT OUTER JOIN (problems LEFT OUTER JOIN contests ON problems.contest = contests.id) ON comments.place=problems.name WHERE (problems.name IS NOT NULL AND (place = '' OR author = 'jargon' OR setter = 'jargon' OR problems.contest = 34)) ORDER BY sticky DESC, date DESC LIMIT '690',10[/quote]
Quotes around the 690 shouldn't be there =P.
Also, you really should escape all your table/column names with backticks or double quotation marks...
Comment page links on the General or Contest Main pages are broken:
A Database Error Occurred Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''690',10' at line 1
SELECT comments.id AS id,replyto,place,date,username,title,msg,sticky FROM comments LEFT OUTER JOIN (problems LEFT OUTER JOIN contests ON problems.contest = contests.id) ON comments.place=problems.name WHERE (problems.name IS NOT NULL AND (place = '' OR author = 'jargon' OR setter = 'jargon' OR problems.contest = 34)) ORDER BY sticky DESC, date DESC LIMIT '690',10
Quotes around the 690 shouldn't be there =P.
Also, you really should escape all your table/column names with backticks or double quotation marks...
Fixed. Blame PHP for being weakly typed.
Meh, I don't see the point of escaping table names. It's not as though they're dynamically generated or anything.
Fixed. Blame PHP for being weakly typed.
Meh, I don't see the point of escaping table names. It's not as though they're dynamically generated or anything.
I'm considering running a CCC practice contest ahead of the actual CCC (which will be held on March 1st, according to the CEMC website).
How many people would be interested in writing?
I'm considering running a CCC practice contest ahead of the actual CCC (which will be held on March 1st, according to the CEMC website).
I'm going to have to say I agree with Brian.
It gets really annoying after someone replies to your comment and you reply to them with another comment. It gets confusing to see which one's for which...
I'm going to have to say I agree with Brian. It gets really annoying after someone replies to your comment and you reply to them with another comment. It gets confusing to see which one's for which...
i do not get why i am getting this wrong; i did the test cases stated there and the examples that bbi5291 stated, on my computer and i got them all right, but I got it wrong on Peg judge
i do not get why i am getting this wrong; i did the test cases stated there and the examples that bbi5291 stated, on my computer and i got them all right, but I got it wrong on Peg judge
[quote]A PHP Error was encountered
Severity: Notice
Message: Undefined variable: problem
Filename: controllers/submissions.php
Line Number: 754[/quote]
Submit a problem in a disallowed language (e.g., A+B2 in Ruby).
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: problem
Filename: controllers/submissions.php
Line Number: 754
Submit a problem in a disallowed language (e.g., A+B2 in Ruby).
Just wondering,
why are some users not shown on the 'Users' page under all, but are still visible if you go to their link directly? (Like Dr.Sane, for example)
Is there an expiry limit for accounts?
Also, I believe some of the new members should be tagged as being PEG members.
(P.S. I know you're probably busy with uni work Brian, so I'm sorry for making all these requests. They're just here so you know what I think should be done whenever you have the time)
Just wondering, why are some users not shown on the 'Users' page under all, but are still visible if you go to their link directly? (Like Dr.Sane, for example) Is there an expiry limit for accounts? Also, I believe some of the new members should be tagged as being PEG members.
(P.S. I know you're probably busy with uni work Brian, so I'm sorry for making all these requests. They're just here so you know what I think should be done whenever you have the time)
Only users who logged in during the last month are shown. I think this feature is just designed to prevent the usage of exorbitant amounts of space on the page, but I could implement pagination.
I don't know all the PEG members; let Saravannan and Joyce take care of it.
Only users who logged in during the last month are shown. I think this feature is just designed to prevent the usage of exorbitant amounts of space on the page, but I could implement pagination.
I don't know all the PEG members; let Saravannan and Joyce take care of it.
Comments (Search)
Since problems from expired contests are added to the main Judge, submissions within the originating contest will still be saved to the problem on the main judge, so "Contest is over - submission will not be recorded." is a tad misleading.
Also, from testing that security hole:
Severity: Notice
Message: Undefined variable: psetter
Filename: controllers/comments.php
Line Number: 237
Severity: Notice
Message: Undefined variable: csetter
Filename: controllers/comments.php
Line Number: 237
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''690',10' at line 1
SELECT comments.id AS id,replyto,place,date,username,title,msg,sticky FROM comments LEFT OUTER JOIN (problems LEFT OUTER JOIN contests ON problems.contest = contests.id) ON comments.place=problems.name WHERE (problems.name IS NOT NULL AND (place = '' OR author = 'jargon' OR setter = 'jargon' OR problems.contest = 34)) ORDER BY sticky DESC, date DESC LIMIT '690',10
Quotes around the 690 shouldn't be there =P.
Also, you really should escape all your table/column names with backticks or double quotation marks...
Meh, I don't see the point of escaping table names. It's not as though they're dynamically generated or anything.
How many people would be interested in writing?
It gets really annoying after someone replies to your comment and you reply to them with another comment. It gets confusing to see which one's for which...
Severity: Notice
Message: Undefined variable: problem
Filename: controllers/submissions.php
Line Number: 754
Submit a problem in a disallowed language (e.g., A+B2 in Ruby).
why are some users not shown on the 'Users' page under all, but are still visible if you go to their link directly? (Like Dr.Sane, for example)
Is there an expiry limit for accounts?
Also, I believe some of the new members should be tagged as being PEG members.
(P.S. I know you're probably busy with uni work Brian, so I'm sorry for making all these requests. They're just here so you know what I think should be done whenever you have the time)
I don't know all the PEG members; let Saravannan and Joyce take care of it.