After over six months, I finally got it together enough to
release the next minor version, 1.0.4. This release is a lot bigger than +0.0.1 gives it credit for though -- it includes exponential performance improvements from 1.0.3, a completely restructured database storage model, many tweaks and bugfixes, and more, making it the most stable and clean release to date. A lot of work went into this (as you might expect from a six month wait) and it should be a perfect stepping stone to sub-albums and further improvements in 1.1.
Read the changelog for a list of the changes, I don't feel like listing them again ;-)
The other big change is sort of secretly included in this release, and it is the backend infrastructure for sub-albums. There is too much yet to be done for an actual release touting that feature, but most of the code is there already. You can try it out with the sub-albums development testing theme, which you can
download here if you want.
NOTE that most features are missing and all you can expect is to browse sub-folders using the theme. There is no appropriate administrator interface, sorting, paging, or anything else you might expect. No guarantees about anything if you actually want to use it ;-)
The next step from here is 1.1 -- which should definitely come faster now that much of the work is done. I plan to include full sub-album support in a revamped admin interface, EXIF metadata, ways to move and rename folders and files, and much much more. I'll keep you updated from now on.
--------------------------------------------
Update: 1.0.5 fixes the PHP_SHORT_TAGS problems. Sorry about that -- I will run my development environment with them off from now on.
Comments
[Edit]
Nevermind. I forgot to run /zen/update.php
i have updated SQL and scripts bud my gallery is not showing any images... I think that it is because of changed structure of CACHE. My gallery is hosted on server with safe_mode enabled and even if i create cache with 777 permisions folders created under it with zenphoto have 755. So i think that zenphoto is unable to write thumbs there. I am not so good in PHP so my question is, can i modify zenphoto so it will create albums with 777 perms ? Thank you for answers and i hope that you understood my english
`Parse error: parse error, unexpected $end in C:Program FilesWampwwwTrojkolka.netzenphotozenupgrade.php on line 100`
and i got an error while accessing admin.php
`
Parse error: parse error, unexpected T_ELSE in C:Program FilesWampwwwTrojkolka.netzenphotozenadmin.php on line 507`
Now I am sure tomorrow will be sunny.
So now my development environment will be running safe_mode and with php_short_tags off! Hopefully that'll make future releases more compatible with everybody.
Thanks for your work and good luck with next releases
Actually, there is no limit at all right now, but I should have one ;-) Thanks for reminding me...
Good attention to detail and as elegantly implimented as ever.
Thanks everyone for the kind comments, I appreciate them a lot. :-)
Warning: Invalid argument supplied for foreach() in /var/www/lizardslounge.org/htdocs/zenphoto/zen/kses.php on line 429
at the top of each page.
Is there some PHP/Apache setting I need to change (other than turning off warnings), or what?
`3. Important: Make a new zp-config.php file from the zp-config.php.example file`
You need some of the new config parameters, specifically allowed_tags has changed into an array which the kses library reads to filter comment and other text.
Have you changed something in storing width and height of image in SQL. After upgrade to 1.0.4 all new images have this fields marked as NULL. Everything is running smoothly, this is just my curiosity:)
I updated the way everything is saved, remember, so it could be wrong.
Thanks again for some great testing!
Update: Fixed in SVN. Note that dimensions still work perfectly in 1.0.5, but they have to be got from the image each time they're requested instead of from the database. The fix just speeds that up, which is good.
now i don't know if sorting is missing only for subalbums or everywhere, because it is not possible to sort images in normal albums too. i'm not using subalbums right now. When i want to to sort album manually i get this error:
Sort the images by dragging them...
Fatal error: Call to undefined function: getimageid() in /DISK2/WWW/harcek.info/gallery/zen/admin-functions.php on line 118
that's going to be fixed later this week in a 1.0.6 release.
See http://www.zenphoto.org/support/topic.php?id=998