Member
Member
mowgli597   2013-07-18, 10:07
#1

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

Administrator
Administrator
acrylian   2013-07-18, 12:13
#2

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.

Member
Member
mowgli597   2013-07-18, 13:26
#3

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.

Administrator
Administrator
acrylian   2013-07-18, 14:14
#4

This leads to the standard question? Error logs?

Member
Member
sbillard   2013-07-18, 18:54
#5

This does appear not to be working. Please create an issue for the problem on GitHub.

Member
Member
mowgli597   2013-07-18, 19:49
#6

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?

Member
Member
sbillard   2013-07-18, 20:54
#7

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.

Member
Member
mowgli597   2013-07-18, 22:07
#8

Raised as issue #470

Thank you.

Member
Member
mowgli597   2013-07-19, 08:40
#9

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.

Member
Member
mowgli597   2013-07-19, 09:59
#10

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.

Member
Member
sbillard   2013-07-19, 16:28
#11

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.

Member
Member
mowgli597   2013-07-19, 19:52
#12

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

Member
Member
sbillard   2013-07-19, 23:52
#13

Ok, that is also now fixed. An erroneous message.

Member
Member
mowgli597   2013-07-20, 09:43
#14

Confirmed - all fixed now.

Many, many thanks.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.