Jump to content

Azael Dev

Members
  • Content Count

    0
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    Azael Dev reacted to Dastgir in #cashpoints on Herc Fluxcp ?   
    if (!$this->hasCreditsRecord($targetAccountID)) { $sql = "INSERT INTO {$this->charMapDatabase}.`acc_reg_num_db` (`account_id`, `key`, `index`, `value`) VALUES (?,'#CASHPOINTS',0,?) ON DUPLICATE KEY UPDATE `value`=`value`+?"; $sth = $this->connection->getStatement($sql); $vals = array($targetAccountID, $credits,$credits); return $sth->execute($vals); } Works fine for me... well for the exact error, enable the error reporting from config/error.php :
    Change
     
    $showExceptions = false;    
    to
     
    $showExceptions = true;  
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.