selecting parent album

joel558
joel558's picture

Joined: 2003-04-10
Posts: 93
Posted: Thu, 2003-04-10 18:32

I'm using the lastest version of gallery remote(downloaded today, with java vm) it seems to work good for most things but the problem I have is when I try to create a new album, I can't select the "Gallery Main Page", so I can only create subfolders.

Is this a bug? or am I doing something wrong? or not set up correctly?

thanks,
joel

 
joel558
joel558's picture

Joined: 2003-04-10
Posts: 93
Posted: Sat, 2003-04-12 06:25

alright, I've solved the problem by looking around cvs and seeing that one of the updates solved this problem, so I upgraded to the "bleeding edge" version, and now selecting the gallery main page as parent works fine.

I noticed though that in this version(and also 1.0) that if the gallery main page is empty(no albums) that the new album button is greyed out, and an album has to be created using the online interface, before the button is selectable. Of course 99.99% of the time, someone will have created an album using the online interface, before even using gallery remote, so its not really a huge deal.

joel

 
tcbeatie

Joined: 2003-07-30
Posts: 18
Posted: Fri, 2003-08-01 02:40

I'm using Gallery Remote 1.1b14 running on MacOSX 10.2.6 to talk to Gallery 1.3.4-pl1.

when I log into the Gallery via the web interface, as my non-admin user (with permissions set to create albums->yes, admin->no), I can create an album in the parent directory with no problem.

when I do this via Gallery Remote, I get the following:

19928|INFO |MainFrame |Command selected NewAlbum
29429|INFO |NewAlbum |Command selected OK
29430|TRACE|NewAlbum |Selected root album
29430|INFO |Gallery |Creating new album test
29433|TRACE|GalComm2 |Still logged in to http://gallery.phoenixnest.org/
29433|INFO |GalComm2 |Getting album information from http://gallery.phoenixnest.org/
29434|TRACE|GalComm2 |new-album parameters: [HTTPClient.NVPair[name=cmd,value=new-album], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=set_albumName,value=hack_null_albumName], HTTPClient.NVPair[name=newAlbumName,value=test], HTTPClient.NVPair[name=newAlbumTitle,value=test], HTTPClient.NVPair[name=newAlbumDesc,value=test]]
29434|TRACE|GalComm2 |Url: /gallery_remote2.php
29443|TRACE|GalComm |Sending cookie: PHPSESSID=315e7ee484d1fcead1317f0cd3eaffd7; path=/; domain=gallery.phoenixnest.org
29790|TRACE|GalComm2 |#__GR2PROTO__
status=501
status_text=A new album could not be created because the user does not have permission to do so.
29790|INFO |GalComm2 |Error: A new album could not be created because the user does not have permission to do so.

I see that joel558 voiced this same problem back in April, and said that there was a fix in the CVS tree. I assume that by the releases I'm using that this fix would have been merged, so I'm thinking that this is a new problem, or perhaps I'm wrong about the merge :)

Help?

thanks.

(yes, I can go and create an album online, then upload using GR, but since I should be able to do this, I'd like to figure out what's going on)

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2003-08-01 07:37

tcbeatie, can you attach a more complete log, which includes the part where GR fetches the list of albums and permissions? That will let me determine what I'm doing wrong when comparing perms.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2003-08-01 08:10

Just to clarify, when tcbeatie writes about the "parent" directory, he means the Gallery root (where there can be only albums, no pictures).

 
tcbeatie

Joined: 2003-07-30
Posts: 18
Posted: Sat, 2003-08-02 16:54
paour wrote:
tcbeatie, can you attach a more complete log, which includes the part where GR fetches the list of albums and permissions? That will let me determine what I'm doing wrong when comparing perms.

here ya go.. (password removed ;)

 
digitaltourist

Joined: 2005-01-18
Posts: 1
Posted: Tue, 2005-01-18 18:34

did this ever get resolved? I am having the same problem using the latest nightly (remote). Do I need to upgrade the server side to correct this?