librefm-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-bugs] [bug #26497] Can't install locally since the move from md


From: David Mignot
Subject: [Librefm-bugs] [bug #26497] Can't install locally since the move from mdb2 to adodb
Date: Fri, 08 May 2009 06:01:13 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10

URL:
  <http://savannah.nongnu.org/bugs/?26497>

                 Summary: Can't install locally since the move from mdb2 to
adodb
                 Project: libre.fm
            Submitted by: idflood
            Submitted on: Fri 08 May 2009 06:01:12 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Since the move from mdb2 to adodb it seems i can't install the trunk version
locally.

One of the problem is the $adodb_connect_string which is empty ( if I replace
it in gnukebox/install.php by $connect_string the install goes a bit further
)

Here is the error I get from gnukebox/install.php without changing the
$adodb_connect_string:
object(ADODB_Exception)#1 (13) { ["dbms"]=>  string(16) "ADONewConnection"
["fn"]=>  string(16) "ADONewConnection" ["sql"]=>  string(0) "" ["params"]=> 
string(0) "" ["host"]=>  string(0) "" ["database"]=>  string(0) ""
["message:protected"]=>  string(98) "ADONewConnection error: [-998: could not
load the database driver for ''] in ADONewConnection(, ) "
["string:private"]=>  string(0) "" ["code:protected"]=>  int(-998)
["file:protected"]=>  string(54)
"/usr/local/php5/lib/php/adodb/adodb-exceptions.inc.php" ["line:protected"]=> 
int(78) ["trace:private"]=>  array(3) { [0]=>  array(4) { ["file"]=> 
string(43) "/usr/local/php5/lib/php/adodb/adodb.inc.php" ["line"]=>  int(4105)
["function"]=>  string(11) "adodb_throw" ["args"]=>  array(7) { [0]=> 
string(16) "ADONewConnection" [1]=>  string(16) "ADONewConnection" [2]=> 
int(-998) [3]=>  string(41) "could not load the database driver for ''" [4]=> 
string(0) "" [5]=>  bool(false) [6]=>  bool(false) } } [1]=>  array(4) {
["file"]=>  string(43) "/usr/local/php5/lib/php/adodb/adodb.inc.php"
["line"]=>  int(4020) ["function"]=>  string(16) "ADONewConnection" ["args"]=>
 array(1) { [0]=>  NULL } } [2]=>  array(4) { ["file"]=>  string(46)
"/Users/davidmignot/htdocs/gnukebox/install.php" ["line"]=>  int(43)
["function"]=>  string(16) "NewADOConnection" ["args"]=>  array(1) { [0]=> 
NULL } } } ["msg"]=>  string(41) "could not load the database driver for ''"
}

NewADOConnection(null) % line   43, file: install.php

Database connection failure



And here is the error I get if I replace the $adodb_connect_string to
$connect_string:
Fatal error: Uncaught exception 'ADODB_Exception' with message 'postgres7
error: [-1: ERROR: column "uniqueid" referenced in foreign key constraint does
not exist] in EXECUTE("CREATE TABLE Groups ( id SERIAL PRIMARY KEY, groupname
VARCHAR(64), owner INTEGER REFERENCES Users(uniqueid), fullname VARCHAR(255),
bio TEXT, homepage VARCHAR(255), created INTEGER NOT NULL, modified INTEGER,
avatar_uri VARCHAR(255), grouptype INTEGER)") ' in
/usr/local/php5/lib/php/adodb/adodb-exceptions.inc.php:78 Stack trace: #0
/usr/local/php5/lib/php/adodb/adodb.inc.php(1035): adodb_throw('postgres7',
'EXECUTE', -1, 'ERROR: column ...', 'CREATE TABLE Gr...', false,
Object(ADODB_postgres7)) #1 /usr/local/php5/lib/php/adodb/adodb.inc.php(1010):
ADOConnection->_Execute('CREATE TABLE Gr...', false) #2
/Users/davidmignot/htdocs/gnukebox/install.php(91):
ADOConnection->Execute('CREATE TABLE Gr...') #3 {main} thrown in
/usr/local/php5/lib/php/adodb/adodb-exceptions.inc.php on line 78





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26497>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]