Hi all, I'm trying to set up laconica on Ubuntu 8.04. After changing config.php, I get the following error:
*************************************************************************************************************************************************** Notice: CONNECT: Checking for database specific ini ('') : database_ in options Notice: CONNECT: NEW CONNECTION TP DATABASE : Notice: CONNECT: mysql://laconica:*passwo...@localhost/laconica ebb39eeb85a69edc45ff81f59bdb23e9 Notice: CONNECT: a:1:{s:32:"ebb39eeb85a69edc45ff81f59bdb23e9";O:8:"DB_Error":8:{s:20:"error_message_prefix";s:0:"";s:4:"mode";i:1;s:5:"level";i:1024;s:4:"code";i:-25;s:7:"message";s:29:"DB Error: extension not found";s:8:"userinfo";s:80:" [DB Error: extension not found] ** mysql://laconica:*passwo...@localhost/laconica";s:9:"backtrace";a:15:{i:0;a:6:{s:4:"file";s:21:"/usr/share/php/DB.php";s:4:"line";i:966;s:8:"function";s:10:"PEAR_Error";s:5:"class";s:10:"PEAR_Error";s:4:"type";s:2:"->";s:4:"args";a:5:{i:0;s:29:"DB Error: extension not found";i:1;i:-25;i:2;i:1;i:3;i:1024;i:4;s:32:" [DB Error: extension not found]";}}i:1;a:7:{s:4:"file";s:23:"/usr/share/php/PEAR.php";s:4:"line";i:564;s:8:"function";s:8:"DB_Error";s:5:"class";s:8:"DB_Error";s:6:"object";r:2;s:4:"type";s:2:"->";s:4:"args";a:4:{i:0;i:-25;i:1;i:1;i:2;i:1024;i:3;s:32:" [DB Error: extension not found]";}}i:2;a:7:{s:4:"file";s:28:"/usr/share/php/DB/common.php";s:4:"line";i:1903;s:8:"function";s:10:"raiseError";s:5:"class";s:4:"PEAR";s:6:"object";O:8:"DB_mysql":8:{s:10:"autocommit";b:1;s:8:"dbsyntax";s:5:"mysql";s:3:"dsn";a:0:{}s:8:"features";a:7:{s:5:"limit";s:5:"alter";s:8:"new_link";s:5:"4.2.0";s:7:"numrows";b:1;s:8:"pconnect";b:1;s:7:"prepare";b:0;s:3:"ssl";b:0;s:12:"transactions";b:1;}s:9:"fetchmode";i:1;s:22:"fetchmode_object_class";s:8:"stdClass";s:7:"options";a:8:{s:16:"result_buffering";i:500;s:10:"persistent";b:0;s:3:"ssl";b:0;s:5:"debug";i:0;s:14:"seqname_format";s:6:"%s_seq";s:8:"autofree";b:0;s:11:"portability";i:0;s:8:"optimize";s:11:"performance";}s:13:"was_connected";b:0;}s:4:"type";s:2:"->";s:4:"args";a:7:{i:0;N;i:1;i:-25;i:2;N;i:3;N;i:4;s:32:" [DB Error: extension not found]";i:5;s:8:"DB_Error";i:6;b:1;}}i:3;a:7:{s:4:"file";s:27:"/usr/share/php/DB/mysql.php";s:4:"line";i:199;s:8:"function";s:10:"raiseError";s:5:"class";s:9:"DB_common";s:6:"object";r:39;s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;i:-25;}}i:4;a:7:{s:4:"file";s:21:"/usr/share/php/DB.php";s:4:"line";i:556;s:8:"function";s:7:"connect";s:5:"class";s:8:"DB_mysql";s:6:"object";r:39;s:4:"type";s:2:"->";s:4:"args";a:2:{i:0;a:9:{s:7:"phptype";s:5:"mysql";s:8:"dbsyntax";s:5:"mysql";s:8:"username";s:8:"laconica";s:8:"password";s:8:" *PASSWORD* ";s:8:"protocol";s:3:"tcp";s:8:"hostspec";s:9:"localhost";s:4:"port";b:0;s:6:"socket";b:0;s:8:"database";s:8:"laconica";}i:1;b:0;}}i:5;a:7:{s:4:"file";s:32:"/usr/share/php/DB/DataObject.php";s:4:"line";i:2260;s:8:"function";s:7:"connect";s:5:"class";s:2:"DB";s:6:"object";O:6:"Notice":23:{s:7:"__table";s:6:"notice";s:2:"id";N;s:10:"profile_id";N;s:3:"uri";N;s:7:"content";N;s:8:"rendered";N;s:3:"url";N;s:7:"created";N;s:8:"modified";N;s:8:"reply_to";N;s:8:"is_local";N;s:6:"source";N;s:22:"_DB_DataObject_version";s:6:"1.8.12";s:1:"N";i:0;s:13:"_database_dsn";s:0:"";s:17:"_database_dsn_md5";s:32:"ebb39eeb85a69edc45ff81f59bdb23e9";s:9:"_database";N;s:6:"_query";a:7:{s:9:"condition";s:0:"";s:8:"group_by";s:0:"";s:8:"order_by";s:0:"";s:6:"having";s:0:"";s:11:"limit_start";s:0:"";s:11:"limit_count";s:0:"";s:11:"data_select";s:1:"*";}s:12:"_DB_resultid";N;s:13:"_resultFields";b:0;s:12:"_link_loaded";b:0;s:5:"_join";s:0:"";s:10:"_lastError";b:0;}s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;s:44:"mysql://laconica: *passwo...@localhost/laconica";}}i:6;a:7:{s:4:"file";s:32:"/usr/share/php/DB/DataObject.php";s:4:"line";i:2320;s:8:"function";s:8:"_connect";s:5:"class";s:13:"DB_DataObject";s:6:"object";r:105;s:4:"type";s:2:"->";s:4:"args";a:0:{}}i:7;a:7:{s:4:"file";s:32:"/usr/share/php/DB/DataObject.php";s:4:"line";i:1579;s:8:"function";s:6:"_query";s:5:"class";s:13:"DB_DataObject";s:6:"object";r:105;s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;s:98:"SELECT * FROM notice WHERE is_local = 1 ORDER BY notice.created DESC, notice.idDESC LIMIT 0, 21";}}i:8;a:7:{s:4:"file";s:36:"/var/www/laconica/classes/Notice.php";s:4:"line";i:314;s:8:"function";s:5:"query";s:5:"class";s:13:"DB_DataObject";s:6:"object";r:105;s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;s:98:"SELECT * FROM notice WHERE is_local = 1 ORDER BY notice.created DESC, notice.idDESC LIMIT 0, 21";}}i:9;a:6:{s:4:"file";s:36:"/var/www/laconica/classes/Notice.php";s:4:"line";i:261;s:8:"function";s:15:"getStreamDirect";s:5:"class";s:6:"Notice";s:4:"type";s:2:"::";s:4:"args";a:6:{i:0;s:40:"SELECT * FROM notice WHERE is_local = 1";i:1;i:0;i:2;i:21;i:3;i:0;i:4;i:0;i:5;N;}}i:10;a:6:{s:4:"file";s:36:"/var/www/laconica/classes/Notice.php";s:4:"line";i:441;s:8:"function";s:9:"getStream";s:5:"class";s:6:"Notice";s:4:"type";s:2:"::";s:4:"args";a:6:{i:0;s:40:"SELECT * FROM notice WHERE is_local = 1";i:1;s:6:"public";i:2;i:0;i:3;i:21;i:4;i:0;i:5;i:0;}}i:11;a:7:{s:4:"file";s:36:"/var/www/laconica/actions/public.php";s:4:"line";i:66;s:8:"function";s:12:"publicStream";s:5:"class";s:6:"Notice";s:6:"object";O:12:"PublicAction":1:{s:4:"args";a:2:{s:6:"action";s:6:"public";s:9:"PHPSESSID";s:32:"f172667ed0064f1b9c07edf63789987f";}}s:4:"type";s:2:"->";s:4:"args";a:2:{i:0;i:0;i:1;i:21;}}i:12;a:7:{s:4:"file";s:36:"/var/www/laconica/actions/public.php";s:4:"line";i:39;s:8:"function";s:12:"show_notices";s:5:"class";s:12:"PublicAction";s:6:"object";r:196;s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;i:1;}}i:13;a:5:{s:8:"function";s:6:"handle";s:5:"class";s:12:"PublicAction";s:6:"object";R:196;s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;a:2:{s:6:"action";s:6:"public";s:9:"PHPSESSID";s:32:"f172667ed0064f1b9c07edf63789987f";}}}i:14;a:4:{s:4:"file";s:27:"/var/www/laconica/index.php";s:4:"line";i:55;s:8:"function";s:14:"call_user_func";s:4:"args";a:2:{i:0;a:2:{i:0;R:196;i:1;s:6:"handle";}i:1;a:2:{s:6:"action";s:6:"public";s:9:"PHPSESSID";s:32:"f172667ed0064f1b9c07edf63789987f";}}}}s:8:"callback";N;}} Notice: CONNECT FAILED: [db_error: message="DB Error: extension not found" code=-25 mode=return level=notice prefix="" info=" [DB Error: extension not found] ** mysql://laconica:*passwo...@localhost/laconica"] Notice: ERROR: Connect failed, turn on debugging to 5 see why. *************************************************************************************************************************************************** My config.php changes look like this: ***************************************************************** $config['site']['name'] = 'Just another Laconica microblog'; $config['site']['server'] = 'localhost'; $config['site']['path'] = 'laconica'; $config['db']['database'] = 'mysql://laconica:*PASSWORD* @localhost/laconica'; $config['db']['debug'] = 5; $config['db']['quote_identifiers'] = false; $config['db']['type'] = 'mysql' ***************************************************************** Am I missing something? Thanks in advance! /Sandeep
_______________________________________________ StatusNet-dev mailing list StatusNet-dev@lists.status.net http://lists.status.net/mailman/listinfo/statusnet-dev