Foren / Cotonti / Support / Forum shop V1

backa
#13834 7. Juli 2009, 06:56
installation problem:

2. /system/functions.php Find

$cfg['sqldb'] = 'mysql';


BELOW, ADD:

function getcashbanked($userid)
   {
   $sql2 = sed_sql_query("SELECT COUNT(*) FROM sed_shop_bank WHERE userid='$userid'");
   $amtbnk = sed_sql_result($sql2, 0, "COUNT(*)");

   if($amtbnk > 0)
      {

      $sql3 = mysql_query("SELECT * FROM sed_shop_bank WHERE userid='$userid' LIMIT 1");
      $row3 = mysql_fetch_array($sql3);

      return $row3['amount'];
      }else{
      return 0;
      }
   }

the problem is, that the system/functions.php doesnt have
$cfg['sqldb'] = 'mysql';

what should i do

well that mod didnt install for me, it didnt have the sql file with it... i dled the mod form WDDB

the forum shop havent got SQL file included, can someone help me ?

Dieser Beitrag wurde von backa (am 10. Juli 2009, 14:30, vor 14 Jahre) bearbeitet