Moving and sorting albums

When trying to re-order albums or to move an album under a parent I get the following messages:

Album already exists (in a box with a red background)
Changes applied (in a box with a green background)

In spite of the last message the album order doesn't change.

Current sort order is "Manual"

Installation info:

Zenphoto version 1.4.5 [5cffbe455e] (Official build)
Current locale setting: en_US.UTF8
PHP version: 5.3.18
Graphics support: PHP GD library bundled (2.0.34 compatible)
supporting: gif, jpg, jpeg, png, bmp
PHP memory limit: 96M (Note: Your server might allocate less!)
MySQLi version: 5.1.70

Mowgli

Comments

  • acrylian Administrator, Developer
    When exactly do you get the message. Always pay attention to the fact that albums are the real folder names. If you have an sub album "album1/album1" and try to move "album1" to the top level you naturally will get the error.
  • Thanks for the speedy reply.

    The directory for the albums and subalbums is as follows:

    /public_html/development/zenphoto/albums/top-level/album1
    /public_html/development/zenphoto/albums/rop-level/album2
    /public_html/development/zenphoto/albums/top-level/album3

    etc.

    The sub-albums display under the top-level album as, e.g.:

    album1
    album2
    album3

    I am trying to list the sub-albums so that they display in a particular order, as advised on the "Edit album" page where it says: "Drag the albums into the order you wish them displayed."

    So I want them to display under the top-level album as, e.g.:

    album1
    album3
    album2

    The albums can be moved with my mouse to the correct positions, but when I press "Apply" I get the error shown and the albums are still in their original order

    I'm sure I was able to do this before but now it seems to fail as indicated in my original post.
  • acrylian Administrator, Developer
    This leads to the standard question? Error logs?
  • This does appear not to be working. Please create an issue for the problem on GitHub.
  • Thank you.

    The Security log is showing multiple entries saying that Album access is blocked for the main admin user on the site, called from /zenphoto/zp-core/admin-edit.php

    Do you still want me to raise an issue on GitHub?
  • Yes. This should work, so there is a bug we need to address. Creating an issue on GitHub allows the issue to be tracked and insures it will not be forgotten.
  • Raised as issue #470

    Thank you.
  • Fixed under issue #470

    Re-installed using the current master branch (1.4.5[5cffbe4], refreshed the database and received mutliple messages saying that all album parent ids had been changed.

    Many thanks.
  • Spoke too soon, I'm afraid.

    Since applying the fix above "PrintRandomImages" is now not displaying thumbnails.

    Have tried clearing the cache of a selected album and only displaying random images from that album but it still fails.

    The URL link to the image is displaying and works fine - just no thumbnail.

    The security log is still showing "access blocked" whenever I try to use admin-edit.php, although the admin function (e.g. clear_cache) works.
  • try today's master build. It may have fixed the random images issue.

    Regards the access blocked. In order to isolate the problem please clear your security log and do the admin function. We need to know if there is a cause and effect or if something else may be involved.
  • Thank you - today's build has indeed fixed the random images problem.

    Cleared the security log and simply clicked on the "album" tag. The following appeared in the security log:

    2013-07-19 20:45:08 xxx.xx.xx.xxx Album access username proper name Blocked /zenphoto/zp-core/admin-edit.php

    Then moved an album, which worked, and the log showed:

    2013-07-19 20:46:40 xxx.xx.xx.xxx Album access username proper name Blocked /zenphoto/zp-core/admin-edit.php
    2013-07-19 20:46:48 xxx.xx.xx.xxx Album access username proper name Blocked /zenphoto/zp-core/admin-edit.php?page=edit&action=savealbumorder
    2013-07-19 20:46:48 xxx.xx.xx.xxx Album access username proper name Blocked /zenphoto/zp-core/admin-edit.php?page=edit&saved
  • Ok, that is also now fixed. An erroneous message.
  • Confirmed - all fixed now.

    Many, many thanks.
Sign In or Register to comment.