# Problem in emoncms - getting started

I already changed the file settings.php :

'phpfiwa'=>array(
),
'phpfina'=>array(
),
'phptimeseries'=>array(
),
'cassandra'=>array(
'keyspace' => 'emoncms'


and

$log_filename = dirname(__FILE__).'C:\wamp64\www\emoncms' . "emoncms.log"  and in the file process_settings.php: if(file_exists(dirname(c:\wamp64\www\emoncms). "settings.php"))  but I get an error  Parse error: syntax error, unexpected ':' in C:\wamp64\www\emoncms\process_settings.php on line 19  and i not could get a registration in emoncms Hi Joaquim, Can you try doubling those backslashes, so: C:\\wamp64\\www\\emoncms\\Lib… (or have you already and it’s just the forum showing single). However, your error mentions line 19 - in the standard setup, that’s the REDIS config. Thanks, Sandy I agree with SandyB’s suggestion 'phpfiwa'=>array( 'datadir'=>"C:\\wamp64\www\emoncms\\Lib\\emoncmsdata\\phpfina" ), 'phpfina'=>array( 'datadir'=>"C:\\wamp64\\www\\emoncms\\Lib\\emoncmsdata\\phpfiwa" ), 'phptimeseries'=>array( 'datadir'=>"C:\\wamp64\\www\\emoncms\\Lib\\emoncmsdata\\phptimeseries" ), 'cassandra'=>array( 'keyspace' => 'emoncms'  (the forum doesn’t need the backslashes escaped when in a code block) As for the logfile path, your edit will probably result in C:\\path\\to\\emoncms\\C:\wamp64\www\emoncmsemoncms.log  try reverting that to $log_filename = dirname(__FILE__) . "\\emoncms.log"


or something like

\$log_filename = "C:\\wamp64\\www\\emoncms\\emoncms.log"


for an absolute path

I do not understand why you have edited process_settings.php, that is a relative path derived from the “FILE” path and should work ok in windows.

1 Like