Fatal error: function getusercookie undefined !

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.
ChrisB
Posts: 16
Joined: Thu Dec 22, 2005 12:25 pm
Contact:

Fatal error: function getusercookie undefined !

Postby ChrisB » Thu Dec 22, 2005 2:21 pm

Since I applied the refresh 'fix' for the registrants page, I am now getting "Fatal error: function getusercookie undefined" for invitedsubmit.php

Help! What have I done wrong? Is this related to a cookie not being set in the first place?

Chris

ChrisB
Posts: 16
Joined: Thu Dec 22, 2005 12:25 pm
Contact:

Postby ChrisB » Thu Dec 22, 2005 2:41 pm

Just wondering if this is happening because I'm running PHP as CGI rather than an Apache module?

ChrisB
Posts: 16
Joined: Thu Dec 22, 2005 12:25 pm
Contact:

Postby ChrisB » Thu Dec 22, 2005 4:33 pm

I took out the 'refresh' code and the page displays okay. But the site is NOT setting cookies!!!

Aargh....!

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

Postby asmecher » Thu Dec 22, 2005 6:59 pm

Hi Chris,

There was a suggestion in the thread I linked (http://pkp.sfu.ca/support/forum/viewtopic.php?t=119) regarding the cookie path -- double-check to see that your base URL is correctly set, or try changing the cookie path to "/".

If you set your cookie path to somewhere other than where OCS is installed, OCS will never receive the cookie; this sounds like the behavior you're encountering.

Regards,
Alec Smecher
Open Journal Systems Team


Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 3 guests