I have been noticing this a lot recently and I would like to know if anyone had encountered this. In the albums table, I am seeing duplicate albums created for no reason with a lot of columns NULLed (the title and folder column are identical to one of the existing album, that's how I know it's a duplicate).
To make matter worse, a lot of images are also duplicated with the duplicate album as their parent. I've done several cleanups and they keep coming back. Any idea why this is happening? I am on version 1.1.5. I uploaded the images via FTP if that helps.
Thanks!
Comments
I have not heard of any other similar reports, though. Have you considered clearing out your database and starting fresh? Perhaps there is some problem with the old inherited tablse.
Otherwise, please give us details of your configuration: PHP version, etc.
My latest investigation points to some custom rewrite rule that I added. I'll update again if I find anything more tangible.
I get exactly the same issue : duplicate content, for example using the search page, or counting images. The only difference between the duplicate images is that there is another slash before the album name for one of them.
Zenphoto version : 1.4.5.5
PHP : 5.3.22
MySQLi : 5.1.67
theme used : lightly customed skeleton (but I get the same thing with the default theme)
I've already refresh the metadatas and clean the html cache.
Maybe it happened moving ZP from the root to a subdirectory (yeah, another great post of mine, probably my masterpiece) and lauching the setup again.
The only error I get in my debug logs is that :
`
{8114:Thu, 31 Oct 2013 22:36:17 GMT}
WARNING: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/xxx/zp-core/lib-GD.php:114) in /home/xxx/public_html/xxx/zp-core/functions-image.php on line 32
header called from imageError (functions-image.php [32])
from cacheImage (functions-image.php [493])
from i.php [165]
`
Any idea ?
(and I don't particularly want to get on your nerves...)
The duplicate content is likely caused by database issues. I recall this problem, but unfortunately cannot at present find any references to it.
I suggest you first install the current support build then run a database refresh. If this does not resolve the problem you will need to manually edit your database to remove the entries with double slashes.
I've installed the last official build 1.4.5.7, refreshed the database and still got this issue.
You're right, no other way but manually delete the duplicated album with a slash before their name in the database.
I'd like to know why they appeared but it will be for another time.
Key Column
PRIMARY* id
filename filename
albumid
albumid albumid
And this in my albums table:
Key Column
PRIMARY* id
folder folder
Not sure which unique indexes you mean..database was imported from previous zenphoto release..
for me this issue was solved after I made an update to 1.4.5.8.