Fatal error on new install

A place for users and developers of the Xataface to discuss and receive support.

Fatal error on new install

Postby 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
Jusmee
 
Posts: 22
Joined: Mon Feb 01, 2010 5:11 pm

Re: Fatal error on new install

Postby shannah » Wed Feb 10, 2010 12:08 pm

Was this your actual error message, or did you paste in the {DATAFACE_URL} bits?
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Fatal error on new install

Postby Jusmee » Wed Feb 10, 2010 2:18 pm

It was cut'n'pasted straight from the browser.
Jusmee
 
Posts: 22
Joined: Mon Feb 01, 2010 5:11 pm

Re: Fatal error on new install

Postby 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
 
Posts: 22
Joined: Mon Feb 01, 2010 5:11 pm

Re: Fatal error on new install

Postby 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...
Jusmee
 
Posts: 22
Joined: Mon Feb 01, 2010 5:11 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved