Witam.
Mam pewnien problem i nie wiem zabardzo co zrobic!
Miałem działajace forum, ale w pewnym momencie przypadkowo skasowalem plik config.php. Wgrałem nowy plik z prawidłowymi ustawieniami i po wejsciu na forum mam następujący komunikat:
SQL ERROR [ mysql4 ]
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [2002]
BACKTRACE
FILE: includes/db/mysql.php
LINE: 95
CALL: dbal_mysql->sql_error()
FILE: common.php
LINE: 206
CALL: dbal_mysql->sql_connect()
FILE: index.php
LINE: 20
CALL: include('common.php')
Nie wiem zabardzo jak sobie z tym poradzic bo myslałem ze sprawa \będzie polegała na wgraniu nowego pliku i prostej konfiguracji. Proszę o pilna pomoc.
Awaria forum
Re: Awaria forum
Podaj treść tego pliku (bez hasła).
Re: Awaria forum
<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql';
$dbhost = 'sql.wballiance.nazwa.pl';
$dbport = '3305';
$dbname = 'wballiance_1';
$dbuser = 'wballiance_1';
$dbpasswd = '';
$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';
@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?>
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql';
$dbhost = 'sql.wballiance.nazwa.pl';
$dbport = '3305';
$dbname = 'wballiance_1';
$dbuser = 'wballiance_1';
$dbpasswd = '';
$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';
@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?>
Re: Awaria forum
Zmień to:
na:
Kod: Zaznacz cały
$dbport = '3305';Kod: Zaznacz cały
$dbport = '';