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
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
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.
"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.
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.
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?
???
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.
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.
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.
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.
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?