Error in use of fields.ini
Archived from the Xataface Users forum.
pwg — Wed May 03, 2006 6:41 pm
Hi Steve,
I’m getting an error from Pear like this whenever I use a ‘fields.ini’ file in the ../tables directory, even an empty file with that name. An empty file with the name ‘relationships.ini’ or ‘valuelists.ini’ causes no errors.
Fatal error: [pear_error: message=”Syntax error in ‘/Users/peter/Sites/StandardsDB/tables/SPS/fields.ini’ at line 1.” code=0 mode=return level=notice prefix=”” info=”“]On line 785 of file /Users/peter/Sites/dataface/Dataface/Table.php in function printStackTrace()
It doesn’t seem to matter what is in line 1 of the file. An empty file or a file configured as described in the manual produces the same error. It’s not a permissions issue as far as I can tell.
Even tried replacing /dataface with a new installation. Same thing.
Any suggestions?
Peter
pwg — Wed May 03, 2006 7:54 pm
Steve,
Please ignore the error report.
It seems there was something weird in the file(s) that I couldn’t see even with BBEdit showing invisibles. I made a new fields.ini file with Vi and it worked fine! Who knows?
Peter