Page 1 of 1

adodb

Posted: Fri Aug 26, 2005 1:15 pm
by kishman155
I trying to install a module i write and he gaves me that error

Database driver 'subdomains/testcms/lib/adodb/datadict/datadict-.inc.php' not available

the code is simple

Code: Select all

function Install()
	{
      $config = $this->cms->config;
     $db = $this->cms->db;
  $dict = NewDataDictionary($db);
  $flds = "
  ID I KEY AUTO,
  endung C(10),
  landver C(60),
  einricht N(10.2),
  jahrgeb N(10.2)
  ";

$taboptarray=array('mysql'=>'TYPE=MyISAM');
		$sqlarray = $dict->CreateTableSQL(cms_db_prefix()."domainpreis", $flds, $taboptarray);
		$dict->ExecuteSQLArray($sqlarray);

 }

???

i try to do this on othermodules but they are working fine.

PHP5, MYSQL, APACHE

thanks for help

Re: adodb

Posted: Fri Aug 26, 2005 3:40 pm
by kishman155
Is there a place i could look wich modulenames are already choosen?

the problem was selfmade i have taken a name it was already in use so it could not work.

thanks
Kris