Opened 11 years ago

Closed 11 years ago

#528 closed defect (fixed)

pagination fails from user page

Reported by: ronny Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:


I experienced a problem, when trying to go to the second page of a user ( I just got a Server Error. After trying around, I could find out, that it had to do with a wrong URL in the NextPage Link.
Instead of:
it should have been:

In the file:

the "base_url" is set by "request.full_path". I tried to set it instead with "request.urlgen('mediagoblin.user_pages.user_home', user= request.user.username)" and it worked. But I am not sure if this would interfere with some other parts...

thanks in advance

Change History (6)

comment:1 by ronny, 11 years ago

OK just realized, that my solution doesnt work in anyways. If the user isnt logged in, it doesnt work. If soone not-logged-in is using the second page from the main page (, he gets to:, which shows the same Server Error.
I think the problem is somewhere with this page=2 parameter, it seems to work only (with restrictions) with the userpage..

comment:2 by bigjust, 11 years ago

Wasn't able to reproduce on the current code, is this still occurring?

comment:3 by ronny, 11 years ago

mmh still there, just did a git checkout, develop --upgrade && ./bin/gmg dbupdate and mediagoblin-paster restart.

maybe sth in combination with nginx? btw here are the errors:

comment:4 by bigjust, 11 years ago

did that paste cut off? that doesn't look like the entire traceback

comment:5 by ronny, 11 years ago

nope xD
it just ends there..

comment:6 by ronny, 11 years ago

Resolution: fixed
Status: newclosed

after an recent update pagination seems to work!

Note: See TracTickets for help on using tickets.