Having a bit of a problem with my gallery since upgrading.
All regular albums have the 'next page' and 'prev page' links but the dynamic albums aren't showing them. On my gallery, these links only show if the page is full and a new page has been created for the extra thumbnails (for both regular and dynamic albums).
Also, for the dynamic albums, it wont let me change what I sort them by whereas the regular albums do.
Only seems to be an issue since upgrading and I didn't touch my themes album.php page (or any of my theme for that matter). I've also changed to the default theme and the buttons dont show up there either.
Any help once again appreciated.
Comments
You can only sort dynamic albums generally via options, you cannot sort them manually since the "take" images from other real albums. I think there was an issue regarding search (and dynamic albums are that technically) that is fixed in the trunk nightly build yet. Maybe try that if you can.
The sorting I'm still not sure it does work. Filemtime is supposed to be in order of when it's been uploaded, correct? That doesn't seem to be the case for me.
Also, now another issue, is that subfolders aren't being made even when I ask it to make a subfolder.
As you can see here: http://i.imgur.com/7wMw4.png it isn't auto-generating the sub-folder name.
You cannot create subfolders to dynamic albums in case you meant that.
Yep, I know I can't create subfolders to dynamic albums.
The next and previous pages aren't working for dynamic albums and neither is the sort by most recent upload.
In regards to the next page, prev page:
I have it set to 51 thumbnails per page in rows of 3. So, I get the correct amount of thumbnails per page, but I don't get multiple pages (for dynamic galleries).
In regards to sorting:
Like I've said, normal albums are sorting by upload time. Dynamic isn't. As a side note, *sometimes* the most recently uploaded album gets put in the first spot and other times it doesn't. But, all in all, this doesn't work.
I also disabled a few plugins... that didn't help either.
I know it can't be the themes fault because I'm not getting multiple pages on other themes too.
So, I'm not sure. Any suggestions? I've uploaded the zp-core, index.php and plugins folders from the current release and the nightly a few times. It's not a folder outside of that which could be causing it to not work? Anything in zp-data?
Should I perhaps install an older version of zenphoto?
Should I revert to a backuped version? It was done just prior to updating but was a level 5 compression.
I literally have no idea where to take it from here so any guidance appreciated.
I have really no idea why this would happen if all else is correct.
Of course if you restored an zenphoto db backup from an older version with a newer one that might cause issues (but that is noted on the user guide). Use db backups only on the same version (at least the same like 1.4.3.x)
Getting this a fair bit:
[11-Sep-2012 04:22:37] PHP Fatal error: Call to a member function getImages() on a non-object in /home/xxx/public_html/yyy/zenphoto/zp-core/template-functions.php on line 1872
and
A couple of these:
[11-Sep-2012 07:27:33] PHP Notice: class-album detected an invalid folder name: bmw/m5. in /home/xxx/public_html/yyy/zenphoto/zp-core/class-album.php on line 68
for two separate 'albums'. Neither actually appear on the server.
I reuploaded both the template-functions.php and class-album.php files just to make sure and that didn't help.
It was originally installed, I'm pretty sure, using the files on here and it's updated using the files on here. Both via FTP upload.
The errors you are seeing are either from someone "probing" your site or from a seriously damaged database.
<blolckquote>I know it can't be the themes fault because I'm not getting multiple pages on other themes too.
Just so we are all on the same page: "other themes" only matters if it is one of the ones distributed with Zenphoto. Not sure why you were not specific.
You make it sound like I'm really trying to avoid giving you information and this is all fun and games...