Page 1 of 1

Fatal error on new install

PostPosted: Tue Feb 09, 2010 9:22 pm
by Jusmee
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

Re: Fatal error on new install

PostPosted: Wed Feb 10, 2010 12:08 pm
by shannah
Was this your actual error message, or did you paste in the {DATAFACE_URL} bits?

Re: Fatal error on new install

PostPosted: Wed Feb 10, 2010 2:18 pm
by Jusmee
It was cut'n'pasted straight from the browser.

Re: Fatal error on new install

PostPosted: Wed Feb 10, 2010 2:31 pm
by Jusmee
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

Re: Fatal error on new install

PostPosted: Wed Feb 10, 2010 11:30 pm
by Jusmee
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...