[Users] Re: Re: Upgrade from 0.3 to 0.4
Michele Barbera
barbera a netseven.it
Ven 21 Ott 2005 15:15:23 CEST
You are right Alessandro, there is a bug in the setup.php, thank you for discovering it! To solve
the problem cleanly (we will release a patch soon!), just open the configuration.xml with an editor,
go to <locations>.....<purl>$HERE</purl></locations>
and write (instead of $HERE) http://purl.org/ilc.cnr.it/ijdph
everithing should run smoothly. The value "http://purl.org/ilc.cnr.it/ijdph" in the database tables
is correct. It is the configuration.xml file wich is wrong. The login interface automaticcally fills the
first part of the username with the value of purl as found in the configuration.xml file, if it's blank,
the login uses the hjournal full url. So it makes me think that the setup.php fails to write the
proper value into the configuration.xml.
Thank you once more,
Michele
> 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