![]() |
|
letest images doubled - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: letest images doubled (/thread-6200.html) |
letest images doubled - mironb - 29-11-2009 Hi I have zenphoto 1.26. I opened statistics in admin options and now my letest images in index page are doubled. Please see on "nowe zdjecia": regards letest images doubled - acrylian - 29-11-2009 The gallery backend stats and the image_album_statsitics are not related in 1.2.6 and if if they were they do not alter anything. It must be something different by looking at the doube entries I fond slightly different urls: letest images doubled - mironb - 29-11-2009 In admin options I had 1 unpublished album "." letest images doubled - acrylian - 29-11-2009 Did you create that album named "."? Have you checked if there is actually also a folder of that name on the filesystem via FTP? Names starting with "." can be problematic because normally a suffix starts with that. letest images doubled - mironb - 29-11-2009 I have never created album named "." There is no such folder in filesystem letest images doubled - acrylian - 29-11-2009 Then I have no idea where that could come from. Maybe sbillard has an idea later. letest images doubled - kagutsuchi - 29-11-2009 Are you absolutely sure the directory doesn't exist? Normally, a directory with "." as its name resolves to the current directory. It could be that whichever program you're using for FTP could be not showing the directory. letest images doubled - kagutsuchi - 29-11-2009 Actually, naming conventions should prevent creation of a "." directory. It might be a problem with your theme. I'm not sure what else could be causing such a problem. letest images doubled - mironb - 29-11-2009 I have enabled viewing of hidden files so there is no folder "." I change my theme and the problem is still visible. Few months ago my page was hacked. It was zenphoto 1.1.6 I have deleted hacked files from album folder but maybe there is something in mysql base ? I also have same error messages in my admin page when I open statistics: ` Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/galeria/zp-core/js/jqueryui/i18n/ui.datepicker-en.js) is not within the allowed path(s): (/tmp:/home:/var/www/html) in /home/fotografia/domains/fotostacja.pl/public_html/galeria/zp-core/admin-functions.php on line 158 letest images doubled - acrylian - 29-11-2009 That error looks like a permissions issue. letest images doubled - sbillard - 29-11-2009 There is always a '.' and a '..' folder in each folder. But these should be ignored. Unfortunately, the database refresh will not clean out any albums which have this dot in their names as the algorithm is to see if the folder still exists. It will. You will have to remove these folder entries manually from the database and then do another database refresh. letest images doubled - mironb - 29-11-2009 The mistake is in the mysql base in albums_table but I don't know where exactly. I have created new zenphoto instalation and new mysql base for that gallery. When I go in statistics everything works good. But when I copied my zp_albums table from my fotostacja.pl to this new installation photos started doubling. Deleting each doubled photo from zp_images does't help becouse when I go to statistics they doubled again. What I have to delete in zen_albums table to solve this problem ? Where I Have to look ? letest images doubled - acrylian - 29-11-2009 You would have to look for a wrong album entry. letest images doubled - mironb - 29-11-2009 Thanks for help !!!! I deleted in phpmyadmin all albums and photos with "." and now everything is working. |