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
Comments
Thanks
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 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`.
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
CR
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.
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.
`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?
???
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.
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.
Heh. Ah well. Waiting until next week isn't a problem. Have a good Easter. See you next week.
`/* 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?
Has anyone had a chance to look into this? We're functional, to a limited extent, here, but I'd rather not leave this wide open when we go live, and I want the people who are going to be using this software to be able to manage tags without having to come to me to toggle the security on and off every time. Any estimate on when we might expect to hear something from someone on it?
The most likely cause of the tabs not showing up is that somehow the rights are getting lost. A tab will not show if the admin user does not have sufficient rights to access it.
Okay, the original problem, if you read upwards through my posts, was that I couldn't get access to the "tags" tab *at all*. If I clicked on it, I was routed back to the admin.php screen. (See above details about trying to track down what was happening.) I took the login/rights conditional out of admin-tags.php to simply allow my users *some* way of being able to access that tab, to be able to manage tags while setting up the gallery. But I don't want to run this way forever.
The original problem is that for some reason the software is not recognizing login/rights for the tags tab, even though it appears to recognized login/rights for all of the other tabs.
Any ideas?
Since this is happening only for you, you are kind of on your own. You can insert debugging code to display the values of `$_zp_loggedin` at the start of each tab script and see if and what differences there are.
If you get a difference, then you can see if you can link it to a particular user (or users) If so, then you will need to investigate what is different there.
To add a little detail, when I am logged in, at .../zp-core/admin.php and then roll over the "Tags" tab, my browser tells me that I will be heading to .../zp-core/admin-tags.php but lo, when I click, I arrive here: ".../zp-core/admin.php?from=%2Fzp-core%2Fadmin-tags.php"
I barely know my way around zenphoto so I don't feel like I can do a lot of debugging on my own, however, I know that encoded url seperators (%2F) will make Apache puke before running mod_rewrite, etc. etc.
It's worth noting that the same problems have been described over (http://www.zenphoto.org/support/topic.php?id=5146) as well.
- Running on in a MAMP environment.
- Info from the admin page:
Zenphoto version 1.2.4 [3716] (Official Build)
Current gallery theme: default
PHP version: 5.2.5
PHP memory limit: 96M (Note: Your server might allocate less!)
MySQL version: 5.0.41
Database name: txp-clean
Spam filter: none
Captcha generator: zenphoto
Active plugins:
class-video v1.0.0
filter-zenphoto_seo v1.0.0
flowplayer v1.0.3
google_maps v1.3
image_album_statistics v1.0.7.1
rating v1.0.1
slideshow v1.0.6.6
tag_suggest v1.0.0
Active filters:
seoFriendlyURL
10: filter-zenphoto_seo.php => filterAccentedCharacters
So the problem is why does the login not stick. Most likely because cookies and/or sessions are not behaving correctly.
At that time I was using version 1.2.3 and Firefox as my browser. Sbillard was kind enough to try and help with the problem, but it was never resolved, and LIFE took over and I forgot to follow-up on fixing it. (My fault)
I upgraded to version 1.2.4 last night and ran Setup.php and the problem still exists. I am not a tekkie type person in this area, but I have decided to live with this. The software as a whole is GREAT and so is sbillard. If the problem gets fixed in a later release- good and if it doesn't I am still Ok with that.