ok.

I think you need first get filemaker connected to witango.

Ten years ago the was a filemaker adaptor.... that was great.

But now:

lets see. You have FM6 or 7 or 8 or 9?


On intel, there seem to be Problems with JDBC.(or is it only in the studio).

So we cannot use it. But it should be possible to connect via ODBC. Filemaker 7 or later should work as a ODBC Datasource.

I quit using ODBC on witango, when switching to OSX, i normally only use JDBC, so my witango is still on a PPC Machine.

ODBC Drivers are also availiable from Datadirkct, OpenLink and others (see filemaker site)

So if you are connected, you have to enter usermode with filemaker, otherwise you cannot script it.

Then you should be able to access FM via AppleScript.

You can address via witango direct with applescript or with Shell scritps

So you can trigger AppleScript via Terminal

osascript -e 'tell application "Terminal" to display dialog "Update complete!"'


So, first get FM Connected to Witango.

Christian


Your stuff:

FM Pro


(1) Architecture
Intel 2.16GHz Intel Core 2 Duo

(2) Versions
OS X: 10.4.11
Witango:  5.5
Apache: 2.2.8

Am 15.03.2008 um 18:09 schrieb Colin Bell:

Hi Christian,

I'm trying to introduce a number of people to web application
development who are not programmers.  I want them to be able to create
a FileMaker database and, with FileMaker running, start witango and
apache2 and have access to the data source.  I'm trying to avoid
having them to fiddle with odbc/jdbc settings.

Just simple scripts... webpages with, for the most part, simple
one-to-many tables and very simple control structures.   As an
example, one of the groups I'm planning to support wants to make "A
simple webapp to display player/team information about European
football leagues".  We are talking very simple control structures and
queries in the taf files.

We are talking simple stuff here (and not designed for major
deployment).  I just want them to use knowledge they have about HTML
and FM databases with the Witango Dev studio to make simple web apps
and understand the basics of dynamic web sites.

I am told Witango used to work on PPC Macs with Witango 5.5, Apache
1.3, and FMP6 but, for some reason, I can't get it to work using
(essentially) the same configuration on Intel Macs using Witango 5.5,
Apache 2.2, and FMP6 (or 7 or 8).

The Witango application server just doesn't seem to listen to the
<Datasource> information in the taf files I'm experimenting with.  It
was my understanding that, if I had a 'Filemaker' datasource I could
just have the database open on the same machine and, provided both
apps were run by the same user (in the same user space), the taf
file/witangod would use Apple Events to communicate with FMP.

From my reading of the log files witangod doesn't have any idea why it
can't communicate with the FMP Datasource (and neither do I).  I'm
trying to figure out if witangod is even trying to send Apple Events
to FMP.

All witangod can report is (my questions included inline):

(witangod):  [Datasource] No existing connection to the data source
found, creating a new connection. DSN: FMPm.#; User: ;

(cpb): Is this even an attempt to connect to a FMP database through
Apple Events?

(witangod): [Error] -110 The specified data source cannot be found. Students

(cpb): Why not?  The FMP is running with the Students table open.

(witangod):  [Datasource] Unable to open a connection to FMPm.# due to
an unknown error during connection

(cpb): Unknown error.... that is not useful.  Some idea of the error
would be useful.

Thanks,
.cpb

On Sat, Mar 15, 2008 at 9:35 AM, Christian Platt
<[EMAIL PROTECTED]> wrote:
Hi Colin, what do you want FMPro to do

or what is the Aim of your script.

--
Colin Bell <[EMAIL PROTECTED]> [+15195911384]
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to