Fatal error on new install

Archived from the Xataface Users forum.

Jusmee — Tue Feb 09, 2010 9:22 pm

Just installed Apache 2.2, PHP 5, and MySQL on Windows (first time I have tried this other than on linux). Copied the xataface files to the htdoc directory and it reports a successful install, however, opening the first site I created I see…

Code: Select all
`Warning: require_once({DATAFACE_PATH}/dataface-public-api.php) [function.require-once]: failed to open stream: No such file or directory in U:\htdocs\xataface\test\index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required ‘{DATAFACE_PATH}/dataface-public-api.php’ (include_path=’.;C:\php5\pear’) in U:\htdocs\xataface\test\index.php on line 12`

apart from other things, I notice c:\php5\pear is mentioned, and that does not exist in that place


shannah — Wed Feb 10, 2010 12:08 pm

Was this your actual error message, or did you paste in the {DATAFACE_URL} bits?


Jusmee — Wed Feb 10, 2010 2:18 pm

It was cut’n’pasted straight from the browser.


Jusmee — Wed Feb 10, 2010 2:31 pm

Jusmee wrote:It was cut’n’pasted straight from the browser.

Oh I see, I have been dumb haven’t I. I need to edit the code to supply the right path?

It’s been a while since I first set up my first site in xataface, and this is only my second, and because it’s Windows, I can’t run the makesite script. Sorry


Jusmee — Wed Feb 10, 2010 11:30 pm

Jusmee wrote:

Jusmee wrote:It was cut’n’pasted straight from the browser.

Oh I see, I have been dumb haven’t I. I need to edit the code to supply the right path?

It’s been a while since I first set up my first site in xataface, and this is only my second, and because it’s Windows, I can’t run the makesite script. Sorry

I have it all working now thanks…