Poważny problem z forum.

Błąd   Założony przez  ThomasGrand.

wersja skryptu MyBB:1,8,5
adres forum: www.fast-gaming.eu
Styl [1.8] Splat Dark pobrany stąd https://webboard.pl/thread-62527.html (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

[Obrazek: pyjh3r.jpg]

Witam, mam poważny problem z forum, kolega chciał wgrać amx bans na forum po przez baze i wyskakuję teraz taki błąd jak na screenie po wejsciu na strone.
Wie ktoś jak to naprawić? :((((
Niepoprawne dane do bazy danych w pliku inc/config.php
Jak to naprawić wiesz może ? :(

<?php
/**
* Database configuration
*
* Please see the MyBB Wiki for advanced
* database configuration for larger installations
* http://wiki.mybboard.net/
*/

$config['database']['type'] = 'mysqli';
$config['database']['database'] = 'hardotto_mbb1';
$config['database']['table_prefix'] = 'mbb_';

$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'hardotto_mbb1';
$config['database']['password'] = 'J)QbPwYKjb04[^6';

/**
* Admin CP directory
*  For security reasons, it is recommended you
*  rename your Admin CP directory. You then need
*  to adjust the value below to point to the
*  new directory.
*/

$config['admin_dir'] = 'admin';

/**
* Hide all Admin CP links
*  If you wish to hide all Admin CP links
*  on the front end of the board after
*  renaming your Admin CP directory, set this
*  to 1.
*/

$config['hide_admin_links'] = 0;

/**
* Data-cache configuration
*  The data cache is a temporary cache
*  of the most commonly accessed data in MyBB.
*  By default, the database is used to store this data.
*
*  If you wish to use the file system (cache/ directory), MemCache, xcache, or eAccelerator
*  you can change the value below to 'files', 'memcache', 'xcache' or 'eaccelerator' from 'db'.
*/

$config['cache_store'] = 'db';

/**
* Memcache configuration
*  If you are using memcache as your data-cache,
*  you need to configure the hostname and port
*  of your memcache server below.
*
* If not using memcache, ignore this section.
*/

$config['memcache']['host'] = 'localhost';
$config['memcache']['port'] = 11211;

/**
* Super Administrators
*  A comma separated list of user IDs who cannot
*  be edited, deleted or banned in the Admin CP.
*  The administrator permissions for these users
*  cannot be altered either.
*/

$config['super_admins'] = '1';

/**
* Database Encoding
*  If you wish to set an encoding for MyBB uncomment
*  the line below (if it isn't already) and change
*  the current value to the mysql charset:
*  http://dev.mysql.com/doc/refman/5.1/en/charset-mysql.html
*/

$config['database']['encoding'] = 'utf8';

/**
* Automatic Log Pruning
*  The MyBB task system can automatically prune
*  various log files created by MyBB.
*  To enable this functionality for the logs below, set the
*  the number of days before each log should be pruned.
*  If you set the value to 0, the logs will not be pruned.
*/

$config['log_pruning'] = array(
    'admin_logs' => 365, // Administrator logs
    'mod_logs' => 365, // Moderator logs
    'task_logs' => 30, // Scheduled task logs
    'mail_logs' => 180, // Mail error logs
    'user_mail_logs' => 180, // User mail logs
    'promotion_logs' => 180 // Promotion logs
);


/**
* Admin CP Secret PIN
*  If you wish to request a PIN
*  when someone tries to login
*  on your Admin CP, enter it below.
*/

$config['secret_pin'] = '';
Otworzyłeś chociaż ten plik? Masz praktycznie na samym początku: username, password, hostname, database. Tylko nie pytaj co masz tam wpisać...
Wysłałem Ci w kodzie... Jak widać wpisane jest
No jasne, pewnie ślepy jestem, albo głupi bo przecież wkleiłeś zawartość do posta, szkoda że wcześniej tego nie było.

Słowo klucz niepoprawne. Mogą być, jednak są one niepoprawne przez co silnik MyBB nie może połączyć się z serwerem bazodanowym MySQL.
W takim razie co należy zrobić ? :/

Już sobie poradziłem :D



Użytkownicy przeglądający ten wątek:

1 gości