ZenphotoCMS Forum
Can't select Tags in Admin Section... - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Can't select Tags in Admin Section... (/thread-3850.html)

Pages: 1 2 3


Can't select Tags in Admin Section... - CR - 30-09-2008

Hi all, just a quick one - but how do you select the Tags tab within the main Admin screen?

| overview | comments | upload | edit | tags | options | themes | plugins |

When I click tags it just loads the overview screen...? Also, when I edit a gallery the tags box on the right is non-selectable (can't add any tags).

Anyone know what is going on?

Thanks, CR




Can't select Tags in Admin Section... - acrylian - 30-09-2008

Please with this kind of problem report, always state the Zenphoto version and browser you are using. Otherwise we can't help. Thanks.




Can't select Tags in Admin Section... - CR - 30-09-2008

Hi, sorry about that - I am using zenphoto version 1.2 [2213].

Thanks




Can't select Tags in Admin Section... - sbillard - 01-10-2008

Tags are defined on the TAGs tab. You assign them to albums and images on the edit pages for the album.




Can't select Tags in Admin Section... - CR - 01-10-2008

Quote, "Also, when I edit a gallery the tags box on the right is non-selectable (can't add any tags)"...

They are greyed out so won't enable me to add any tags... However, my theme does not have the 'tags' function enabled in the code, but I would have thought I could have added these through the main Admin section for each image as you suggested.

Do I need to have tags enabled in my theme for the section in the Admin edit images pages to work then?

CR




Can't select Tags in Admin Section... - sbillard - 01-10-2008

Which box are you describing? The one on the album edit pages or one of the ones on the Tags tab? The only place you can create new tags is on the tag management page (the Tags tab.)




Can't select Tags in Admin Section... - CR - 01-10-2008

The one on the album edit pages as that is the only one I can see... As I explained above, the Tags tab just doesn't take me any where other than take me back to the overview screen..?

The tags tab should take me to zp-core/admin-tabs.php or at least thats where the link points to. However, when O click it I just get sent to zp-core/admin.php.




Can't select Tags in Admin Section... - sbillard - 01-10-2008

Perhaps there is a problem in your install. Since zenphoto 1.2.1 is due out today I suggest when it is available you get it and install it. Otherwise you could download last night's nightly build which will be almost the same thing.




Can't select Tags in Admin Section... - CR - 01-10-2008

Ooh version 1.2.1 Off to view the update log




Can't select Tags in Admin Section... - CR - 01-10-2008

not been released yet... I'm on zenphoto version 1.2 [2213] at the moment. Any idea what time the new version will be out? Not that I wanna have a play with it or anything hehe




Can't select Tags in Admin Section... - CR - 02-10-2008

Upgrade done - now running on zenphoto version 1.2.1 [2635]

Thanks guys, I will have a play and report back if still having the same problems with the tags... Now, to convert my theme to use all the new bits lol




Can't select Tags in Admin Section... - CR - 03-10-2008

All working fine with version 1.2.1 of zenphoto - thanks peeps

CR




Can't select Tags in Admin Section... - vicki.farmer - 08-04-2009

"The one on the album edit pages as that is the only one I can see... As I explained above, the Tags tab just doesn't take me any where other than take me back to the overview screen..?

The tags tab should take me to zp-core/admin-tabs.php or at least thats where the link points to. However, when O click it I just get sent to zp-core/admin.php."

I am having this exact same problem, running ZenPhoto 1.2.4 (which I just successfully updated from 1.2.3). Running everything in default configuration -- default themes, etc. -- and everything else works, as far as I can tell. I had this same problem with 1.2.3, so I updated to 1.2.4, but there is no change.

Please advise. Thanks.




Can't select Tags in Admin Section... - vicki.farmer - 08-04-2009

I would add that this does not appear to be a browser-specific problem; this is happening in IE7, current version of Mac Firefox, and current version of Mac Safari.

When I click on the "tags" tab, I can see it try to go to admin-tags.php, but then it gets redirected to /zp-core/admin.php?from=%2Fzp-core%2Fadmin-tags.php. Dunno if that helps.




Can't select Tags in Admin Section... - vicki.farmer - 08-04-2009

Okay, I think I've tracked this down to this line in admin-tags.php:

`if (!($_zp_loggedin & ADMIN_RIGHTS)) { // prevent nefarious access to this page.

header('Location: ' . FULLWEBPATH . '/' . ZENFOLDER . '/admin.php?from=' . currentRelativeURL(__FILE__) );

exit();

}`

I'm logged in as the primary administrator; I have all available rights, and I don't have any problems getting to any of the other tabs which are

`if (!($_zp_loggedin & (ADMIN_RIGHTS | EDIT_RIGHTS))) { // prevent nefarious access to this page.

header('Location: ' . FULLWEBPATH . '/' . ZENFOLDER . '/admin.php?from=' . currentRelativeURL(__FILE__) );

exit();

}`

etc. So, is the software not recognizing that I have ADMIN_RIGHTS, but does recognize that I've got EDIT_RIGHTS, etc., so I'm able to access all of the other tabs? What do I have to do to get ADMIN_RIGHTS? And can my other users, who have all rights except for user admin rights, manage tags? Can I somehow set this by hand in the database?

???




Can't select Tags in Admin Section... - vicki.farmer - 08-04-2009

I tried hacking the admin-tags.php file to use a conditional from a tab that works for me, but it had no effect. Then I took everything out of the conditional except for the logged-in test. Same result. All tabs are available to me except for the Tags tab. I'm testing in Safari, and am using the "Reset Safari" command between attempts, to clear all sessions/cookies/caches. sigh Continuing to try to figure it out. Really need to make this work.




Can't select Tags in Admin Section... - vicki.farmer - 08-04-2009

Okay, I just updated to the most recent nightly build. Still having the problem.

Am moving on to other tasks, because I am out of ideas. Still need a fix for this fairly urgently. What value should I be seeing in administrators.rights for the all-rights administrator? I've got 75614. Is that correct?

Please advise. Thanks.




Can't select Tags in Admin Section... - acrylian - 09-04-2009

Sorry, I can't reproduce or ever had this problem on my installs. Did you check the righst on the files in the zp-core folder?
Otherwise sbillard is the expert on this. He is away until next week and we soon enter the Easter days so you will sadly have to be a little patient.




Can't select Tags in Admin Section... - vicki.farmer - 09-04-2009

All of the zp-core files are owned by root, group owned by apache, and are all 775. I really just can't imagine why this is happening, especially when I stripped the conditional down to simply being logged in. I might try taking the conditional out entirely, just to see what happens. It's not the way one would want to run, for security sake, but ARGH!

Heh. Ah well. Waiting until next week isn't a problem. Have a good Easter. See you next week.




Can't select Tags in Admin Section... - vicki.farmer - 09-04-2009

Okay, just as an interesting note, I commented out the conditional on admin-tags.php entirely:

`/* if (!($_zp_loggedin & ADMIN_RIGHTS)) { // prevent nefarious access to this page.

header('Location: ' . FULLWEBPATH . '/' . ZENFOLDER . '/admin.php?from=' . currentRelativeURL(__FILE__) );

exit();

} */`

and lo, the tags tab works and I get to the tag management window, but then all of the other tabs disappear except for "options"!

(When I click on that solitary options tab, I do go to the options window and get all of the tabs back like normal.)

So, for now, we can manage our tags and finish setting up this gallery, and hopefully next week we can track down the oddity, eh?