hi, I try to install but get this error:
Install StatusNet
Page notice
* Starting installation...
* Checking database...
* Changing to database...
* Running database script...
* Adding SMS carrier data to database...
* Adding notice source data to database...
* Adding foreign service data to database...
* Writing config file...
Fatal error: Uncaught ServerException: [400]: [Config] DB_DataObject error [-25]: Connect failed, turn on debugging to 5 see why thrown in /home/hkoswret/public_html/classes/Memcached_DataObject.php on line 508
please help!!!!! thanks
Comments
I get that error, I dont know how is memcached or if I need enable or not or how enabled...
please help at this point I dont cant run status.net on my server.
'Connect failed' is a bit suspicious... Looking in extlib/DB.php I see that error -25 is:
define('DB_ERROR_EXTENSION_NOT_FOUND',-25);
Some of the installer code is still using the older 'mysql' extension manually, while we set up the connection to actually use the 'mysqli' extension. Make sure that this is present in the PHP configuration.
I ran into the same probs and resolved like described above.
??????
I cant install mysqli on my server, I run all my apps with mysql, why status.net dont works?
$config['db']['database'] = 'mysqli://user:psw@localhost/dbname';
Fatal error: Uncaught ServerException: [400]: [Config] DB_DataObject error [-25]: Connect failed, turn on debugging to 5 see why thrown in /home/hkoswret/public_html/classes/Memcached_DataObject.php on line 508
BUT! I change this:
$config['db']['database'] = 'mysqli://user:psw@localhost/dbname';
for this:
$config['db']['database'] = 'mysql://user:psw@localhost/dbname';
and now RUN! but! the problem is that dont create the admin account! this step:
An initial user with the administrator role has been created.
is obvious beacuse the fatal error when create the config.php is before that the initial user admin role.
any way to install this without the /install.php? I mean install without wizard?
mysqli stands for mysql improved
what version of php are you running (php -v will show you this)
In debian/ubuntu you would install mysql and mysqli support like this
sudo apt-get install php5-mysql
to see if you have this module
php -m | grep mysql
http://php.net/manual/en/book.mysqli.php
'check_module' => 'mysql', // mysqli?
but its checking for the wrong thing, odd that the comment for the correct module.
Ill make sure this gets fixed.
The installer checks for the 'mysql' module because the old installer code used the 'mysql' module functions to set things up at install time. Everything *after* that uses the 'mysqli' module.
For 0.9.2 I've fixed the installer to be consistent, so it'll check for and use the 'mysqli' module.
1. if I running local on MAMP, everything is ok, so go to upload the local on my server... so I export and import the database, upload the files and just change this files:
I change this:
$config['db']['database'] = 'mysqli://user:psw@localhost/dbname';
for this:
$config['db']['database'] = 'mysql://user:psw@localhost/dbname';
ok now running, any problem to run of this way? I dont like it but works.
2. for me dont works on a server install... why? maybe yes I dont have mysqli module install, I ask to tech guys of the server and he say "Im not sure if I install mysqli can affect the others mysql dabatases on server and if can destroy the other sites that running with mysql"
is stupid? install mysqli cant!! affect the other mysql database... wordpress, expression engine etc... databases????
"Im not sure if I install mysqli can affect the others mysql dabatases on server and if can destroy the other sites that running with mysql" --do not run you outher sites with a mysqli connection string, but you need it for statusnet. I dont think you should bother with compiling your own php, ask them to upgrade.
Apache version 2.2.14
MySQL version 5.0.90-community
PHP version 5.2.11
If I upgrate php to the last bulit: PHP 5.3.2, maybe mysqli are enable?
i have the same problem, but mysqli is installed: http://micro.geislingen.org/info.php
But i tried the install on a managed server after this solution: http://status.net/open-source/issues/1897
Maybe the problem is the socket ?