WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: ZenphotoPress] 1.6.1 shows no thumbnails (7 posts)

  1. doug
    Member
    Posted 4 years ago #

    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.

    http://wordpress.org/extend/plugins/zenphotopress/

  2. Simbul
    Member
    Posted 4 years ago #

    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)

  3. doug
    Member
    Posted 4 years ago #

    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

    ZenphotoProxy call: http://subdomain.example.com/wordpress/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_nested_albums&data_path=/home/path_to/public_html/subdomain/zenphoto/zp-data

    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

    ZenphotoProxy call: http://subdomain.example.com/wordpress/wp-content/plugins/zenphotopress/zenphoto_bridge.php?albumid=87&function=get_album&data_path=/home/path_to/public_html/subdomain/zenphoto/zp-data

    INFO

    ZenphotoProxy call: http://subdomain.example.com/wordpress/wp-content/plugins/zenphotopress/zenphoto_bridge.php?albumid=87&sort=sort_order&start=0&limit=30&function=get_images&data_path=/home/path_to/public_html/subdomain/zenphoto/zp-data

    INFO

    ZenphotoProxy call: http://subdomain.example.com/wordpress/wp-content/plugins/zenphotopress/zenphoto_bridge.php?albumid=87&function=count_images&data_path=/home/path_to/public_html/subdomain/zenphoto/zp-data

    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:

  4. Navjot Singh
    Member
    Posted 4 years ago #

    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.

  5. Simbul
    Member
    Posted 4 years ago #

    That's really weird. I'll have to look into it.

    Thanks for the info.

  6. doug
    Member
    Posted 4 years ago #

    That fixed it for me. Thanks, navjotjsingh!

  7. Navjot Singh
    Member
    Posted 4 years ago #

    One more thing...in readme..you should update Zenphoto version mentioned to 1.2.7.

Topic Closed

This topic has been closed to new replies.

About this Topic