You are not authorised to view this resource.

The forum to report every bug you find or tell us what you'd like to find in UVa OJ

Moderator: Board moderators

Locked
ggaammeerr
New poster
Posts: 3
Joined: Sat Nov 15, 2008 6:26 pm
Location: EU

You are not authorised to view this resource.

Post by ggaammeerr »

I've got a little problem with the OJ, I hope you might be able to help. When I view the "My submissions" page and click on a problem name to go back to it, I only get a page saying "You are not authorised to view this resource.". It doesn't do anything unusual other than that.

Thank you in advance for helping.
The beauty of programming lies in simplicity.
Naani
New poster
Posts: 12
Joined: Mon Sep 25, 2006 11:10 am
Location: India
Contact:

Re: You are not authorised to view this resource.

Post by Naani »

I am having the same problem too. Previously, this did not happen. I sent a mail to the admins regarding this, but so far, haven't got any reply.

Cheers
Vinay
I am signing an important document!
yiuyuho
A great helper
Posts: 325
Joined: Thu Feb 21, 2002 2:00 am
Location: United States
Contact:

Re: You are not authorised to view this resource.

Post by yiuyuho »

I am having the same problem. In addition, I get the same error message when I try to look up the statistic of a different author, I could access them before, but not anymore. I believe this is a problem on the UVa Judge side.
fh
Learning poster
Posts: 59
Joined: Wed Jan 19, 2005 3:24 pm
Location: Jakarta
Contact:

Re: You are not authorised to view this resource.

Post by fh »

Are you guys using this url to look at other people statistics:

http://icpcres.ecs.baylor.edu/onlinejud ... userid=339

I also get the same message here but the strange thing is that my tool can still access the page and read the statistics!

http://felix-halim.net/uva/hunting.php?id=339

Clicking update button actually updates the statistics, and the page I used to get the info from UVA is the above url. Really strange...
Visit my script to hunt UVA problem here:
http://felix-halim.net/uva/hunting/
-----------------------
Felix Halim
yiuyuho
A great helper
Posts: 325
Joined: Thu Feb 21, 2002 2:00 am
Location: United States
Contact:

Re: You are not authorised to view this resource.

Post by yiuyuho »

That's weird, but very cool! I'll just use that if I need to extract authors information ;)

Thanks for your tools Felix!!
tryit1
Experienced poster
Posts: 119
Joined: Sun Aug 24, 2008 9:09 pm

Re: You are not authorised to view this resource.

Post by tryit1 »

All these occur when you click on My submissions and then click on a problem . Or on the problem stats and then another user.

In the url just delete the "com_" in the url and reload

icpcres.ecs.baylor.edu/onlinejudge/index.php?option=com_onlinejudge&Itemid=9

will become

icpcres.ecs.baylor.edu/onlinejudge/index.php?option=onlinejudge&Itemid=9

This is pretty stupid but it works. I don't know why the 1st works for problem links but not for author statistics.

I tried to get some URL rewrite browsers but didn't find anything, so that i could always rewrite option=com_onlinejudge requests to option=onlinejudge incase of icpcres.ecs.baylor.edu requests. I think it is easier to do if you have Apache and URL rewrite module.


Looks like there is a solution if you are using firefox.
Install this firefox extension
https://addons.mozilla.org/en-US/firefox/addon/5064
After enabling the extension/restart the browser, goto to Tools -> Redirector.
Fill the contents as

Code: Select all

Example url: http://icpcres.ecs.baylor.edu/onlinejudge/index.php?option=com_onlinejudge&Itemid=8&category=14&page=show_problem&problem=1212
Include Pattern: http://icpcres.ecs.baylor.edu/onlinejudge/index.php\?option=com_onlinejudge(.*)$
Redirect to Pattern Type: http://icpcres.ecs.baylor.edu/onlinejudge/index.php?option=onlinejudge&$1
Check Regular Expression.

Click Test Pattern. See if the URL is getting redirected.
Click ok. Now all your worries should go. Mine did.

I left the exclude pattern as Blank.


About the other problem of infinite redirect on icpcres.baylor.edu, people having to clear their cookies. I tried something it works for me currently but don't know if it will in future.

I went to Tools->options->Privacy->Exceptions

Then added icpcres.baylor.edu as Allow for session.






[/color]
linux
Learning poster
Posts: 56
Joined: Sat Jul 01, 2006 12:21 pm
Location: CA-95054
Contact:

Re: You are not authorised to view this resource.

Post by linux »

Nice tricks. Thanks tryit1.
Solving for fun..
Marin
New poster
Posts: 2
Joined: Mon Jan 19, 2009 7:06 am

Re: You are not authorised to view this resource.

Post by Marin »

The trick is good indeed, I tested it and it worked at first attempt.
duckling
New poster
Posts: 1
Joined: Sat Sep 04, 2010 10:10 am

Re: You are not authorised to view this resource.

Post by duckling »

this problem makes me crazy!why the admin don't solve it ?
S.H.Bouwhuis
New poster
Posts: 13
Joined: Fri Apr 27, 2007 12:03 pm
Location: The Netherlands

Re: You are not authorised to view this resource.

Post by S.H.Bouwhuis »

This is just insane! I tried submitting this problem by clicking 'Contact Us', but that link also doesn't work.
Does anyone know the email address where I can report this problem?

For a programming web-site I have to say it's awful. They should be ashamed! :x :x :x
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
Carlos
System administrator
Posts: 1286
Joined: Sat Oct 13, 2001 2:00 am
Location: Valladolid, Spain
Contact:

Re: You are not authorised to view this resource.

Post by Carlos »

the link works for me and for the other 10 users who daily mail us via the Contact us link! If you want to write us by email, use uva.onlinejudge@gmail.com
DON'T PM ME --> For any doubt, suggestion or error reporting, please use the "Contact us" form in the web.
Locked

Return to “Bugs and suggestions”