Pages (2): 1 2   
Member
Member
steffen   11-01-2008, 10:22
#1

If a search result needs 2 or more pages to display all the images and I click on an image from the 2nd page, the picture is shown correctly. But if I click on the subalbum (in breadcrumb navigation) afterwards which contains that image, its path is wrong and leads to a not existing page. The wrong path looks like this:

www.domain.com/zenphoto/subalbum/page/2

instead of:

www.domain.com/zenphoto/subalbum/

Administrator
Administrator
acrylian   11-01-2008, 11:08
#2

Damn htaccess, your are right again...that happens if you focus on one problem and forget to check related things. I am really sorry, I will look into that later.

Member
Member
steffen   14-01-2008, 10:36
#3

I am not really sure, if changeset 1040 should address this issue, because it's still there.

Administrator
Administrator
acrylian   14-01-2008, 11:42
#4

While I can't exactly reproduce your probkem, I have to admit that there is still somehow something wrong with the search pagination.
I will look into that soon.

Member
Member
steffen   14-01-2008, 18:09
#5

To reproduce the problem, you could do the following steps:

  1. Open the archive view of my page: http://www.synnatschke.com/gallery/?p=archive
  2. Click on the link which is behind "January (54)"
  3. Move forward to the 2nd page of the search results (http://www.synnatschke.com/gallery/page/search/archive/2008-01/2) and click on the first thumbnail. The picture will be loaded.
  4. Click on the subalbum "White Pocket" within the breadcrumb navigation

Now the problem occurs, because the path is wrong. It leads to:
http://www.synnatschke.com/gallery/north-america/usa/arizona/white-pocket/page/2

instead of:
http://www.synnatschke.com/gallery/north-america/usa/arizona/white-pocket/

Hope you understand?

Member
Member
sbillard   14-01-2008, 18:35
#6

Looks like the search context has got lost. It should be saved in a cookie. I will look into this.

Administrator
Administrator
acrylian   14-01-2008, 18:39
#7

Just to add: I was able to reproduce the problem.

Member
Member
sbillard   14-01-2008, 22:08
#8

It was missing implementation. Look for a fix in the nightly build.

Member
Member
steffen   15-01-2008, 09:51
#9

Sorry to say that, but it does not work, even with the nightly build. Same behavior as before. Please evaluate your work with the 4 steps I mentioned in my previous post.

Edit: There is a new link named "search" within the breadcrumb. The path behind is also wrong:

http://www.synnatschke.com/gallery/page/search//2

Administrator
Administrator
acrylian   15-01-2008, 10:44
#10

We are working on it.

Member
Member
sbillard   15-01-2008, 18:10
#11

How about tonight's build. Found the problem--it worked for tag searches, not date searches.

Member
Member
steffen   15-01-2008, 20:34
#12

If you mean the link that is behind "Search" within the breadcrumb, that one works. But the main problem still exists, even with the tags!

I am using a tag cloud on my index.php. The tag "sandstone" exists 38 times and needs 3 pages to display all the related thumbnails. Move forward to the second search page and click on the first thumbnail. Now the image opens. Look into the breadcrumb. The link behind "Misc" is wrong. The part "page/2" within the link is wrong, because that subalbum has just one page. But there is another bug within the breadcrumb. A click on the link "Search" leads back to the search results. But in case of the tag "sandstone", I get 39 matches, instead of 38. If I do the same for the tag "national park" and go back to the search result, the link looks like this:
http://www.synnatschke.com/gallery/page/search/national%20park and I get this error:

Zenphoto Error: the requested object was not found. Please go back and try again.

Member
Member
BertSimons   23-01-2008, 08:00
#13

my search isn't working anymore either..

searchresults show up.clicking on an item goes to proper link, vlicking on search in the breadcrumbbar goes back to search, clicking on a albumlink in breadvrumb bar goes to album correct but when in that album a thumb is clicked 'search' reappaears in the breadcrumb and navigation is lost. only deleting cookies resets this problem..

Member
Member
sbillard   23-01-2008, 17:44
#14

Search parameters are kept in cookies, In the earlier versions, not enought information was saved in the cookies to handle the breadcrumbs so I am guessing that you had some older cookies.

Member
Member
steffen   23-01-2008, 18:34
#15

The issue I reported is still present even with latest versions. This is not due to an old cookie, because I deleted them before.

Member
Member
BertSimons   23-01-2008, 18:46
#16

I deleted the cookies also before (with clear private data in firefox) but this time also went into the privacy settings tab) and this time the breadcrumb/tag/search worked with the 'example' theme.
but not in my own theme.. one by one I copied over index,album, image, search.php to my custom theme to find if it was maybe a flaw in my theme but no luck.. untill I copied over the themeoptions.php from the example theme to my custom theme and then it worked. and is still working..unfortunatly I deleted the old file so I am not able to check where it came from.

anyway it is working now.. question still.. what with people who do'nt delete their cookies??

Member
Member
sbillard   24-01-2008, 00:07
#17

BertSimons:

I am not sure why copying themeoptions.php would make a difference.

steffen:

Since your site is password protected I can't look to see if I can see what is going wrong.

Member
Member
steffen   24-01-2008, 23:29
#18

I disabled the password protection right now. You could try it again:

  1. Please click on the following link:
    http://www.synnatschke.com/gallery/page/search/tags/sandstone/2

  2. Click on the first thumbnail (called Horseshoe Bend)

  3. Click on "Misc" in breadcrumb navigation -> This leads to a page which does not exist: http://www.synnatschke.com/gallery/north-america/usa/arizona/misc/[b]page/2[/b] the last part of the link ([b]page/2[/b]) is wrong

Member
Member
sbillard   25-01-2008, 01:40
#19

OK, I see what is happening. This may be a bit difficult to fix. The "Misc" link is actually a link back to the album and not really part of the Search breadcrumbs. It is being put out by the theme. But, since there is only one page number, that link is getting confused with the search page and using its page number.

Member
Member
sbillard   25-01-2008, 03:48
#20

The fix will be in tonight's build. However, it requires modifications to themes, so if you have a custom theme you will need to replace the part that prints out the album breadcrumb with the new function printAlbumBreadcrumb().

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.