seems that the function
parse_ini_file() is a bit fussy about white spaces…
line 82 of your attached file has a some formatting that breaks the parsing rules php uses:
phpfina[datadir] = "C:\Users\Lui\emoncmsdata\phpfina\"
If you do any of these it should work:
- remove the space at the end of the line
- remove the
" quotes around the value
- use single quotes
' in place of the double quotes
I’m unable to test on a windows box. @Lui please reply if this solves the issue on your WAMP setup.
I was able to test this outside the emoncms system by using the php interpreter in the terminal:
$ > php -a
php > var_export(parse_ini_file("/path/to/settings.txt",true));
tweaking the values of the
settings.txt file until no errors are returned.
quit the interactive interpreter by pressing
CTRL + D