Hello i am newbie trying to make YOURS work, i dont know what values i should put here $www_dir & $yours_dir
i tried following the instructions found in http://wiki.openstreetmap.org/wiki/YOURS
particularly this part:
Setup instructions
Prerequisites
* I assume that a webserver with PHP is already available. If not, there are many manuals on the internet on how to get this running.
* SVN tools are needed to get a copy from the repository. Contact me for a zip file if you don't have (or want) SVN tools installed.
Installing Gosmore routing engine
* Get a copy of Gosmore following the instructions from: Gosmore
* Download a precompiled map as described in the link above, name it gosmore.pak and put it in the same directory where Gosmore resides.
* Alternatively you can download a planet dump or planet extract from: Planet and convert it into a gosmore.pak following the instruction on the Gosmore wiki page.
Installing YOURS website
* Go to the public html directory and get a copy of YOURS using the SVN command:
svn co [http://svn.openstreetmap.org/applications/routing/yours/trunk/www](http://svn.openstreetmap.org/applications/routing/yours/trunk/www) yours
The part where i get confused at is this part, could someone help me please?
You should now have a directory named ‘yours’ in the public html directory.
* Open gosmore.php in the API directory, e.g.: yours/api/dev/gosmore.php and put the correct path the the yours www directory ($www_dir), the path to the gosmore routing engine ($yours_dir) and an email address for the administrator (only used to notify API abusers) so you may leave it blank.
The Errors i get are:
Status:
Warning: fopen(/home/lambertus/public_html/yours/commands.log) [function.fopen]: failed to open stream: No such file or directory in C:\Documents and Settings\Administrator\My Documents\Xampp\xampp\htdocs\YOURS\api\1.0\gosmore.php on line 158
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in C:\Documents and Settings\Administrator\My Documents\Xampp\xampp\htdocs\YOURS\api\1.0\gosmore.php on line 164
An unexpected error occured in Gosmore:
Warning: fopen(/home/lambertus/public_html/yours/requests.csv) [function.fopen]: failed to open stream: No such file or directory in C:\Documents and Settings\Administrator\My Documents\Xampp\xampp\htdocs\YOURS\api\1.0\gosmore.php on line 255
Warning: fopen(/home/lambertus/public_html/yours/requests.csv) [function.fopen]: failed to open stream: No such file or directory in C:\Documents and Settings\Administrator\My Documents\Xampp\xampp\htdocs\YOURS\api\1.0\gosmore.php on line 262
Hope someone can help… thank you