DATAFACE_INSTALLATION_PATH

A place to discuss and receive support for the Web Auction application.

Postby TonyB » Mon Oct 15, 2007 12:16 pm

Hi Steve,
Sorry!!
I Have completed the install and have now called up Webauction-2.2/index.php
I get the following error:-

Warning: require_once(DATAFACE_INSTALLATION_PATH/dataface-public-api.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\webauction-0.2\index.php on line 8

Fatal error: require_once() [function.require]: Failed opening required 'DATAFACE_INSTALLATION_PATH/dataface-public-api.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\webauction-0.2\index.php on line 8

In config.inc.php I have the following:-

define('C:\xampp\htdocs\dataface-0.7.1', '%%DATAFACE_PATH%%');
define('http://localhost/dataface-0.7.1', '%%DATAFACE_URL%%');

This is my path to the above file that was not opened!!
C:\xampp\htdocs\dataface-0.2\dataface-public-api.php

I find it a bit confusing when the Dataface directory is mentioned.
My Dataface directory is dataface-0.7.1 and this has a sub dir dataface.

What am I doing wrong?
Your help is really very much appreciated, we can all see that you put a lot of work into this.
Best regards,
Tony
TonyB
 
Posts: 5
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Mon Oct 15, 2007 2:00 pm

OK... the config.inc.php file has some small problems.ÊÊ You put the path into the wrong parameter.


Rather than replacing DATAFACE_INSTALLATION_PATH with the path, you should have replace %%DATAFACE_PATH% with your path.






e.g.


define('DATAFACE_INSTALLATION_PATH', 'C:\xampp\htdocs\dataface-0.7.1');


etc..


-Steve

--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 20 guests

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