OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



When i login as admin, show me "Access restricted."

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.

New version of PHP

Postby deraadt » Mon Apr 09, 2007 10:50 pm

I noted in getadmincookie() there was still a request for the global variable $HTTP_COOKIE_VARS which has since been superseded by $_COOKIE.

I set...

Code: Select all
$confadmin = $HTTP_COOKIE_VARS["confadmin"];


...to...

Code: Select all
$confadmin = $_COOKIE["confadmin"];


...and it seemed to solve the problem listed above.
deraadt
 
Posts: 1
Joined: Mon Apr 09, 2007 10:47 pm

Previous

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 4 guests