chronoscrowler Posted April 12, 2020 Posted April 12, 2020 (edited) Anyone can help me please setup my fluxcp? I keep getting this error but the code is correct Parse error: syntax error, unexpected end of file, expecting '`' in /home/vol1000_2/epizy.com/epiz_25495159/htdocs/config/servers.php on line 112 This is the code: --- check --edit: Resolved Edited April 14, 2020 by chronoscrowler codebox + masked data
0 Akkarin Posted April 12, 2020 Posted April 12, 2020 1 hour ago, chronoscrowler said: but the code is correct The code is obviously not correct: 'UseMD5' => `false, Remove that erroneous ` The error literally told you where to look. 1
0 chronoscrowler Posted April 14, 2020 Author Posted April 14, 2020 Thanks but, now there is a different error Quote Parse error: syntax error, unexpected 'Persistent' (T_STRING), expecting ')' in /home/vol1000_2/epizy.com/epiz_25495159/htdocs/config/servers.php on line 41 Below are lines 30 to 42 '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) 'Hostname' => 'x.x.x.x', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragna_logs 'Persistent' => true, 'Timezone' => null // Possible values is as described in the comment in DbConfig.
0 Emistry Posted April 14, 2020 Posted April 14, 2020 21 minutes ago, chronoscrowler said: Parse error: syntax error, unexpected 'Persistent' (T_STRING), expecting ')' in /home/vol1000_2/epizy.com/epiz_25495159/htdocs/config/servers.php on line 41 'Database' => 'ragna_logs <--------- Where is the missing symbol ' ??? always recheck what you have edited.
0 Akkarin Posted April 14, 2020 Posted April 14, 2020 As i've already said, the error message tells you where to look for the erroneous code. There's absolutely no reason why you couldn't have fixed either of these issues yourself. It's all about the learning curve!
Question
chronoscrowler
Anyone can help me please setup my fluxcp?
I keep getting this error but the code is correct
Parse error: syntax error, unexpected end of file, expecting '`' in /home/vol1000_2/epizy.com/epiz_25495159/htdocs/config/servers.php on line 112
This is the code:
--- check
--edit: Resolved
Edited by chronoscrowlercodebox + masked data
5 answers to this question
Recommended Posts