Broken link in pagination, home page
Posted: 15 October 2007 04:44 PM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  96
Joined  11-29-2006

I’m having a problem similar to the one described here.

In the home page of my site, if you go to the second page, and then back to the first page using the pagination links (< Página anterior / Página siguiente >) you get a 404 error. The link with the error points to /P0.

We removed index.php with .htaccess. This site uses EE 1.6.0, build 20070708.
I’m using {auto_path} for the links, as described in the documentation.

Is this a bug, or a problem in my template?

Thank you!

Profile
 
 
Posted: 15 October 2007 05:14 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  16147
Joined  04-29-2002

Nell, if you put back in index.php, you don’t have the problem, right?

You’re a few builds behind. Any chance of you upgrading to the newest build?

 Signature 

Most Recent version: 1.6.7 Build 20090515 If needed, also update your forum EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 15 October 2007 05:29 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  96
Joined  11-29-2006

Hi Sue,

Thank you for your prompt answer. We haven’t tried putting index.php back as the site is in operation right now, we’ll try that and upgrade to the latest build and let you know what happens.

Thanks!

Profile
 
 
Posted: 15 October 2007 05:30 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  16147
Joined  04-29-2002

Please let us know!

 Signature 

Most Recent version: 1.6.7 Build 20090515 If needed, also update your forum EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 15 October 2007 06:13 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6905
Joined  03-23-2006

Hey Nell.  Its very likely the htaccess.  If you go directly to http://comiquero.com/index.php/P0/ it works.  If you are using the Include Method from this wiki article, but sure you have “P[0-9]{2,8}” in the rules, as it allows pagination to work.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design
BambooInvoice - Open Source, CodeIgniter powered invoicing.

Profile
MSG
 
 
Posted: 15 October 2007 06:24 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  16147
Joined  04-29-2002

That’s probably it! Thanks for the hand, Derek. I so rarely use that method, myself.

 Signature 

Most Recent version: 1.6.7 Build 20090515 If needed, also update your forum EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 15 October 2007 06:52 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  96
Joined  11-29-2006

Hi Derek, thanks for answering!

We have it that way in our htaccess:

RewriteCond $1 ^(comics| (many other directories separated by pipes) |P[0-9]{2,8}) [NC]

I found out it works fine if you use /P00 instead of /P0 (heh).

We’ll do more tests later and I’ll report what I find.

Derek, Sue, thanks again!

Profile
 
 
Posted: 17 October 2007 09:00 PM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  8
Joined  11-22-2006

Problem Solved. We changed the last conditional to: P[0-9]{1,8}, to make it search for “one to eight numerical characters” after the “P”, instead of “two to eight”.

Thanks for your help!

Profile
 
 
Posted: 17 October 2007 09:03 PM   [ Ignore ]   [ # 8 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6905
Joined  03-23-2006

You’re very welcome.  We’re glad to help.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design
BambooInvoice - Open Source, CodeIgniter powered invoicing.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 77495 Total Logged-in Users: 25
Total Topics: 101521 Total Anonymous Users: 15
Total Replies: 544265 Total Guests: 271
Total Posts: 645786    
Members ( View Memberlist )
Newest Members:  munstersgagot854Acai Berrynexowangeekae14ZamzamZamuuprivileging89440crickyjamesjones