View Single Post
  #2 (permalink)  
Old 03-05-2007, 12:45 AM
oferelijah oferelijah is offline
Junior Member
 
Join Date: Mar 2007
Posts: 3
it seems that my problem is here:

Code:
         //update the database with current time() for voter 
         $time_update = "update " . USERS_TABLE . " set karma_time ='$time' where user_id ='$userdata[user_id]'"; 
         $result = $db->sql_query($karma_update); 
         $time_result = $db->sql_query($time_update); 
    
         if($result&&$time_result) //Both gotta happen... 
            {       
              if(!isset($topic_id)) 
               { 
                     header('Location: index.php'); 
                           break; 
                     } 
              else 
               { 
                 header('Location: viewtopic.php?t='.$topic_id); 
               } 
            } 
         else 
            { 
               message_die(GENERAL_ERROR, $lang['Critical_Error'] . '
<a> ' . $lang['Return_To_Topic'] . ' </a>', __LINE__, __FILE__, $sql); 
            } 
      } 
   else 
      { 
         message_die(CRITICAL_MESSAGE, $lang['Too_Soon'] . '
<a> ' . $lang['Return_To_Topic'] . ' </a>'); 
      } 
} 
}
because when i press the + or - for karma points it add the point' that meens hes going to the karma.PHP
but he dont enter to that code i Quoted.
any one knows what goes on here?
mybe i have to incloud some files ?
:roll:
Reply With Quote