I've had a working application for a couple of weeks now. I added a login screen, and then decided to remove it again until i've finished development. I now can't get the application to work at all, getting an error code: Dataface_Table::loadTable() expected first argument to be a string but received 'Dataface_Table'.....
I've tried removing the entire application, re-downloading the latest Xataface, and building my database from scratch using the original SQL code. I've created the bare minimum .htaccess, conf.ini and index.php files and tried to start it. same issue.
full error-
Fatal error: Uncaught Exception: In Dataface_Table::loadTable()
expected first argument to be a string but received 'Dataface_Table' in
/var/www/html/1/xataface/Dataface/Table.php:487
Stack trace:
#0 /var/www/html/1/xataface/Dataface/Record.php(343):
Dataface_Table::loadTable(NULL)
#1 /var/www/html/1/xataface/public-api.php(291):
Dataface_Record->Dataface_Record(NULL, Array)
#2 /var/www/html/1/xataface/Dataface/AuthenticationTool.php(400):
df_get_record(NULL, Array)
#3 /var/www/html/1/xataface/Dataface/Table.php(2647):
Dataface_AuthenticationTool->getLoggedInUser()
#4 /var/www/html/1/xataface/Dataface/Table.php(863):
Dataface_Table->setSecurityFilter()
#5 /var/www/html/1/xataface/Dataface/Table.php(506):
Dataface_Table->postInit()
#6 /var/www/html/1/xataface/Dataface/Application.php(2167):
Dataface_Table::loadTable('Orders')
#7 /var/www/html/1/xataface/Dataface/Application.php(2578):
Dataface_Application->handleRequest(false)
#8 /var/www/html/1/xataface/Dataface/Application.php(2447):
Dataface_Application->_display(false, in /var/www/html/1/xataface/Dataface/Table.php on line 487
conf.ini-
[_database]
host=localhost
name=CustomerSupport
user=dan
password=password
driver=mysqli
[_tables]
;; This section lists the tables to include in your application menu
Orders=Orders
there are a number of other tables of course, but i'm just trying to get it working with the bare minimum
cheers,
Dan