[PHP] Re: Problem using Metabase

2005-08-17 Thread Manuel Lemos
Hello, on 08/16/2005 10:17 PM Pablo Gosse said the following: [snip] I suspect that the problem is with file permissions. I recall that since Metabase uses include to load class files, the script will not exit when it fails to include a PHP class file. Assuming that is the case, make sure tha

[PHP] RE: Problem using Metabase

2005-08-16 Thread Pablo Gosse
[snip] I suspect that the problem is with file permissions. I recall that since Metabase uses include to load class files, the script will not exit when it fails to include a PHP class file. Assuming that is the case, make sure that all Metabase class files are readable by your Web server user.

[PHP] Re: Problem using Metabase

2005-08-16 Thread Manuel Lemos
Hello, on 08/16/2005 12:01 AM Pablo Gosse said the following: Thanks, Manuel. I tried what you suggested but it didn't work. The server this project is housed on is an IIS server running PHP 4.4.0. I installed the metabase package on a linux server, and was able to connect to a postgres datab

RE: [PHP] RE: Problem using Metabase

2005-08-15 Thread Pablo Gosse
[snip] It must be something in our PHP configuration that's causing the problem, but I'm pretty sure we have a cache extension installed. This PHP install was done rather quickly, unless there's a cache extension installed by default (which there is not as far as I understand, but I could be wrong

[PHP] RE: Problem using Metabase

2005-08-15 Thread Pablo Gosse
[snip] > Here's my code: > > require("classes/metabase/metabase_database.php"); > require("classes/metabase/metabase_interface.php"); > > $error=MetabaseSetupDatabaseObject(array("Type"=>"odbc-msaccess", > "IncludePath"=>"classes/metabase"), $db); > > if($error!="") { > echo "Database setu

[PHP] Re: Problem using Metabase

2005-08-15 Thread Manuel Lemos
Hello, on 08/15/2005 11:32 AM Pablo Gosse said the following: Hi, folks. I've recently decided to use Manuel's Metabase instead of ADOdb as ADOdb doesn't support transactions for MS Access, however I'm getting the following error when running the sample code: Fatal error: Class metabase_manage