I am trying to add pagination to my template, when i set pagination and click on next page or page 2 it redirects to the login screen, when i am already logged in. not able to find where the problem is.
This is my code.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 31, 2011 5:25pm
Subscribe [1]#1 / May 31, 2011 5:25pm
I am trying to add pagination to my template, when i set pagination and click on next page or page 2 it redirects to the login screen, when i am already logged in. not able to find where the problem is.
This is my code.
#2 / Jun 01, 2011 5:54am
alexwolk,
Have you got a link to where this is happening?
Are you using a htaccess to remove index.php?
When you say login screen do you mean a front-end one you made yourself or the control panel login screen?
What version and build of EE are you using?
Are you using any add-ons?
#3 / Jun 01, 2011 12:22pm
http://bootydrop.insiteadvice.com/index.php
After a user logs in he is taken to the main page, when he clicks to the pagination links for page 2 then the user is redirected to the login page of the site, not the control panel.
I’m on v2.1.0 Build: 20100712. addon will be for likee, simple registration
#4 / Jun 02, 2011 10:40am
Hi alexwolk—
Be on the lookout for an email from me. Also, is this happening with all users or just members of some member groups?
Kevin
#5 / Jun 06, 2011 12:21pm
found the solution. it was a url problem thank you for your help.
#6 / Jun 06, 2011 2:31pm
Glad you found a solution, alexwolk. Feel free to post again if you need more help!
Kevin