We’re pleased to announce the release of version 1.2.7. This release includes bug fixes, many feature improvements and refinements, and updates to plugins and translations. See the changelog for more information -
http://www.zenphoto.org/2009/11/version-127/Download 1.2.7 on the Home page -
http://www.zenphoto.org
Comments
Laurent
@Laurent: There is no .htaccess file included because setup.php creates it if it doesn't already exist. The default .htaccess is now in `zp-core/htaccess`.
Thanks
Previous versions with .htaccess in the Zenphoto root always allowed it to display properly. Now I am getting a 404 error (page Not found - WordPress message) everytime I load the subfolder, despite editing the "htaccess" file (it's not called .htaccess?) in zp-core.
Any advice would be much appreciated
note: Setup will only copy this file if it is not an upgrade install. This is so that it will not replace a `.htaccess` file you have deliberately removed.
But, the "Default" theme does not work correctly with the new version.
On each image, I get the error,
"Fatal error: Call to undefined function getimagemetadata() in /home4/valaddso/public_html/RileyGallery/themes/zenpage-default/image.php on line 86"
When I try to view an image, I get this error:
Fatal error: Call to undefined function is_valid_video() in /home4/valaddso/public_html/RileyGallery/zp-core/template-functions.php on line 2628
Perhaps you have an old version of that script instead of the one from 1.2.7?
i got similar errors, but with a custom theme. then i realized that some functions were renamed, such as getImageEXIFData() being now getImageMetaData()
I have zp-config.php in zp-core directory now, .htaccess is also there...but still 404 error.
Error_log shows:
[02-Dec-2009 01:23:21] PHP Warning: Missing argument 2 for getPlugin(), called in /home/user/public_html/siteurl.com/gallery/index.php on line 96 and defined in /home/user/public_html/siteurl.com/gallery/zp-core/functions.php on line 628
[02-Dec-2009 01:23:21] PHP Fatal error: require_once() [function.require]: Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/siteurl.com/gallery/index.php on line 96
Pls help.
1. First I always had the .htaccess file in the root folder of ZP. I read here and there that it should now be placed in /zp-data, but doing so makes it impossible to reach the subalbums. Placing it back to the root folder fixes the problem. How can I place .htaccess into /zp-data without problems?
2. I have a dynamic album, but the slideshow doesn't work for that album. It seems to keep loading forever.
Moved my plugins into plugins/ dir(outside from zp-core) and cannot get it working. Any comments on this change? Should I patch my plugins to use the new path(I use PLUGIN_FOLDER as in examples)? Any instructions?
1. No, the `.htaccess` file should be as ever in the root of your Zenphoto install. The template for it is in `zp-core` and will be used by setup to create that file if it does not exist. If you already have one you can keep it actually.
Different since 1.2.6 actually is that the `zp-config.php` file should be in `zp-data`. You can copy your existing over. Also the template tat is also in `zp-core` will be used to create a new one by setup.
2. Actually we had fixed that. Sure that you have the correct file of the slidesshow?
@divan: What plugins? Only third party / custom made ones should go there. All standard ones that come with the release should remain in `zp-core/zp-extensions`.
tested with 1.2.7 - dates are taken from EXIF correctly.
@acrylian:
I've made some plugins, one of them - image-bulkedit plugin, based on image-massedit plugin. I used massedit as a template. So, now, after upgrading to 1.2.7, in respect to the new policy of plugins and extensions, I copied my plugin to the zenphoto/plugins/ directory and it stopped working. I investigated changes in new image-massedit plugin to understand what have been changed, but nevertheless there were some problems with pathes. So I simply moved my plugin to the zp-core/zp-extensions and it work. But I beleive the plugins should work flawlessly after moving from 1.2.6's zp-core/plugins/ dir to the 1.2.7's /plugins/, shouldn't they? Or some instructions for 'porting' should be provided for plugin writers to avoid such things.
`$this->setCopyright($this->get('IPTCCopyright'));`
which should be above the line
`/* "import" metadata into Zenphoto fields as makes sense */`
thanks. it's working again. found some minor bugs when i was trying to figure out what was wrong:
functions.php line 70: Oritinal should be Original
image_album_statistics line 406: space needed between " and alt
Sorry it took me awhile to get back here.
I'm using Hostmonster Simplescripts to do the updates, so they handled the switch from 1.2.6 to 1.2.7.
Apparently, their updating system isn't all that good.
So if I uninstall & reinstall zenphoto, you think the templates should work?
I'd like to get the default template working again. I like the dark version. It goes with my Wordpress front-end. The combination of Wordpress and Zenphoto makes web gallery creation and management a snap! Now if we just had a way to do paypal, or at least collecting a selection of images (for ordering purposes).....
Check it out: http://www.valaddsoft.com/PhotoGallery/
Thanks for all the effort you folks put into this!!!
Stuart
And there is a paypal plugin.
I too use HostMonster.com for my hosting, and installed & upgraded with "Simple Scripts". I get the same error message of:
Fatal error: Call to undefined function is_valid_video() in /home2/lesdanse/public_html/zenphoto/zp-core/template-functions.php on line 2628
I know you don't support simple scripts, but I suspect you are going to get a lot more complaints since Sooooo many people use this vendor. They broke your install, so I understand it's their fault. But it's affecting your users, and we are kinda stuck since we are insulated from the install and upgrade process. We do have full access to the file structure, and can can replace or edit any files we want. If there is a quick way to fix this, by replacing a file or editing a script, I'm happy to. Or, maybe a solution is to do a fresh install to a new directory, and port all our galleries over.
If you can a look at this error, it will be a great help for me, slrtx1, and lots of other users who will otherwise be stuck.
www.lesdanseurs.com/zenphoto
Thanks
So the fix is to do a "normal install" yourself. Sorry.
I don't mind doing a normal install.
I'm just glad to know this isn't a Zenphoto issue and that there's a fix.
Actually the simplescripts "clean install" works just fine.
It's the upgrade install that doesn't work.
Yes, one fix is to do a "normal install", but if some prefer the ease of running simplescripts, here's another solution:
1. Copy your image folders from the album folder to a safe place
2. Uninstall Zenphoto via simplescripts
3. Delete the folder with the old zenphoto stuff (simplescripts doesn't do this)
4. Do a clean install of the newer version of Zenphoto. Use the same gallery (folder) name as the previous version, so you don't loose any links you may already have.
5. Copy your image folders back to the album folder. (Folder names are album names.)
I've done this before, so I know it works.
I'll let Hostmonster and the simple script folks know about this issue.
Stuart Riley