Pages (3):    1 2 3   
Member
Member
vicki.farmer   14-04-2009, 18:38
#21

Hi --

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?

Administrator
Administrator
acrylian   14-04-2009, 18:50
#22

As said above I sorry I am not able to reproduce this problem or ever encountered it and our expert on this is currently still out of town (in some parts of the world there additionally were Easter holidays, you know...:-)).

Member
Member
sbillard   15-04-2009, 20:25
#23

The code you commented out can only effect the tags tab page. It has no relevance to any other tab appearing or not. The intent of the code is to prevent users without appropriate rights (in this case ADMIN) from changing the tags.

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.

Member
Member
vicki.farmer   16-04-2009, 15:27
#24

Hi sb --

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?

Member
Member
sbillard   16-04-2009, 17:19
#25

The same test is done for showing the tab as for checking the validity of the page load, so, no, no idea of why it should work one place and not the other. As for the other tabs, the rights for using them may be less restrictive.

Member
Member
vicki.farmer   20-04-2009, 19:58
#26

So, there's nothing more we can do? No investigation, no diagnostics, no suggestions for what I should look for? Because in my experience, computers really do do what we tell them to, so if this is happening, there's got to be a reason for it. Someone else has had a similar experience; something must be causing this. Am I just on my own?

Member
Member
sbillard   20-04-2009, 20:38
#27

And they always do the same thing given the same circumstances. So, there must be some difference in the circumstances of your installation from everyone elses. So, the investigation starts with what is unique with yours.

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.

Junior Member
Junior Member
sjh   08-05-2009, 14:20
#28

Just to add a little weight to this thread, I'd like to chip in that I've been having the same problem as well.

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

Administrator
Administrator
acrylian   08-05-2009, 14:38
#29

I am also on MAMP and I can't reproduce that. Btw, the admin backend actually does not use mod_rewrite.

Member
Member
sbillard   08-05-2009, 15:43
#30

The symptom you are seeing is that when you visit the tabs page Zenphoto thinks you are not logged in. Thus it redirects you to the admin page with a record of which page you were trying to access. That is the source of the URL.

So the problem is why does the login not stick. Most likely because cookies and/or sessions are not behaving correctly.

Member
Member
Deliciousfx   10-05-2009, 18:57
#31

Hello group. I posted on this exact same problem regarding the Tags tab jumping to the Overview Page a few months ago. For me - Tags tab at top of Admin page is totally useless and non functioning in any form other than to jump me to Overview Page.

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.

Administrator
Administrator
acrylian   11-05-2009, 08:50
#32

I am not able to reproduce that for example so it is hard to find out what that is.

Member
Member
NZMuso   10-06-2009, 05:56
#33

Hi everyone

Our tech-head has just installed Zenphoto. (Data at bottom of post). Most of it appears to be working ok, but I am having this exact problem with the "tags" tab of Admin apparently not working - redirecting back to the Admin/Overview tab. (there is another problem but I will put that in another thread).

I would appreciate any help you can offer!
Thanks

Mark
Zenphoto version 1.2.5 [4022] (Official Build)
Current gallery theme: default
PHP version: 5.2.4-2ubuntu5.3
Graphics support: PHP GD library 2.0 or higher
PHP memory limit: 96M (Note: Your server might allocate less!)
MySQL version: 5.0.51a
Database name: zenphoto
Table prefix: zp_
Spam filter: none
Captcha generator: zenphoto
Active plugins:
class-video v1.0.0
filter-zenphoto_seo v1.0.0
flvplayer v1.1.1
Active filters:
seoFriendlyURL
10: filter-zenphoto_seo.php => filterAccentedCharacters

Member
Member
NZMuso   10-06-2009, 05:59
#34

Apologies

I am using IE8 and Firefox 3.0.10 and have the same problem on both.

Thanks agin

Mark.

Member
Member
sbillard   10-06-2009, 21:41
#35

I doubt it is eithr IE8 or FF3 since I am using both.

You can set the DEBUG_LOGIN define to true in functions-basic.php. This will log "login" information in zp-core/debug_log.txt. (You should delete this file first if it exists.) Maybe there will be an indication of what is wrong.

But as neither acrilian nor I can reproduce this, we have no clue as to why it is not working.

Member
Member
snazawa   01-07-2009, 07:49
#36

Same problem here using FF3.5 or Safari 4.0.

Zenphoto version 1.2.5 [4022] (Official Build)


Current gallery theme: flickrish


PHP version: 5.2.6


I was having problems with Cookie authentication, so I switched to Session authentication and that's when the problem of the Tag tab redirect started. So I just switched back to Cookie authentication, logged out and back again and now I can view the Tags page again. It sounds like you've might have an issue with your $_SESSION variable keeping track of the "Tags" tab rights but I have not even looked at your code.

Thanks for a wonderful product and all the many hours you put into this!

Member
Member
snazawa   01-07-2009, 08:45
#37

Just for clarification for others that may be running into this issue. You change from Cookie to Session authentication on the Options > Gallery tab. Here's the description of that option:

enable gallery sessions

Check this option if you are having issues with album password cookies not being retained. Setting the option causes zenphoto to use sessions rather than cookies.


Debugging info: I did not want to take the time to figure out your debugging system, so I just did a couple of quick echo's at the top of these two files right after:

require_once(dirname(FILE).'/admin-functions.php');

admin-tags.php


$_zp_loggedin: 0
TAGS_RIGHTS: 4096
ADMIN_RIGHTS: 65536

admin-upload.php


$_zp_loggedin: 79710
UPLOAD_RIGHTS: 16
ADMIN_RIGHTS: 65536

Perhaps this will help you debug?

Member
Member
snazawa   01-07-2009, 09:31
#38

On a related note, if I have session authentication set, I cannot create dynamic albums. I'm getting re-directed to the overview (admin.php) page at line 34 in the admin-dynamic-album.php file:

if (!zp_loggedin()) {
header("Location: " . FULLWEBPATH . "/" . ZENFOLDER . "/admin.php");
exit();
}

I'm logged in as the Admin (master) user. It must be a session/authentication issue related to why I cannot access the Tags page.

Member
Member
sbillard   01-07-2009, 15:02
#39

Sorry you could not work out the debug log stuff. It is really not so hard. Anyway, the debug output you present is of no use, it tells us only what we already know--the "cookie/session" login failed.

However, now that we know sessions are the key, we can probably reproduce and fix the problem.

Member
Member
snazawa   01-07-2009, 18:26
#40

Thanks. I appreciate your help on this. It wasn't that I coudn't figure out that debug log system, but it was late and I just wanted to do something quick. In the end it may have been easier to try the debug log. Thanks again. Look forward to hearing what you find.

Pages (3):    1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.