Upgraded to version 1.6.1 and it stopped showing thumbnails, so couldn't select a photo. Downgraded back to 1.6; that version still works fine.
Upgraded to version 1.6.1 and it stopped showing thumbnails, so couldn't select a photo. Downgraded back to 1.6; that version still works fine.
Care to enable debug mode and let me know what it says?
I'd like to fix it, in case it is a widespread problem.
(For debug mode, see the FAQs)
Sure; here it is (I changed the domain name and path info):
ZenphotoPress Messages
INFO
PHP Version: 5.2.9
INFO
Current working directory: /home/path_to/public_html/subdomain/wordpress/wp-content/plugins/zenphotopress/tinymce
INFO
POST: Array ( [album] => 87 )
INFO
GET: Array ( [tinyMCE] => 0 )
INFO
ZenphotoProxy method: cURL
INFO
INFO
zenphotopress_custom_show: 30
INFO
zenphotopress_custom_orderby: sort_order
INFO
zenphotopress_custom_what: thumb
INFO
zenphotopress_custom_link: image
INFO
zenphotopress_custom_close: false
INFO
zenphotopress_custom_wrap: none
INFO
zenphotopress_custom_size: custom
INFO
INFO
INFO
INFO
ZenphotoProxy call: http://subdomain.example.com/wordpress/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=has_mod_rewrite&data_path=/home/path_to/public_html/subdomain/zenphoto/zp-data
INFO
mod_rewrite: 1
INFO
zenphotopress_custom_width: 640
INFO
zenphotopress_custom_height:
Found the bug:
In file zenphoto_bridge.php, on line 306-307, changing
if ($query[0]['parentid']) {
return album_protected_recursive($query[0]['parentid']);
to
if ($query[1]['parentid']) {
return album_protected_recursive($query[1]['parentid']);
works.
That's really weird. I'll have to look into it.
Thanks for the info.
That fixed it for me. Thanks, navjotjsingh!
One more thing...in readme..you should update Zenphoto version mentioned to 1.2.7.
This topic has been closed to new replies.