kangfredy Posted October 6, 2012 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Share 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? Link to comment Share on other sites More sharing options...
jhonix Posted October 6, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 57 Reputation: 0 Joined: 05/20/12 Last Seen: November 23, 2012 Share Posted October 6, 2012 this is a syntax error,can you please post the whole code here? Link to comment Share on other sites More sharing options...
kangfredy Posted October 6, 2012 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Author Share 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 Link to comment Share on other sites More sharing options...
Brian Posted October 6, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share 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', Link to comment Share on other sites More sharing options...
kangfredy Posted October 7, 2012 Group: Members Topic Count: 112 Topics Per Day: 0.02 Content Count: 388 Reputation: 4 Joined: 05/01/12 Last Seen: October 25, 2022 Author Share 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??? Link to comment Share on other sites More sharing options...
PewN Posted October 7, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted October 7, 2012 set error.php to true. then on applicatio.php set debugmode to true Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts