ZenphotoCMS Forum
printAlbumMenu LI stray - 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: printAlbumMenu LI stray (/thread-2809.html)



printAlbumMenu LI stray - macalter - 2008-05-05

added inside the "albums" div tag to my Default Theme index.php
[div class="album_menu">
[h2 id="titlesub">Album Menu
[?php printAlbumMenu("list","count","album_menu","album_menu_active","album_menu_sub","album_menu_sub_active"); ?>

[!-- end -->

CSS (yellow used while testing)
.album_menu
{
font-size: 50%;
color: yellow;
/ light #294550;/
padding: 5px 5px 5px 240px !important;
/ : menu position /
/ clear: both; /
}
.album_menu a:link, .album_menu a:active, .album_menu a:visited
{
color: yellow;
/ light 294550/

is producing erracting list menu with stray LI off to the right

Album Menu *




printAlbumMenu LI stray - acrylian - 2008-05-05

[i]Album Menu *




printAlbumMenu LI stray - acrylian - 2008-05-05

I checked it and it's not a bug of the menu. I found a somehow empty album without anything in my database. Don't know from where that came though. Please take a look at your database via phpMyAdmin, too, and search for an album without folder entry.




printAlbumMenu LI stray - macalter - 2008-05-05

Dreamhost has phpMyAdmin capability from their MySQL control panel. I'm EXTREMELY nervous to touch but looking at the list of dbs within my "zenphoto" directory, I see listing of each of my albums each averaging arund 3k, some with overhead (whatever that is). All with Collation as latin1_swedish_ci... (no idea why swedith, Dreamhost did that)

I see 10 of my SQL databases listed. Each say they have 11-12 entries. Collation is latin1_swedish (NO idea about that one).

ZP Admin claims I have 13 albums when I login and see the summary! It shows I have 8 albums with one that has 4 subalbums = 12. The 13th one is unknown and not showing.

I think I know which is causing this problem. It can be deleted and recreated. So, should I do it from ZP then check it's gone from MySQL?




printAlbumMenu LI stray - acrylian - 2008-05-06

Try refreshing the database on the admin overview page. If that does not the trick, you would have to delete it directly.




printAlbumMenu LI stray - macalter - 2008-05-06

Deleted 4 albums from the 11 actual; ZP claimed I had 13. Of the actuall 11, 4 were subalbums. This is not clearly defined on the Overview page.

Refreshed db, Admin>Overview showed 8 albums. FTP albums folder = 7; FTP cache folder = 9. MySQL/PhpMyAdmin showed 8 when I viewed the mysql.mydomain.com dropdown menu. ALSO for the MySQL databases, it not only showed the overall database "gallery name", it showed database for each of the albums, including the 4 I deleted. They're all dated day of the gallery creation.

Manually deleted the extra albums from cache folder. Did another Refresh the Databases (Gallery maintenance). Gallery stats still say 8:
1 album1
2 album2
3 album3
4 album4
5 album5
6 album6
7 album7
that's all that show in Edit tab