Problems with xataface-1.0-beta2 and librariandb-0.1.3
Archived from the Xataface Users forum.
kedoin — Wed Apr 23, 2008 7:43 am
In order to experiment and learn more about Xataface, I thought I’d download and install the librariandb. I ran into three problems:
1) On install of librariandb, the installer is looking for directories named dataface.
This is easy enough to fix on install.php:38:
- Code: Select all
$regex = '/^(x|d)ataface/';
2) After making that change, I still had some inexplicable failure to install. Checking the PHP log, I found install.php:66 tries to call opendir and it was failing on “..” since it had executable permission, but not read permission. That’s probably just some quirk unique to my installation, and I didn’t bother trying to fix it. I just changed my permissions and tried to continue.
3) When the librariandb starts up, it apparently calls df_update. The definition I have in dataface-public-api.php looks like:
- Code: Select all
- `function df_update(){
import(‘actions/install.php’);
$action = new dataface_actions_install;
$res = $action->handle();
if ( PEAR::isError($res) ){
return $res;
}}`
and this code breaks on the call to $action->handle() since the required parameter ‘params’ is not passed in.
Unfortunately, I’m too new to Xataface to understand what should be passed in. Can someone suggest a fix so I can continue tinkering with the librariandb?
Thanks,
-Rob
p.s I just tried doing this:
- Code: Select all
$no_params = array(); $res = $action->handle($no_params);
and that got me past that problem, but I’d still like to know what a “correct” change is for this as I’m just guessing. Also, while I got past that problem, I’m getting a “The page isn’t redirecting properly” in Firefox and in the URL, I can see the message, “–msg=The+database+version+is+greater+than+the+file+system+version.++Please+upgrade+your+application+to+match+the+version+in+the+database+%28version+0.1.2” which is puzzling since everything is from a clean install.
shannah — Thu Apr 24, 2008 9:03 am
Sadly I haven’t had the opportunity to test librarian db with Xataface 1.0 beta. The last tested (stable) version would be with dataface 0.7.1.
Hopefully I can get around to testing it with the new version soon.
-Steve