Gallery Remote, User permission error

Birkir

Joined: 2003-09-18
Posts: 1
Posted: Thu, 2003-09-18 02:11

Hello,

I am starting a gallery which I will allow my friends to upload to via Gallery Remote. The problem is that they can log in successfully in Gallery Remote but when they try to create a new album they get the error "A new album could not be created because the user does not have permission to do so."

That is very strange because on all the users I have made in the user profile "User can create album: YES"

But when the same user enters the site and chooses "New Album" there, everything works fine so the problem is only related to Gallery Remote

The only user that can create a new album via Gallery Remote is Admin (me)

What could be the problem?

Here is the log file:

82198|INFO |MainFrame |Command selected NewAlbum
94475|INFO |NewAlbum |Command selected OK
94475|TRACE|NewAlbum |Selected root album
94475|INFO |Gallery |Creating new album smje
94475|TRACE|GalComm2 |Still logged in to http://URL/gallery/
94475|INFO |GalComm2 |Getting album information from http://URL/gallery/
94475|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=smje], HTTPClient.NVPair[name=newAlbumTitle,value=smje], HTTPClient.NVPair[name=newAlbumDesc,value=smusmu]]
94475|TRACE|GalComm2 |Url: /gallery/gallery_remote2.php
94485|TRACE|GalComm |Sending cookie: PHPSESSID=ec8252e610fb87c4607dc8851953e7aa; path=/; domain=URL
95677|TRACE|GalComm2 |#__GR2PROTO__
debug_album=
status=501
status_text=A new album could not be created because the user does not have permission to do so.
95677|INFO |GalComm2 |Error: A new album could not be created because the user does not have permission to do so.
96849|TRACE|GalComm2 |Still logged in to http://URL/gallery/
96859|TRACE|GalComm2 |fetchAlbums parameters: [HTTPClient.NVPair[name=cmd,value=fetch-albums-prune], HTTPClient.NVPair[name=protocol_version,value=2.3]]
96859|TRACE|GalComm2 |Url: /gallery/gallery_remote2.php
96859|TRACE|GalComm |Sending cookie: PHPSESSID=ec8252e610fb87c4607dc8851953e7aa; path=/; domain=URL
98111|TRACE|GalComm2 |#__GR2PROTO__
debug_album=
album_count=0
status=0
status_text=Fetch albums successful.
98111|INFO |GalComm2 |Fetched albums
98111|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[source=http://URL/gallery/]
98111|TRACE|MainFrame |updateAlbumCombo: current gallery: http://URL/gallery/
98111|TRACE|MainFrame |updatePicturesList: current album: null
98111|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[source=http://URL/gallery/]
98111|TRACE|MainFrame |updateAlbumCombo: current gallery: http://URL/gallery/
98111|TRACE|MainFrame |updatePicturesList: current album: null
98111|INFO |GalComm2 |execution time for AlbumList: 1252

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Sat, 2003-09-20 07:11

This seems to be the same problem as this thread. We're working on it.