Re: revServer (again)

2011-11-25 Thread Pierre Sahores
Malte, Can just repeat as i said before : worked fine for me (both VM and physical boxes) under RedHat Enterprise Linux and CentOS. I went unsuccessful under other Linux distro (Debian and OpenSuse) to get the PostgreSQL db correctly binded to the revServer / LC server installation. HTH,

Re: revServer (again)

2011-11-25 Thread Mark Schonewille
Hi Malte, One way to check whether the XML external has loaded would be put the externalCommands of stack Home contains revAddXMLNode I am not sure that the server has a stack Home but you should be able to use the externalCommands. If it works in Ubunty in a VM, it should also work on an

Re: revServer (again)

2011-11-25 Thread Mike Bonner
since the xml works and the database stuff doesn't, sounds like everything is in the right location but there might be a permissions problem. If the externalcommands doesn't show the db stuff, list the files in the externals folder (which should be in the same folder as livecode-server) ls -la to

Re: revServer (again)

2011-11-25 Thread Mark Schonewille
Hi, My externals folder contains another folder with database drivers. I suppose this means that the server folder would contain externals plus one folder. Therefore, you might want to do sudo chmod -R 755 * to make it recursive. -- Best regards, Mark Schonewille Economy-x-Talk Consulting

Re: revServer (again)

2011-11-25 Thread Mike Bonner
oh yup. Forgot what the structure looks like thx for the catch. On Fri, Nov 25, 2011 at 5:25 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi, My externals folder contains another folder with database drivers. I suppose this means that the server folder would contain

Re: revServer (again)

2011-11-25 Thread Björnke von Gierke
I'm not 100% sure, but when using invalid syntax with external functions, you get the same error as when using them when no externals are loaded (for standalones at least). so just issuing revOpenDatabase() with invalid params like that, you won't actually find out anything at all. So the

Re: revServer (again)

2011-11-25 Thread Mike Bonner
It was revopendatabases() (plural) that was being used to test I think, which doesn't take params. Of course now that I think about it, is the server external identical to the desktop? If not, maybe revopendatabases() is broke? I need to get things fired up again and try it. 2011/11/25 Björnke

Re: Re: revServer (again)

2011-11-25 Thread Malte Brill
Hi all, thanks for the thoughts! Björnke, I used put revOpenDatabases(), which ought to work without parameters. Also the same code I have been transferring to the physical UBUNTU machine works flawlessly in a VM under the same distro of UBUNTU server, under UBUNTU Desktop, Mac OS X and Win.

Re: Re: revServer (again)

2011-11-25 Thread Mike Bonner
Oops, the text file reference was a brain fart that was crossing desktop externals with server. DOH. No text files with server. As for apt-get, i'm wondering how hard it would be to create your own .deb package. (for personal use of course to ease future re-installs) read some stuff at