• › Witaj Gościu
  • Jesteś niezalogowany (
  • Zaloguj 
  •  lub  

Logo


Strefa czasowa: UTC + 1




Utwórz nowy wątek Odpowiedz w wątku  [ Posty: 3 ] 
Autor Wiadomość
 Tytuł: Problem z instalacją
PostNapisane: Śr gru 01, 2010 8:21 am 
Offline

Dołączył(a): Śr gru 01, 2010 8:06 am
Posty: 2
Próbuję zainstalować ELGG 1.7.5 na serwerze CBA.pl ale pojawia się
Błąd o treści:
Elgg couldn't connect to the database using the given credentials.

Zmieniłem ręcznie engine/settings.example.php na engine/settings.php

zgodnie z instrukcją: http://elgg.pl/elgg/instalacja.html[url][/url]

Oraz edytowałem go wpisując:
Kod:
<?php
/**
* Elgg settings
*
* Elgg manages most of its configuration from the admin panel. However, we need you to
* include your database settings below.
*
* @todo Turn this into something we handle more automatically.
*/

global $CONFIG;
if (!isset($CONFIG)) {
$CONFIG = new stdClass;
}

/*
* Standard configuration
*
* You will use the same database connection for reads and writes.
* This is the easiest configuration, and will suit 99.99% of setups. However, if you're
* running a really popular site, you'll probably want to spread out your database connections
* and implement database replication. That's beyond the scope of this configuration file
* to explain, but if you know you need it, skip past this section.
*/

// Database username
$CONFIG->dbuser = '{{CONFIG_DBUSER}}';

// Database password
$CONFIG->dbpass = '{{CONFIG_DBPASS}}';

// Database name
$CONFIG->dbname = '{{CONFIG_DBNAME}}';

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->dbhost = '{{CONFIG_DBHOST}}';

// Database table prefix
// If you're sharing a database with other applications, you will want to use this
// to differentiate Elgg's tables.
$CONFIG->dbprefix = '{{CONFIG_DBPREFIX}}';

/*
* Multiple database connections
*
* Here you can set up multiple connections for reads and writes. To do this, uncomment out
* the lines below.
*/

/*

// Yes! We want to split reads and writes
$CONFIG->db->split = true;

// READS
// Database username
$CONFIG->db['read']->dbuser = PawelBDS;

// Database password
$CONFIG->db['read']->dbpass = hasło;

// Database name
$CONFIG->db['read']->dbname = pawelbds_cba_pl;

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->db['read']->dbhost = "localhost";

// WRITES
// Database username
$CONFIG->db['write']->dbuser = PawelBDS;

// Database password
$CONFIG->db['write']->dbpass = hasło;

// Database name
$CONFIG->db['write']->dbname = pawelbds_cba_pl;

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->db['write']->dbhost = "localhost";

*/

/*
* For extra connections for both reads and writes, you can turn both
* $CONFIG->db['read'] and $CONFIG->db['write'] into an array, eg:
*
* $CONFIG->db['read'][0]->dbhost = "localhost";
*
* Note that the array keys must be numeric and consecutive, i.e., they start
* at 0, the next one must be at 1, etc.
*/


/**
* Memcache setup (optional)
* This is where you may optionally set up memcache.
*
* Requirements:
* 1) One or more memcache servers (http://www.danga.com/memcached/)
* 2) PHP memcache wrapper (http://uk.php.net/manual/en/memcache.setup.php)
*
* Note: Multiple server support is only available on server 1.2.1 or higher with PECL library > 2.0.0
*/
//$CONFIG->memcache = true;
//
//$CONFIG->memcache_servers = array (
// array('server1', 11211),
// array('server2', 11211)
//);

/**
* Some work-around flags.
*/

// Try uncommenting the below if your notification emails are not being sent
// $CONFIG->broken_mta = true;

/**
* Url - I am not sure if this will be here ?
**/

// URL
$CONFIG->url = "mysql://PawelBDS:hasło@mysql.cba.pl/pawelbds_cba_pl";






. Ale instalator nadal nie działa. Może ktoś wie o co chodzi ?


Góra
 Zobacz profil Wyślij e-mail  
 
 Tytuł: Re: Problem z instalacją
PostNapisane: Śr gru 01, 2010 12:15 pm 
Offline

Dołączył(a): Pn lis 15, 2010 6:47 pm
Posty: 9
Lokalizacja: Poznan, Poland
Być może trzeba jeszcze to wypełnić, na pierwszy rzut oka:


Kod:
Database username
$CONFIG->dbuser = '{{CONFIG_DBUSER}}';

// Database password
$CONFIG->dbpass = '{{CONFIG_DBPASS}}';

// Database name
$CONFIG->dbname = '{{CONFIG_DBNAME}}';

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->dbhost = '{{CONFIG_DBHOST}}';

// Database table prefix
// If you're sharing a database with other applications, you will want to use this
// to differentiate Elgg's tables.
$CONFIG->dbprefix = '{{CONFIG_DBPREFIX}}';

_________________
strony internetowe Poznań


Góra
 Zobacz profil Wyślij e-mail  
 
 Tytuł: Re: Problem z instalacją
PostNapisane: Śr gru 01, 2010 3:19 pm 
Offline

Dołączył(a): Śr gru 01, 2010 8:06 am
Posty: 2
Problem nie znika
Tak wygląda kod:
Kod:
<?php
/**
* Elgg settings
*
* Elgg manages most of its configuration from the admin panel. However, we need you to
* include your database settings below.
*
* @todo Turn this into something we handle more automatically.
*/

global $CONFIG;
if (!isset($CONFIG)) {
   $CONFIG = new stdClass;
}

/*
* Standard configuration
*
* You will use the same database connection for reads and writes.
* This is the easiest configuration, and will suit 99.99% of setups. However, if you're
* running a really popular site, you'll probably want to spread out your database connections
* and implement database replication.  That's beyond the scope of this configuration file
* to explain, but if you know you need it, skip past this section.
*/

// Database username
$CONFIG->dbuser = 'kontoogony';

// Database password
$CONFIG->dbpass = 'haslo';

// Database name
$CONFIG->dbname = 'pawelbds_cba_pl';

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->dbhost = 'localhost';

// Database table prefix
// If you're sharing a database with other applications, you will want to use this
// to differentiate Elgg's tables.
$CONFIG->dbprefix = 'mysql.cba.pl';

/*
* Multiple database connections
*
* Here you can set up multiple connections for reads and writes. To do this, uncomment out
* the lines below.
*/

/*

// Yes! We want to split reads and writes
$CONFIG->db->split = true;

// READS
// Database username
$CONFIG->db['read']->dbuser = "kontoogony";

// Database password
$CONFIG->db['read']->dbpass = "haslo";

// Database name
$CONFIG->db['read']->dbname = "pawelbds_cba_pl";

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->db['read']->dbhost = "localhost";

// WRITES
// Database username
$CONFIG->db['write']->dbuser = "kontoogony";

// Database password
$CONFIG->db['write']->dbpass = "haslo";

// Database name
$CONFIG->db['write']->dbname = "pawelbds_cba_pl";

// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->db['write']->dbhost = "localhost";

*/

/*
* For extra connections for both reads and writes, you can turn both
* $CONFIG->db['read'] and $CONFIG->db['write'] into an array, eg:
*
*    $CONFIG->db['read'][0]->dbhost = "localhost";
*
* Note that the array keys must be numeric and consecutive, i.e., they start
* at 0, the next one must be at 1, etc.
*/


/**
* Memcache setup (optional)
* This is where you may optionally set up memcache.
*
* Requirements:
*    1) One or more memcache servers (http://www.danga.com/memcached/)
*  2) PHP memcache wrapper (http://uk.php.net/manual/en/memcache.setup.php)
*
* Note: Multiple server support is only available on server 1.2.1 or higher with PECL library > 2.0.0
*/
//$CONFIG->memcache = true;
//
//$CONFIG->memcache_servers = array (
//   array('server1', 11211),
//   array('server2', 11211)
//);

/**
* Some work-around flags.
*/

// Try uncommenting the below if your notification emails are not being sent
// $CONFIG->broken_mta = true;

/**
* Url - I am not sure if this will be here ?
**/

// URL
$CONFIG->url = "";


Nazwa użytkownika to: kontoogony
Hasło to: haslo
Nazwa bazy danych to pawelbds_cba_pl


Góra
 Zobacz profil Wyślij e-mail  
 
Wyświetl posty nie starsze niż:  Sortuj wg  
Utwórz nowy wątek Odpowiedz w wątku  [ Posty: 3 ] 

Strefa czasowa: UTC + 1


Kto przegląda forum

Użytkownicy przeglądający ten dział: Brak zidentyfikowanych użytkowników i 2 gości


Nie możesz rozpoczynać nowych wątków
Nie możesz odpowiadać w wątkach
Nie możesz edytować swoich postów
Nie możesz usuwać swoich postów

Szukaj:
Skocz do:  
cron

Polecamy












Powered by phpBB
Przyjazne użytkownikom polskie wsparcie phpBB3 - phpBB3.PL
Not able to open ./cache/data_global.php