No Database Type!!!

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!!!

Comments

  • During installation you can choose either MySQL or PostgreSQL those are the options.

    the display or not?

    Two inputbox for the selection of the basic type of data.
  • i know those types of database but as i said there is nothing to chose between them.
    have look at this pic:
    http://www.parsimg.com/uploads/12844515321.jpg
  • @Shinigamy does that block you from proceeding with the rest of the install?
  • 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...

    What's the output of "php -m | grep sql" ?
  • His mistake is the browser, not using Internet Explorer, mozilla or google chrome better.
  • I have the same mistake, please help
  • @dejahvooo What type of environment are you hosting on?
  • I've just joined here.
    To use mysql, you should compile your PHP with --with-mysqli option.
  • I have the same error. I am using WIN7 os.

    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';

  • @summerfallen Try using xampp instead of phpnow.
  • @Jordanc: thank you. it works under xampp.

    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.
  • @summerfallen What errors do you see? What does your config.php look like?
  • @Jordanc: I see errors like this.


    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
  • @Jodanc: My Configure.php is like this. Thanks.

    <?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';

  • @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.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID