You aren't signed in     Sign In    Help

tantannoodles.com WordPress Flickr Plugins / Discuss

Current Discussion

want to change two words " View slideshow "
Latest: 10 hours ago
Selecting THEME template for plugin pages?
Latest: 14 hours ago
IntenseDebate support
Latest: 2 days ago
Help: FAlbum shortcode to tantan converter
Latest: 2 days ago
Using Tantannoodles plugin with Thesis theme
Latest: 3 days ago
Thumbnail Layout Issue
Latest: 3 days ago
Insert Into Post button doesn't work
Latest: 4 days ago
Daily refresh of cache
Latest: 4 days ago
Allowing customization of the album URL
Latest: 8 days ago
Thumbnail size in widgets
Latest: 9 days ago
Unable to change number of photos
Latest: 9 days ago
No Page Found error when viewing specific albums
Latest: 2 weeks ago
More...

404 Header sent, but page is displayed

view profile

csett86 says:

Hi,

I can access ma photo-page, everything seems fine, but when you try to validate it, you see, that the server sends an 404 Not Found with the photo-page.

You can see that here:

original page
see the header sent by wordpress
thus validation fails

Beyond validation another point is, that google does not seem to index pages, which send an 404 Not Found.

I also have noticed this behavior with the example installations on tantannoodles.com/toolkit/photo-album/

bye Chris
Posted at 4:03PM, 14 May 2006 PST ( permalink )

view photostream

Lepti says:

Now this is very interesting. I'm having problems with IE displaying a page not found error on all my photo pages. It looks like the plugin (or something else in WordPress) is setting 404 headers.
Posted 44 months ago. ( permalink )

view photostream

Joe Tan is a group administrator Joe Tan  Pro User  says:

that's very strange..... what version of wordpress are you using?
Posted 44 months ago. ( permalink )

view photostream

Lepti says:

I'm running 2.0.2
Posted 44 months ago. ( permalink )

view photostream

csett86 says:

im running 2.0.2 as well
Posted 44 months ago. ( permalink )

view photostream

csett86 says:

Joe, your own page is working as desired, a 200 OK header is returned there. But at Howdeepistheocean.com a 404 Not Found is sent as well. Same for okaymountain.comy and stimuli.ca.
Posted 44 months ago. ( permalink )

view photostream

Joe Tan is a group administrator Joe Tan  Pro User  says:

hmmm... try this, and see if it helps anything. a bit of a shot in the dark, since i cant seem to duplicate the bug right now...

in the file flickr.php, change the lines to the following...

line 294:
add_action('template_redirect', array(&$this, 'template'), 1);

line 321:
add_action('init', array(&$this, 'init'), 1);

so basically, just add a ", 1" to those lines, right before the last closing round bracket.
Posted 44 months ago. ( permalink )

view photostream

csett86 says:

tested that, but didn't help. Sorry. :-(
I have just set up a new wordpress installation with everything default and only the photos-plugin installed. And unfortunately it is not working, but it return a 404 Not Found as you can see.
Posted 44 months ago. ( permalink )

view photostream

Joe Tan is a group administrator Joe Tan  Pro User  says:

hmmm ok. i will try another approach and let you know.
Posted 44 months ago. ( permalink )

view photostream

Joe Tan is a group administrator Joe Tan  Pro User  says:

I think i'm pretty sure what's causing this issue, and it's working properly on my site because I actually created a wordpress "page" with the exact same URL I entered for the photo album.

i'm working on a fix this problem, but in the meantime...

- copy the "view.php" template file to your current theme, and rename it to "photos.php"

- edit this php file and change the include statement to be something like this...

include(dirname(__FILE__).'/../../plugins/silaspartners/flickr/'.$photoTemplate);

OR, just copy all the photoalbum-*.html templates to the same template directory.

- create a wordpress page, and select "Photo Album" in the custom template drop down.

that should fix the 404 problem, for now. next release should have this fixed....
Originally posted 44 months ago. ( permalink )
Joe Tan (a group admin) edited this topic 44 months ago.

view photostream

csett86 says:

Thank you for the quick fix, by creating a wordpress page with the same title I now fixed the problem. Thank you so much for your quick help. :-)
Posted 44 months ago. ( permalink )

view photostream

Lepti says:

It fixed the problem for me too. Thanks Joe. Your plugin is excellent!
Posted 44 months ago. ( permalink )

view photostream

Gurumustuk Singh  Pro User  says:

