Installation on Windows Platform
Archived from the Xataface Users forum.
brice — Fri Jul 11, 2008 8:20 am
Hi,
I have deployed xataface on a windows platform with Apache, PHP & Mysql
All the products are available
I have a good message With the link http://127.0.0.1/xataface/dataface_info.php
====> Installation status INSTALLED CORRECTLY
But when i have created my own web site with makesite
i have a skin problem (i can send a snapshot)
May be C:\xampp\htdocs\xataface\dataface-public-api.php not loaded or i have forgotten to deploy something
Have you ever see this problem ?
(sorry for my english)
index.phph configuration is :
[_database]
host = “127.0.0.1”
user = “root”
password = “xxxx”
name = “changeproject”
$ cat index.php
Execution Time: $time
"; ?> image : --- **shannah** — Fri Jul 11, 2008 11:26 am The forum is eating some of your code. Try reposting with the "Disable HTML in the post" checkbox checked. Nonetheless I can guess what the problem is. If the problem is just with the skin it is likely that just the stylesheets and javascripts aren't loading which means that the URL to the xataface folder (the 2nd parameter of the df\_init()) function is incorrect. Best regards Steve --- **brice** — Tue Jul 15, 2008 2:25 am hi, Yes i am agree with you, the file was not found by df\_init But i don't find the good syntax All the files of my project are under C:\xampp\htdocs\xataface\mysitedataface I have modified the index.php file with those solutions and the problem is still current First ------ $time = microtime(true); // use the timer to time how long it takes to generate a page require\_once 'C:\xampp\htdocs\xataface\dataface-public-api.php'; // include the initialization file df\_init(\_\_FILE\_\_, 'C:\xampp\htdocs\xataface\mysitedataface'); // initialize the site $app =& Dataface\_Application::getInstance(); // get an application instance and perform initialization $app->display(); // display the application Second : --------- $time = microtime(true); // use the timer to time how long it takes to generate a page require\_once 'C:\xampp\htdocs\xataface\dataface-public-api.php'; // include the initialization file df\_init(\_\_FILE\_\_, 'xataface/mysitedataface'); // initialize the site $app =& Dataface\_Application::getInstance(); // get an application instance and perform initialization $app->display(); // display the application Regards --- **shannah** — Tue Jul 15, 2008 9:15 am > df\_init(\_\_FILE\_\_, 'C:\xampp\htdocs\xataface\mysitedataface'); Here is your problem. The second parameter should be a URL not a file path. e.g. Code: [Select all](#) : `df_init(__FILE__, '/xataface');` or Code: [Select all](#) : `df_init(__FILE__, 'http://yourdomain.com/xataface');` or something like that. --- **brice** — Wed Jul 16, 2008 12:15 am Thank's the problem has been resolved I have modified df\_init as you have said it df\_init(\_\_FILE\_\_, '/xataface'); = OK