LC Server database connection

Are you using LiveCode to create server scripts or CGIs?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

AxWald
Posts: 578
Joined: Thu Mar 06, 2014 2:57 pm

Re: LC Server database connection

Post by AxWald » Tue Jul 27, 2021 12:40 pm

Matthias,
as I see it both your error messages show that "revdatabaselibrary" is loaded - this is where "revdberr" comes from, IMO. In my case I haven't seen a single "revdberr" from the server.

This is why I try to close a not-existent db - to create this error, and to see what it says:

Code: Select all

file "/www/htdocs/xyz/domain.com/cgi-bin/_test_db.lc"
  row 2, col 5: Function: error in function handler (revdb_disconnect)
  row 2, col 5: put: error in expression
You see the difference? No reference to an "external handler", no "revdberr", it just doesn't recognize "revdb_disconnect".

Thanks to your help I know now that it isn't a universal bug in this LC version. Your kernel version should match an Ubuntu 12/13, well within LCs specifications.
So it's either my "too new OS", or something on the server machine that's preventing the loading of the external.

Thx again, have a good time!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!

Post Reply

Return to “CGIs and the Server”