I have the same problem:
I get this error message when saving a new form (using record to database). The problem seems to be on all updates since PATCH fabrik 1.0.4 Beta (When you wrote function databaseTableExists ??), and the problem is still there with SVN 122.
Fatal error: Call to a member function setQuery() on a non-object in [my comment: path]\components\com_fabrik\fabrik_table.class.php on line 2477 PHP Fatal error: Call to a member function setQuery() on a non-object in [my comment: path]\components\com_fabrik\fabrik_table.class.php on line 2477
I've tried to echo $sql in line 2471 with the result
SHOW TABLES LIKE '' It seems to not load $tableName correctly
I've tried to change line 2475 from
Code:
$fabrikDatabase = $this->_oConnDB;
to
Code:
$fabrikDatabase = $this->$database;
Which gives me a call to a member on a non-object error on line 576 instead.
I have also tried to set the function to return false directly (after making sure that I don't have any formdata tables). This takes me to the createFormTable function just below but returns a sql syntax error since $dbTableName doesn't return anything. (SQL=CREATE TABLE ( `fabrik_internal_id` varchar (255) null, `time_date` varchar (255) null, `a` varchar (255) null, primary key (fabrik_internal_id))
Have now also tried it with an older version of PHP (5.1.6)...Same problem.
Hope this info that help when you search for the solution to the problem.
It seems that I am not the only one with this problem. (ref former answers: jos_fabrik_joins was created under installation of component)