duplicated thumbnails

hi, sorry if this is a known problem, but I can't find it on the forum anywhere..

this issue is bugging me since ages: lots of times, when I rescan the directories for new files, I get the new files added twice in the thumbs listing.

example here:
http://foto.napodano.com/main.php?cmd=album&var1=2008%2Fmucca/

the album_files_####.php contains duplicated entries, and I don't have a clue why this happens.
of course the files have been uplodaded only once.

I have also tried waiting for the automatic rescan with no luck.

PS: here are two duplicate

PS: here are two duplicate entries as an example:

44 =>
array (
'file_name' => 'DSCN1861.JPG',
'visible' => 'true',
'desc' => '',
'long_desc' => '',
'params' => '',
'dir_logo' => 'true',
'view_count' => '1',
'vote_count' => '0',
'vote_avg' => '0',
'comment_count' => '0',
'use_for_logo' => 'false',
'file_time' => '1223751962',
'screenshot' => '',
'type' => 'I',
'keywords' =>
array (
),
),

56 =>
array (
'file_name' => 'DSCN1861.JPG',
'visible' => 'true',
'desc' => '',
'long_desc' => '',
'params' => '',
'dir_logo' => 'true',
'view_count' => '1',
'vote_count' => '0',
'vote_avg' => '0',
'comment_count' => '0',
'use_for_logo' => 'false',
'file_time' => '1223751962',
'screenshot' => '',
'type' => 'I',
'keywords' =>
array (
),
),

a control which avoids duplication would at least be something..

ditto - I have the same problem

I have looked at all possibilities. Duplicate thumbnails appear in random fashion.

I have an idea about what is

I have an idea about what is causing this: it seems that it happens if you have manually deleted a file from the gallery via FTP. probably then the database file of the gallery gets "corrupted", pointing to a non existent picture in its list, and next time phpAlbum parses the directory, the duplication happens

Actually, I do delete files

Actually, I do delete files via FTP very often and never have this kind of problems. It would be cool if you could exactly describe how you get this to happen, so I could then find the bug and correct it.

Patrik

same thing

I am seeing this occur too, what would the suggested method for fixing this? are there certain files that I can delete and have the directories re-scanned?

same

Hello, I'm having the same problem. The problem did not come up from the beginning, it was just later when users started to face this problem. However when I login to such an account, and I upload a photo on behalf of its owner, it's not duplicated. Neither my folder. Weird.

this issue is bothering me

this issue is bothering me to death. I'm looking for alternatives to phpalbum :(

Just started having this issue as well

I really have liked using phpAlbum, but all the sudden I'm getting duplicate, sometimes triplicate thumbnails. Seems to happen now with new images I'm uploading, old images have a single thumbnail.

Any resolution yet?

Have had the same problem

Have had the same problem time to time.

One thing that does help..a bit of a pain.. is to rename the directory (say phpAlbum to phpAlbum2).. run the online installer again..create a new clean instance. Move/upload/ftp your photos back and rescan.

Just have to reconfigure everything when done.

May not be the best way.. but it works..

Still a great program.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">