[Users] Re: Re: Upgrade from 0.3 to 0.4

Alessandro Enea Alessandro.Enea a ilc.cnr.it
Ven 21 Ott 2005 14:56:54 CEST


> Hi,
>
> the table you are looking for is the 'committee' table. In there are the 
> permissions assigned to each user group.
> The installation process should have filled the first row (the admins'  
> one)with the values:
> 1, 'admin', 63, 511, 12, 2, 0, 0, 127, 1
>
> corresponding to the fields:
> 'id', ' name', ' committeeedit', ' assigntasks', ' evaluate', '  
> essayedit','publish', ' other', ' configuration', ' home'
>
> These values along with those of the other committees can be found in the 
> sql/committee.sql file.
>
> If the problem persists another table to look into, and the relative  
> values,is in the sql/action.sql file.
>
> The true type font can be assigned from the admin panel once the previous 
> problem is taken care of. The complete option path in the admin panel is 
> database & filesytem -> locations.
>
> Riccardo
> Antonio

Hi,

the first row of the 'committee' table is exactly as you have written, and  
the 'action' table is well created from the sql/action.sql file.

But I have found the error using your infos !

Let's back to the Setup.php.

1. Into the "Paths and URLs" form i have inserted:
...
HyperJournal Absolute URL: http://ijdph.ilc.cnr.it
HyperJournal Relative URL: hyperjournal
...

2. Into the "Create an Admin User" form i have inserted:
...
Your journal PURL: http://purl.org/ilc.cnr.it/ijdph

Infact i have created a PURL subdomain for my journal into  
http://www.purl.org

3. My Hyperjournal Home page (calculated from 1. values) is  
http://ijdph.ilc.cnr.it/hyperjournal , right, and every username has  
before "http://ijdph.ilc.cnr.it/hyperjournal/" as appears into my home  
page.

4. Now the error is into the 'user2committee' table !
In the first row i have found these values:
'1', 'http://purl.org/ilc.cnr.it/ijdph/admin', '1', 'accepted'

So the admin complete username:
http://ijdph.ilc.cnr.it/hyperjournal/admin
is different from:
http://purl.org/ilc.cnr.it/ijdph/admin
and the admin is equal to a simple user.

If i use as username http://purl.org/ilc.cnr.it/ijdph/admin in my home  
page all works fine and the 'Admin menu' appears.

Which is the correct value for 'user2committee' table ???
Can you distribute a correct version of Setup.php ???

Alessandro


-- 
Alessandro Enea                         Phone:  +39 050 3152842
ILC - Ist. Linguistica Computazionale   Fax:    +39 050 3152839
Via Giuseppe Moruzzi 1
56124 Pisa - Italia            Mail: Alessandro.Enea a ilc.cnr.it
----------


Maggiori informazioni sulla lista Users