Jump to content
  • 0

need help error server.php


kangfredy

Question


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   0
  • Joined:  05/20/12
  • Last Seen:  

this is a syntax error,can you please post the whole code here?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

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...:D.wkwkkwkw..but guys why im cannot login admin panel???

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

set error.php to true. then on applicatio.php set debugmode to true

Link to comment
Share on other sites

×
×
  • Create New...