kangfredy Posted October 6, 2012 Posted October 6, 2012 guy i have problem.with Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/kloxo/httpd/default/flux/config/servers.php on line 38 and after i see this config. it's on log error 'LogsDbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => null, // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) it's on line 36 and on line 38 set username "username my server" i think.....it's need db?(like item_db.sql,mob_db.sql) if i don't use db sql but use db.txt how to configure?
jhonix Posted October 6, 2012 Posted October 6, 2012 this is a syntax error,can you please post the whole code here?
kangfredy Posted October 6, 2012 Author Posted October 6, 2012 it's solve after i was change to chmod 777 but i have error again with Not Found The requested URL /holywar.ragnarok.or.id/flux/ was not found on this server. Apache/2.2.22 (CentOS) Server at holywar.ragnarok.or.id Port 80
Brian Posted October 6, 2012 Posted October 6, 2012 it's on line 36 and on line 38 set username "username my server" Don't forget the comma at the end of each of those lines. 'Hostname' => '127.0.0.1', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragnarok',
kangfredy Posted October 7, 2012 Author Posted October 7, 2012 it's on line 36 and on line 38 set username "username my server" Don't forget the comma at the end of each of those lines. 'Hostname' => '127.0.0.1', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragnarok', oh im forget it....wkwkkwkw..but guys why im cannot login admin panel???
PewN Posted October 7, 2012 Posted October 7, 2012 set error.php to true. then on applicatio.php set debugmode to true
Question
kangfredy
guy i have problem.with
Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/kloxo/httpd/default/flux/config/servers.php on line 38
and after i see this config.
it's on log error
'LogsDbConfig' => array(
//'Socket' => '/tmp/mysql.sock',
//'Port' => 3306,
//'Encoding' => null, // Connection encoding -- use whatever here your MySQL tables collation is.
'Convert' => 'utf8',
// -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available.
// -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8)
it's on line 36 and on line 38
set
username "username my server"
i think.....it's need db?(like item_db.sql,mob_db.sql)
if i don't use db sql but use db.txt how to configure?
5 answers to this question
Recommended Posts