I did this...but it didn't fix the issue for me. I'm not sure if it is something to do with Wordpress being on Windows Server (IIS6) or not.

When I go to the page that was created using that template I get these errors and can't seem to get them to go away.

Warning: main(D:\inetpub\wwwroot\MrSikhNet2\wp-content\themes\mrsikhnet/): failed to open stream: Permission denied in D:\inetpub\wwwroot\MrSikhNet2\wp-content\themes\mrsikhnet\photos.php on line 26

Warning: main(): Failed opening 'D:\inetpub\wwwroot\MrSikhNet2\wp-content\themes\mrsikhnet/' for inclusion (include_path='.;c:\php4\pear') in D:\inetpub\wwwroot\MrSikhNet2\wp-content\themes\mrsikhnet\photos.php on line 26


Powered by the Flickr Photo Album plugin for WordPress.
Posted 44 months ago. ( permalink )

view photostream

nadyne  Pro User  says:

MrSikhNet I have the exact same problem. Did you manage to solve that warning message?
Posted 43 months ago. ( permalink )

view photostream

La Jace  Pro User  says:

@joe: i have been searching for the solution for the 404 problem,but after implementing the solution suggested above, i encountered this warning:

Warning: main(/home/stupidco/public_html/wp-content/themes/hemingway/) [function.main]: failed to open stream: Success in /home/stupidco/public_html/wp-content/themes/hemingway/photos.php on line 35

Warning: main() [function.include]: Failed opening '/home/stupidco/public_html/wp-content/themes/hemingway/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/stupidco/public_html/wp-content/themes/hemingway/photos.php on line 35

actually i am not very sure about the edit i made on the photos.php
but i find the only include line in there and replaced it with the one you typed above... so which should be alright....

hope someone can help me with this!

www.stupidcomplexities.com/index.php/flickr-gallery/
Originally posted 41 months ago. ( permalink )
La Jace edited this topic 41 months ago.

view photostream

La Jace  Pro User  says:

people, any idea how this problem could be fixed?
Originally posted 41 months ago. ( permalink )
La Jace edited this topic 41 months ago.

view photostream

Sebastian J. is a group moderator Sebastian J. says:

Hmm... You are using the Hemingway theme. I think you have set the albums URL to:

yoursite.com/index.php/youralbums/

Try changing that setting to:

yoursite.com/youralbums/

I'm also using Hemingway and I don't need to set the index.php pointer...

Try that and post results!

Cheers,
Sebastian
Posted 41 months ago. ( permalink )

view photostream

La Jace  Pro User  says:

Sebastian, firstly thank you for your reply. but i am not so sure how to do that. should i change the permalinks structure? or i should change something else?

i tried changing the permastructure to /year/month/day/postname but all of the links got screwed up after it! is this normal? what should i do?

the photo album url in the photo album option i typed was stupidcomplexities.com/fotos/ but it didn't show up, so i adopted joe's solution above.

thanks in advance!
Posted 41 months ago. ( permalink )

view photostream

Sebastian J. is a group moderator Sebastian J. says:

It's strange. By changing the permalinks structure the links should not get screwed up, only reestructurated.

Let's see, step by step.
1) Create a page, with the WP editor, and customize the URL of the page to be the same of the photo album URL. That way, we can get rid of the 404 error. Put the title you want, like "Galleries", but don't write anything, just the title.
2) The permalink structure should be set to another thing than the default, anything. I got it set by number. When I changed the permalink structure, none of my links got messed, they just changed, but everything worked ok. I suspect that there may be a problem with your WP installation if changing the permalink structure messes the links.
3) Go to the photo album options page, check the mark to display it in a custom URL, and set the URL to the same of the page you created in step 1.

With those steps, you should be able to see your photos fine. I got it set that way, also using hemingway, and they display correctly.

Let's check those things, and let's get rid of the 404, and we can go on after that.

Cheers
Sebastian.
Posted 41 months ago. ( permalink )

view photostream

iksyolac says:

Ok, I tried the solution above but the gallery isn't loading. No more 404 though....

is it only compatible with hemingway?
Posted 41 months ago. ( permalink )

view photostream

iksyolac says:

switched themes and gave it a go... no luck, it just displays the title 'Gallery'

so switched back to the old theme:

octographics.net/caloyblog/gallery
Posted 41 months ago. ( permalink )

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

RSS 2.0 feedSubscribe to a feed of stuff on this page...</!!> Feed – Subscribe to tantannoodles.com WordPress Flickr Plugins discussion threads
Add to My Yahoo!