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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 1
Joined: Mon Apr 09, 2007 10:47 pm

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"];


Code: Select all

$confadmin = $_COOKIE["confadmin"];

...and it seemed to solve the problem listed above.

Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest