when browsing an albums content (picture, not overview) then there are the buttons "next page" "last page" and so on. The problem occurs with the "next page" button: Starting from the first picture in an album I never had any trouble, but sometimes at the second, sometimes at the fourth (different from album to album) I click on "next image"
-> the next image appears
-> the number highlithed (for representing the current pic) still is the same as before clicking
-> the link behind "nest page" points to the current pic - corresponding to the highlighted pic

version: current 5.x-1.x-dev-version, reinstalled today

Comments

vhmauery’s picture

I cannot reproduce this. I have tried every sorting order available. I have no idea what this could be.

What sorting order are you using?

blackfox’s picture

I'm using "Chronological order by creation date"
I'm just thinking what other information could be useful for you... - so I'm going to list some things, maybe they can provide something useful
- per user albums are disabled
- sort all albums disabled
- list albums first disabled
- 15 Thumbnails per page

enabled modules:
Core: color, comment, contact, help, locale (german), menu, path, search, statistics, taxonomy, upload
Image: Image
other: Acidfree, Google Sitemap, Releas Monitor, Taxonomy Access Control, UIEForum
Views: views
administration: Module installer

there are some more ones installed, but not enabled. I have tried to disable most of them, the problem occured as well (ok, no new album created but tested with the existing one when disabled other modules).

vhmauery’s picture

Are there images in your album that are tagged in other albums as well? In other words, do you see the same picture twice in the grid view of the album? See http://drupal.org/node/140814 to see if that is the same problem you are having. If so, the two issues are duplicates and we might have a DISTINCT clause missing...

vhmauery’s picture

I just committed a change to the rendering code that sets the parent flag if an item exists in multiple albums. This way, if you are browsing items in an album, it will keep you in that album as you browse past the multi-parented item rather than possibly switching.

Could this have possibly been what was causing your problems? I don't know. But there should be a new tarball generated in a few hours that has my changes. Try that out to see if it fixes anything.

blackfox’s picture

No, the images don't have multiple parents. They are only in one album.
I just deleted all from the past acidfree module (deinstalled + deleted files on server + deleted albums/images) and reinstalled the current 5.1-dev => The problem still exists!

vhmauery’s picture

I still cannot reproduce this on my own. What modules do you have enabled? My guess is that one of the sql rebuilds changes the query so that the offset query doesn't get the same offset as the node in the album.

vhmauery’s picture

Can you try disabling all other modules besides Views, Image, Video, Taxonomy? Does it still happen then?

blackfox’s picture

disabled all except acidfree, taxonomy, image & views: still the same!
I even disabled an additional taxonomy-categorie for albums and images, which I have had, deleted the album and images afterwards and recreated without the additional taxonomy: still the same...

vhmauery’s picture

I still cannot create this bug on my own. Can you start from scratch and reproduce this (or was your site an upgrade site?). If you can start from scratch to reproduce this, what are the exact steps to do it?

blackfox’s picture

ok - it seems there is no other chance... I'll try to start from scratch as soon as I find some time....

blackfox’s picture

I don't know why you can't reproduce this...
I installed Drupal 5.1 from scratch now, enabled German localization, installed image, views + acidfree modules - nothinge else! No theme, no other modules, nothing! But still the same problem

Acidfreesettings I have changed:
- enabled mass-import tab
- sort order: Chronologycal order by creation date

Some information about my system:
- MySQL 4.1.22 Standard
- PHP 5.2.1
- PHP-Info: I will send you a link in a private message where you can find the print of php-info of my webserver

Can I do anything else to help you?

blackfox’s picture

sorry, I forgot one module: the first module I have installed was "module installer" which makes it easier to install modules (not download them and upload to the webspace => just paste the url to the tar.gz-modulefile).
I don't expact any problems from that module as it only is another way to bring the modulefiles to the correct place on the webspace but I can't guarantee for that ;-)

skizzo’s picture

I am having exactly the same problem on newly created per-user album.
I saw it happening on another album before.
@vhmauery: if helpful I may provide you with access log for
problem user (and possibly db access). Thank you.

Acidfree Albums 5.x-1.x-dev (2007-Jul-18) (Sort alphabetical, Thumbnails per page 100)
Image 5.x-1.4
Views 5.x-1.6

mwheinz’s picture

Status: Active » Closed (won't fix)

Closing. No updates in 3 years.