Thanks for a wonderful script. Been trying to make it work on my localhost and it's throwing errors please help.
Step taken:
1) created db thru phpadmin
1) unpacked script in web directory
2) ran install
3) directory 'xatak' created with 3 files.
when I go to "localhost/xataface/xatak" I get the following erors
- Code: Select all
Fatal error: In Dataface_Table::loadTable() expected first argument to be a string but received 'Dataface_Table'On line 2333 of file C:\xampp\htdocs\xataface\Dataface\Table.php in function printStackTrace()
On line 887 of file C:\xampp\htdocs\xataface\Dataface\Application.php in function loadTable()
On line 1602 of file C:\xampp\htdocs\xataface\Dataface\Application.php in function handleRequest()
On line 5 of file C:\xampp\htdocs\xataface\xatak\index.php in function display()
in C:\xampp\htdocs\xataface\Dataface\Table.php on line 2333
Contents of index.php
- Code: Select all
<?php //Main Application access point
require_once "C:\\xampp\\htdocs\\xataface/dataface-public-api.php";
df_init(__FILE__, "/xataface");
$app =& Dataface_Application::getInstance();
$app->display();
Contents of conf.ini
- Code: Select all
;;Configuration settings for application
title="xatak"
[_database]
host="localhost"
name="xatak"
user="root"
password=""
[_tables]
Contents of .htaccess
- Code: Select all
<FilesMatch "\.ini$">
Deny from all
</FilesMatch>