Aloha Friends,

I have a script like:

        set the externals of stack "script" to "/opt/web/bin/Externals/revdb.so"
        revSetDatabaseDriverPath "/opt/web/bin/Externals/dbdrivers"
        get revOpenDatabase("postgresql", "localhost", "dbname", "username",
"password")
        if it is not a number then
                cgiOutput ("error: can't open database:"&&it&&the result&&the
externals of stack "script"), "text/plain"
                exit to top
        else
                put it into tDatabaseID
        end if

This script executes, but the 'it' variable is empty after
revOpenDatabase?! No error but no ID. Any clues?

Revolution 2.9.0 under Linux CentOS 5.

I've used similar scripts to connect to MySQL with no problem...

Thanks
Andre
-- 
http://www.andregarzia.com All We Do Is Code.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to