![]() |
![]() |
-grzesosw- |
![]()
Post
#1
|
Goście ![]() |
Witam
Mam problem podczas konfiguracji database a mianowicie wyskakuje mi problem cały czas : Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /users/sh177406/www/oglosz.pl/application/config/database.php on line 25 a linia 25 to : 'persistent' => FALSE, Z góry dzięki za pomoc (IMG:style_emoticons/default/smile.gif) |
|
|
![]() |
-grzesow- |
![]()
Post
#2
|
Goście ![]() |
?php defined('SYSPATH') OR die('No direct access allowed.');
if (Kohana::$environment === Kohana::DEVELOPMENT) { return array ( 'default' => array ( 'type' => 'mysql', 'connection' => array( /** * The following options are available for MySQL: * * string hostname * integer port * string socket * string username * string password * boolean persistent * string database */ 'hostname' => 'mysql3.superhost.pl', 'port' => 3307, 'username' => 'ssh177406@193.218.152.180', 'password' => 'bolo2308' 'persistent' => FALSE, 'database' => 'sh177406_ogloszpl', ), 'table_prefix' => '', 'charset' => 'utf8', 'caching' => FALSE, 'profiling' => TRUE, ), 'backup' => array ( 'type' => 'mysqli', 'connection' => array( /** * The following options are available for MySQL: * * string hostname * integer port * string socket * string username * string password * boolean persistent * string database */ 'hostname' => 'mysql3.superhost.pl', 'port' => 3307, 'username' => 'sh177406@193.218.152.180', 'password' => 'bolo2308' 'persistent' => FALSE, 'database' => 'sh177406_ogloszpl', ), 'table_prefix' => '', 'charset' => 'utf8', 'caching' => FALSE, 'profiling' => TRUE, ), 'alternate' => array( 'type' => 'pdo', 'connection' => array( /** * The following options are available for PDO: * * string dsn * string username * string password * boolean persistent * string identifier */ 'dsn' => 'mysql:host=localhost;dbname=kohana', 'username' => 'root', 'password' => FALSE, 'persistent' => FALSE, ), 'table_prefix' => '', 'charset' => 'utf8', 'caching' => FALSE, 'profiling' => TRUE, ), ); } else { return array ( 'default' => array ( 'type' => 'mysql', 'connection' => array( /** * The following options are available for MySQL: * * string hostname * integer port * string socket * string username * string password * boolean persistent * string database */ 'hostname' => 'mysql3.superhost.pl', 'port' => 3307, 'username' => 'sh177406@193.218.152.180', 'password' => 'bolo2308' 'persistent' => FALSE, 'database' => 'sh177406_ogloszpl', ), 'table_prefix' => '', 'charset' => 'utf8', 'caching' => FALSE, 'profiling' => TRUE, ), 'backup' => array ( 'type' => 'mysqli', 'connection' => array( /** * The following options are available for MySQL: * * string hostname * integer port * string socket * string username * string password * boolean persistent * string database */ 'hostname' => 'mysql3.superhost.pl', 'port' => 3307, 'username' => 'sh177406@193.218.152.180', 'password' => 'bolo2308', 'persistent' => FALSE, 'database' => 'sh177406_ogloszpl',[php][/php] ), 'table_prefix' => '', 'charset' => 'utf8', 'caching' => FALSE, 'profiling' => TRUE, ), 'alternate' => array( 'type' => 'pdo', 'connection' => array( /** * The following options are available for PDO: * * string dsn * string username * string password * boolean persistent * string identifier */ 'dsn' => 'mysql:host=localhost;dbname=kohana', 'username' => 'root', 'password' => FALSE, 'persistent' => FALSE, ), 'table_prefix' => '', 'charset' => 'utf8', 'caching' => FALSE, 'profiling' => TRUE, ), ); } |
|
|
![]() ![]() |
![]() |
Aktualny czas: 10.10.2025 - 21:00 |