[Users] Re: Upgrade from 0.3 to 0.4

Alessandro Enea Alessandro.Enea a ilc.cnr.it
Ven 21 Ott 2005 11:33:49 CEST


>> Hi all,
>>
>> I wish to upgrade my Hyperjournal site from 0.3 version to 0.4 "fever".
>> After downloaded from download section the hyperjournal-0.4.tar.gz  
>> file, configured it, executed the setup.php using the already exists  
>> mysql db and sesame repository and so on ... when i login to the new  
>> version as Admin and select the "Control Panel" under "Journal Config"  
>> i see this error on the top bar:
>>
>> #insufficient permissions to access page#
>
> This is a very strange error, we've never encountered it. It may depend  
> by
> pre-existing session data which conflicts with the new installation.
> Does the rest of the journal work correctly? Do you experience the error  
> in
> "Journal Config" or in the whole control panel?
> If the problems pops out only in "Journal Config" you may have not set  
> the
> right permission for Administrator to access that panel, please try to  
> go to
> "Editorial Management" --> "Roles and Permissions" and *give all
> permissions* to group admin.

Hi Michele,
i cannot access to "Editorial Management" because it's under the "Admin  
Menu" and the error appairs when i click under control panel in the "User  
Menu" (as i have verified into your HJ Demo site [85.39.151.140]) before  
to access to the "Admin Menu".
Anyway, in admin/index.php i have using your debug instruction in row 84  
and i see these permissions for admin:

array (
   'Create committee' => false,
   'Delete committee' => false,
   'Change committee name' => false,
   'Change committee permission' => false,
   'Assign user to committee' => false,
   'Remove user from committee' => false,
   'Assign publish to committee' => false,
   'Remove publish from committee' => false,
   'Assign eval to committee' => false,
   'Remove eval from committee' => false,
   'Assign edit to committee' => false,
   'Remove edit from committee' => false,
   'Write publication assignation rules' => false,
   'Write editing assignation rules' => false,
   'Write evaluation assignation rules' => false,
   'skipPeerReview' => false,
   'skipEvaluationTime' => false,
   'Eval each contribute' => false,
   'Eval assigned contribute' => false,
   'Edit each contribute' => false,
   'assignContributionsToCategory' => false,
   'Edit assigned contribute' => false,
   'Publish each contribute' => false,
   'Publish assigned contribute' => false,
   'manageAuthors' => false,
   'editCategories' => false,
   'editIssues' => false,
   'editTemplates' => false,
   'ManageHJConfig' => false,
   'JustAccessControlPanel' => false,
   'ManagePublicationCriteria' => false,
   'editHomeComposer' => false,
)

I suppose that they must be true !
I am searching into mysql tables for this permissions .... right ? Where i  
have to search ?

But i am ill-fated and i have a second problem:
Using "Register now" to add a new user, after the label "Personal data"  
the PHP script userRegistration.php give me this error:

No Truetypefont available for the CaptchaClass.

I think it depend from this instruction into  
/opt/hyperjournal/classes/third/hn_captcha.class.php row number 120:

var $TTF_RANGE  =  
array('COMIC.TTF','JACOBITE.TTF','LYDIAN.TTF','MREARL.TTF','RUBBERSTAMP.TTF','ZINJARON.TTF');

I have upgraded my Macos to Tyger and is it possible that anyone of these  
TTF files is present ?
In /Library/Fonts any of these are present !
What you suggest me ?

Bye
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