1.0.4.. and... 1.0.5 Released!

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.
«1

Comments

  • Yay! All updated.

    [Edit]
    Nevermind. I forgot to run /zen/update.php
  • hello, thanks for 1.0.4

    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 :)
  • all updated and all works great.. another fine release..... as always..
  • Its good to be excited about this again! Thanks tris
  • Awesome a new zenphoto... but while running upgrade.php i got the following error
    `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`
  • Great thanks from France ! I will install it tomorrow.... outside it is rainy and windy anyway ! ;-)

    Now I am sure tomorrow will be sunny.
  • I'm sure this is a great update, but all those shorthand start tags (<?= [...] ?>) are giving errors on my local server (WAMP). Wouldn't it be better to use full PHP tags? If I'm not mistaken, I believe this issue has been discussed earlier here on the forums.
  • same issues too on my WAMP system
  • trisweb Administrator
    The short tags all came back for some reason, likely related to a bad merge. I have fixed them and will be releasing 1.0.5 in a few minutes.
  • trisweb Administrator
    1.0.5 up and ready with no short tags. Enjoy! Sorry for the inconvenience...
  • trisweb Administrator
    Also, @dwn -- That is a problem I was afraid of. Unfortunately you may have to go back to using the `i.php` from 1.0.3 -- the rest should work the same and can remain upgraded. I will investigate this further in the next few days and if I find a solution I'll release it right away.

    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 all the hard work Tristan.
  • Another solution is to delete folder which have been crated and create it manually and chmod it to 777. What is not big deal if you dont have a lot of albums, otherwise it can take some time :).

    Thanks for your work and good luck with next releases
  • Thanks for the very fast update, Tristan! The installation went smoothly and everything seems to be working better than ever. Thanks again for such a great application!
  • Just want to say... that everything is okay now... some skins still use the <?= tags but with a quick find and replace method that is fixed for me. It's totally awesome and i can't till the subalbums are fully implemented. Little question: does the new subalbum system support only on layer like folder/subfolder or also folder/subfolder/subfolder etc. I'm already a happy man when it fully supports one subfolder layer but more would be even more awesome... Thanks for the great work you put in Tris ;) keep it up
  • trisweb Administrator
    @trojkolka - As many levels as you want, within reason :-)

    Actually, there is no limit at all right now, but I should have one ;-) Thanks for reminding me...
  • Great work Tristan - keep it up.
    Good attention to detail and as elegantly implimented as ever.
  • If you would ask me i would wish for at least 4 levels, maybe a maximum of 5/6 would be reasonable what do you think tris about the amount set on having subfolders
  • trisweb Administrator
    I was thinking just "not infinite" -- something like a max of 20 levels or so just in case :-) I wouldn't want anyone to actually hit the limit.

    Thanks everyone for the kind comments, I appreciate them a lot. :-)
  • Gotta keep up with the Joneses, upgraded to 1.0.5 (rev 310 SVN version). Working fine so far....
  • trisweb Administrator
    Not that different Craig, but thanks for keeping up :-)
  • I don't see anyone else reporting this, so I guess I'm the only one. Version 1.0.3 worked fine, but now with 1.0.5 I'm getting a long list of:

    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?
  • trisweb Administrator
    @squ1rrel -- Check out step 3 of the upgrade steps:

    `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.
  • Yes, that was it. I kept my old zp-config file, and even ran a diff on the old and new and *still* didn't notice this. Can't see for looking, I guess.
  • just a question for tris...

    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:)
  • trisweb Administrator
    Hmmm... I will check. Thanks for the report.

    I updated the way everything is saved, remember, so it could be wrong.
  • trisweb Administrator
    Yep, forgot to save() after updating dimensions. This will also be fixed in 1.0.6 within the next couple days.

    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.
  • and another one :)

    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
  • and i forgot to say that i'm using 1.0.4 still
  • @dwn

    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
Sign In or Register to comment.