OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



[NO FIX NEEDED] Multiple admin users for OCS

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

[NO FIX NEEDED] Multiple admin users for OCS

Postby ramon » Wed Jun 01, 2011 11:37 am

Hello all,

The solution provided in this post (referenced in the Wiki) is not working for OCS 2.3.3.2...
Any ideas on how to add another Admin?

[UPDATE - 02/06/2011]
The database "hack" on the post above DOES WORK for OCS.
Make sure to be working on the right database...
Last edited by ramon on Thu Jun 02, 2011 5:43 am, edited 1 time in total.
ramon
 
Posts: 931
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: Multiple admin users for OCS

Postby asmecher » Wed Jun 01, 2011 11:49 am

Hi Ramón,

What do you get from:
Code: Select all
SELECT * FROM roles WHERE role_id=1;
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Re: Multiple admin users for OCS

Postby ramon » Wed Jun 01, 2011 12:34 pm

Alec,

Here's the result.
Code: Select all
conference_id      sched_conf_id      user_id      role_id
       0                 0              1             1
       0                 0              2             1
       0                 0              5             1


In OCS 2.1.2.1, I had 3 administrators and it worked perfectly.
After upgrading to 2.3 it stopped working, which means they don't have access to the administration area.
Other things work fine
ramon
 
Posts: 931
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: Multiple admin users for OCS

Postby asmecher » Wed Jun 01, 2011 1:30 pm

Hi Ramón,

Hmm, those entries look fine, and we're using the same setup for our own conference installation, which is 2.3.3-1, which is pretty close to what you're using -- is there any chance that you're working on the wrong database? Does that user account otherwise work OK, and what happens if you navigate directly to the admin URL, i.e. http://[something]/index.php/index/index/admin?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Re: Multiple admin users for OCS

Postby ramon » Thu Jun 02, 2011 5:41 am

Hello Alec,

I probably got confused with the database, as they were 2 different installations with the same content.
I didn't pay attention to the DB name at the time.
The development database had the hack, while the production site, which I needed to replicate didn't.

Sorry for the mess!
ramon
 
Posts: 931
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil


Return to OCS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 1 guest