Hello in the first page of my statusnet installation and in database type section there is no database type available for me (empty) but i have MySql on my host and already installed joomla.please help me!!!
yeah ! and gives me this error: "Cannot find a database extension. You need at least one of mysqli, pgsql." is there any other way to config the db manually in order to bypass this page?
@Shinigamy you can take a look at the config.php.sample and edit your config.php to match the database info in it but with your db info, but the fact that the install.php isn't finding mysql leads me to believe something else is wrong...
I have tried configured config.php. failed again...
Error: ********************************************************************** Notice: Undefined index: statusnet in D:\PHPnow\htdocs\statusnet-0.9.7fix1\config.php on line 74
Fatal error: Uncaught ServerException: [400]: [Config] DB_DataObject error [-24]: Connect failed, turn on debugging to 5 see why thrown in D:\PHPnow\htdocs\statusnet-0.9.7fix1\classes\Memcached_DataObject.php on line **********************************************************************
I have configured the following parameters. is there anything missing? $config['site']['name'] = 'Just another StatusNet microblog'; $config['site']['server'] = 'localhost'; $config['site']['path'] = 'statusnet'; $config['db']['database'] = 'mysql://statusnet:microblog@localhost/statusnet'; $config['db']['ini_your_db_name'] = $config['db']['statusnet'].'/statusnet.ini'; $config['db']['quote_identifiers'] = false; $config['db']['type'] = 'mysql';
Strict Standards: Declaration of Memcached_DataObject::delete() should be compatible with that of DB_DataObject::delete() in D:\xampp\htdocs\statusnet\classes\Memcached_DataObject.php on line 23
Strict Standards: Declaration of Config::staticGet() should be compatible with that of Memcached_DataObject::staticGet() in D:\xampp\htdocs\statusnet\classes\Config.php on line 31
Strict Standards: Declaration of Config::pkeyGet() should be compatible with that of Memcached_DataObject::pkeyGet() in D:\xampp\htdocs\statusnet\classes\Config.php on line 31
Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in D:\xampp\php\PEAR\DB\DataObject.php on line 4101
Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in D:\xampp\php\PEAR\DB\DataObject.php on line 2236
Strict Standards: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in D:\xampp\php\PEAR\DB\DataObject.php on line 2241
Strict Standards: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in D:\xampp\php\PEAR\DB.php on line 520
@summerfallen Looks like you need to edit your php.ini to chagge "include_path = ..." to include the D:\ in the include_path line in the php.ini that should help.
Comments
the display or not?
Two inputbox for the selection of the basic type of data.
have look at this pic:
http://www.parsimg.com/uploads/12844515321.jpg
"Cannot find a database extension. You need at least one of mysqli, pgsql."
is there any other way to config the db manually in order to bypass this page?
What's the output of "php -m | grep sql" ?
To use mysql, you should compile your PHP with --with-mysqli option.
I have tried configured config.php. failed again...
Error:
**********************************************************************
Notice: Undefined index: statusnet in D:\PHPnow\htdocs\statusnet-0.9.7fix1\config.php on line 74
Fatal error: Uncaught ServerException: [400]: [Config] DB_DataObject error [-24]: Connect failed, turn on debugging to 5 see why thrown in D:\PHPnow\htdocs\statusnet-0.9.7fix1\classes\Memcached_DataObject.php on line
**********************************************************************
I have configured the following parameters. is there anything missing?
$config['site']['name'] = 'Just another StatusNet microblog';
$config['site']['server'] = 'localhost';
$config['site']['path'] = 'statusnet';
$config['db']['database'] = 'mysql://statusnet:microblog@localhost/statusnet';
$config['db']['ini_your_db_name'] = $config['db']['statusnet'].'/statusnet.ini';
$config['db']['quote_identifiers'] = false;
$config['db']['type'] = 'mysql';
Another question is how can I switch off the error logs which display on the page.
In php.ini, I have set
display_errors = Off
what else shall i do? thank you.
Strict Standards: Declaration of Memcached_DataObject::delete() should be compatible with that of DB_DataObject::delete() in D:\xampp\htdocs\statusnet\classes\Memcached_DataObject.php on line 23
Strict Standards: Declaration of Config::staticGet() should be compatible with that of Memcached_DataObject::staticGet() in D:\xampp\htdocs\statusnet\classes\Config.php on line 31
Strict Standards: Declaration of Config::pkeyGet() should be compatible with that of Memcached_DataObject::pkeyGet() in D:\xampp\htdocs\statusnet\classes\Config.php on line 31
Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in D:\xampp\php\PEAR\DB\DataObject.php on line 4101
Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in D:\xampp\php\PEAR\DB\DataObject.php on line 2236
Strict Standards: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in D:\xampp\php\PEAR\DB\DataObject.php on line 2241
Strict Standards: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in D:\xampp\php\PEAR\DB.php on line 520
<?php<br />if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
$config['site']['name'] = 'MyStatusNet';
$config['site']['server'] = 'localhost';
$config['site']['path'] = 'statusnet';
$config['db']['database'] = 'mysqli://statusnetuser:admin@Localhost/statusnet';
$config['db']['type'] = 'mysql';
"include_path = ..."
to include the D:\ in the include_path line in the php.ini that should help.