View Single Post
  #2  
Old 01-23-2013, 12:58 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 391,770
Hall of Famer is on a distinguished road
Default

umm so you are able to login, just get this weird cookie warning? If so, find these lines:

PHP Code:
    public function setAdminCookies(){
        global 
$mysidia;
        
ob_start();
        
$Month 2592000 time();
        
$session $mysidia->session->getid();
        
$this->mysadmsession sha1($this->mysuid.$session);     
        
setcookie("mysadmsession",$this->mysadmsession,$Month);    
        
$this->mysadmloginattempt 0;
        
setcookie("mysadmloginattempt"$this->mysadmloginattempt,$Month);
        
ob_flush();
        return 
TRUE;
    } 
Replace by:

PHP Code:
    public function setAdminCookies(){
        global 
$mysidia;
        
ob_start();
        
$Month 2592000 time();
        
$session $mysidia->session->getid();
        
$this->mysadmsession sha1($this->mysuid.$session);     
        @
setcookie("mysadmsession",$this->mysadmsession,$Month);    
        
$this->mysadmloginattempt 0;
        @
setcookie("mysadmloginattempt"$this->mysadmloginattempt,$Month);
        
ob_flush();
        return 
TRUE;
    } 
See if the warning goes away.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote