List:Eventum General Discussion« Previous MessageNext Message »
From:Sam Boles Date:May 25 2004 1:52pm
Subject:Cookies Disabled Error
View as plain text  
Pardon a newbie question, but I am scratching my head over this one.  If anyone could
point me to where I might find some documentation that addresses this, or knows why this
might be happening, it would be appreciated.
 
I've installed Eventum on our local intranet server (running IIS 5.0 on Windows2000, and
PHP 4.3.3).  It seems to be working appropriately--the database was created, appropriate
users and permissions created.  When I try to log on with an incorrect user/password I
get "Error: The email address / password combination could not be found in the system," 
which implies to me that the script is querying the database and returning rows
appropriately.
 
My problem is that when I try to log on with a correct user/password I get an error
stating "Error: Cookies support seem to be disabled in your browser. Please enable this
feature and try again."
 
I'm scratching my head because cookies are enabled.  I've even gone so far as to (very
temporarily) disable all cookie security on my local browser and reran the logon
page--same error.  When I set cookies to "prompt" to see what is happening, I don't even
get any indication that there is an attempt to set a cookie.  (As an aside, all security
is back at it's previous level--this was just a test.)  
 
Everything I've found in the documentation so far points at solutions that are not
applicable--namely how to enable cookies in the browser or general php cookie advise that
suggests rewriting the code of the script.  This latter is a possibility, but I would
appreciate a few tips on what I might tweak.  (Since I did not write the script, I
obviously don't know how particular methods are used in other portions of the work.) 
 
As an possible pointer to what is happening, I can tell you that I created a very simple
cookie setting and testing php script 
(Code:
<?setCookie ("hinkie", "Where are you?",time()+300,"/","domain_name.org");
if (isset($_COOKIE['hinkie'])) 
    { 
   echo$_COOKIE['hinkie']; 
    } 
 
else 
    { 
        echo"cookie not set"; 
    } 
 
?>)
(And I used an actual domain in the "domain_name.org" space--we want to keep our internal
server names private.) 
 
Interestingly enough--this set and read the cookie.  However I cannot physically find the
cookie anywhere on my machine.  Even if I delete everything out of my Local Settings and
Cookies folder and comment out the setCookie code,  the echo$_COOKIE['hinkie']; line of
code will return "Where are you?"
 
 
Any suggestions as to what to try, or where to look for an answer, would be greatly
appreciated.
 
 
 
Sam Boles 
Database and Web Administrator 
Atlanta Community Food Bank 
970 Jefferson Street, Atlanta, GA  30318 
ph: 404.892.3333 ext 287   
sam.boles@stripped         www.acfb.org <http://www.acfb.org/>  

Atlanta's Table        Hunger Walk       Product Rescue Center 
       Community Gardening        TACK         Hunger 101      Kids in Need 

 

Attachment: [text/html]
Attachment: [text/html]
Thread
Cookies Disabled ErrorSam Boles25 May
  • RE: Cookies Disabled ErrorJoao Prado Maia25 May