[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tof-general] Adding pictures.
From: |
Someone |
Subject: |
Re: [Tof-general] Adding pictures. |
Date: |
Thu, 6 Jun 2002 11:53:35 +0200 |
User-agent: |
Mutt/1.2.5i |
On Tue, Jun 04, 2002 at 07:21:47PM +0200, Laurent Martelli wrote:
> >>>>> "J" == Someone <address@hidden> writes:
>
> J> Hi. I Keep getting these errormessages when i try to add
> J> pictures. I've tried several methods, but it always ends up with
> J> errormessages like this one:
>
> J> Database error: Invalid SQL: insert into permissions
> J> (GroupID,PictureID) values (,12) PostgreSQL Error: 1 (ERROR:
> J> parser: parse error at or near "," ) Session halted.
>
> J> The problem is that it can't find the GroupID, and I can't
> J> understand why.
>
> J> Anyone got a clue ?
>
Martelli> Did you do this as "admin" ? This user does not have a "selfGroup", so
Martelli> that would explain.
selfGroup was missing =)
>
>
Martelli> You can either create a new user through the admin interface (In
Martelli> "admin actions", select "Add a user"). It will fail the first time
Martelli> :-(, but it should work with a second try. I'm to blame.
Thats what i tried...
>
Martelli> The second solution, is to create a selfGroup for admin, with the
Martelli> following SQL commands :
>
Martelli> insert into groups (name,owner) values ('admin',1);
Martelli> UPDATE users set selfgroup=(SELECT owner from groups where
name='admin') where userid=1;
And that solved the problem, Tnx Alot!
>
>
Martelli> It's been a long time since I installed tof from scratch, so it's not
Martelli> as easy as I could be :-)
=)
Want a wishlist for this superb proggie ? =)
* List of used keywords
* Delete roll function that removes the pictures within the roll
Othwise.. i can't come up with something else, xcept what's already
in the todo list =)
Keep up the good work!
/J.
>
>
> --
> Laurent Martelli http://jac.aopsys.com/
> address@hidden http://www.bearteam.org/~laurent/
>
--
//blizzard
address@hidden