Rev cgi on Win 2K server, anyone ?
Jan Schenkel
janschenkel at yahoo.com
Tue Nov 13 06:59:40 EST 2007
--- jbv <jbv.silences at club-internet.fr> wrote:
>
> the version() function returns 2.6.1
> so I put revdb.dll into
> C:\cgi-bin\components\global environment\
> and the dbmysql.dll driver in the same folder
> cgi-bin as
> the Rev cgi exe.
>
> when using try / catch I get the floowing :
>
> 219,15,8,revOpenDatabase
> 223,15,1
>
> and line 15 of my script contains
>
> get revOpenDatabase("mysql","localhost", etc
>
> I don't know if that means anything to anybody...
> btw, is there any errors list available somewhere ?
>
> Meanwhile I've got an answer from runrev support,
> saying
> that from version 2.5 devDB and revXML libs were
> included
> in the engine, at least for Linux... but I don't
> know if that's
> also valid for windows versions...
>
> Thanks,
> JB
>
Hi JB,
I'm a little surprised that you have version 2.6.1 -
as far as I know, the last CGI release forWindows was
version 2.0, which you can get from:
<ftp://ftp.runrev.com/pub/revolution/downloads/engines/2.0/cgi/>
And for extra confusion, this will show the (good old
Metacard engine) version 2.5
Now, if my memory serves me well, the database driver
format changed around Revolution 2.5 - so to make sure
you have a compatible revdb.dll en database drivers,
download the 2.0 distribution revolution.zip at:
<ftp://ftp.runrev.com/pub/revolution/downloads/distributions/2.0>
Assuming that you're putting everything into the
c:\cgi-bin\ directory, make a subdirectory:
c:\cgi-bin\database_drivers\
Toss all the database driver .dll's from the
Revolution distribution:
Revolution 2.0.3\components/global
environment\database_drivers\Win32\
into this new directory:
- dbmysql.dll
- dbodbc.dll
- dboracle.dll
- dbpostgresql.dll
- dbvalentina.dll
- vxcmd.dll
As I haven't tried it yet with MySQL or PostgreSQL,
you may also have to copy:
- libmysql.dll
- libpq.dll
from the root directory of the Rev distribution.
Then, make sure to set the databse driver path from
your cgi script.
##
on startup
revSetDatabaseDriverPath "./database_drivers/"
-- now the rest of your cgi script
...
end startup
##
That's how I got it working just fine, using ODBC to
connect to a Progress database.
Hope this helped,
Jan Schenkel.
Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
____________________________________________________________________________________
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
More information about the use-livecode
mailing list