Image gallery prev/next loop 404
Posted: 10 July 2008 08:18 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  163
Joined  09-16-2003
Taiga - 08 January 2008 10:43 AM

Example: I have two images in category “lithographs”, and have “Previous | Next” links to navigate through the category.


Problem: Previous and Next links always show up, even if you are on oldest/newest image.

Is this a bug, or I am doing something wrong?

Is this problem ever solved?

I get a 404 error when clicking next when there is no next image

 Signature 

AFpunt - - - - A Pointless Weblog - - - -

Profile
 
 
Posted: 14 July 2008 08:12 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23523
Joined  05-20-2002

It was an error on the docs- next/prev in the gallery cycles.  However, you shouldn’t be getting a 404 when you click one- so that’s a bit different!

What build/version are you using, and is it possible to link to an example page?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 15 July 2008 12:02 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  163
Joined  09-16-2003

When you click next image it can happen you get a 404 error, however that doesn’t happen always!?

http://www.afpunt.nl/?/gallerij/image_full/65/

ExpressionEngine 1.6.4
Build:  20080710

 Signature 

AFpunt - - - - A Pointless Weblog - - - -

Profile
 
 
Posted: 15 July 2008 07:24 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23523
Joined  05-20-2002

Ah- see what you mean.  OK- I’m going to split this off to a new thread as I don’t think the two issues are related.  What build/version are you running?  Should be in the cp footer.  Also- if you go to ‘Admin- System Prefs- Throttling Configuration’ and turn throttling off- let’s see if that makes a difference.

Also- that 404 is odd.  Are you using an EE 404?  The message is:

Status: 404 Not Found

Headers are returning a 200:

HTTP/1.x 200 OK
Date: Tue, 15 Jul 2008 13:18:35 GMT
Server: Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.7f PHP/4.4.6 mod_perl/1.29 FrontPage/5.0.2.2510
X-Powered-By: PHP/4.4.6
Status: 404 Not Found
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html

Should be a 400.  Of course- page loads fine w/the exact url when you refresh the page- so shouldn’t be…  Ha- in your throttling prefs, what do you have as your ‘Custom Message’?  Bet that’s it.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 15 July 2008 07:34 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  163
Joined  09-16-2003

It’s my throttling configuration indeed!

Thanks Robin

 Signature 

AFpunt - - - - A Pointless Weblog - - - -

Profile
 
 
Posted: 15 July 2008 07:45 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23523
Joined  05-20-2002

Good deal- it’s because it uses the same template over and over- so if you just tweak the throttle settings, problem should be solved.  (I’d leave it on- but change the number of loads/time interval).

We good to close this one out?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 15 July 2008 07:58 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  163
Joined  09-16-2003

Yes you can close this one,
thanks.

 Signature 

AFpunt - - - - A Pointless Weblog - - - -

Profile
 
 
Posted: 15 July 2008 08:07 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23523
Joined  05-20-2002

Good deal- is done!

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
   
 
 
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: 64933 Total Logged-in Users: 56
Total Topics: 81900 Total Anonymous Users: 31
Total Replies: 440267 Total Guests: 252
Total Posts: 522167    
Members ( View Memberlist )
Newest Members:  Kathryn DaviesPetrovichusharurblaisdellLevagstudioigotthelemonmileswkakiharaAurels