I am posting for the first time here.
Steve, first of all: This is a fantastic piece of software; very good idea and obviously very well done! Thanks for sharing with us!
I played around with Xataface on my local machine and everything worked perfectly.
However I run into some problems when I tried to create applications on a shared hosting (I tried 3 different servers). Everything is fine when I am pointing to dataface/dataface_info.php ("Installed correctly").
Now, pointing to index.php it says:
Warning: require_once() [function.require-once.php]: URL file-access is disabled in the server configuration in /home/domain/public_html/folder/index.php on line 2
Warning: require_once(http://www.domain.com/folder/xataface/d ... ic-api.php) [function.require-once.php]: failed to open stream: no suitable wrapper could be found in /home/domain/public_html/folder/index.php on line 2
Fatal error: require_once() [function.require.php]: Failed opening required 'http://www.domain.com/folder/xataface/dataface-public-api.php' (include_path='.:/usr/local/lib/php') in /home/domain/public_html/folder/index.php on line 2
My index.php looks like this:
- Code: Select all
require_once 'http://www.domain.com/folder/xataface/dataface-public-api.php';
df_init(__FILE__, 'http://www.domain.com/folder/xataface');
$app =& Dataface_Application::getInstance();
$app->display();
What am I doing wrong? Or are there already at this stage some server side PHP restrictions involved?