[FX.php List] having some trouble with the basics

Andrew Denman adenman at tmea.org
Tue Aug 28 14:42:28 MDT 2007


Jamie,
 
This definitely looks like the web server cannot properly see your FileMaker
web publishing engine.  When I tried this URL it asked me for the login
information and it appears to work OK (with username Admin, password blank):
http://67.110.68.99:81/fmi/xml/FMPXMLRESULT.xml?-dbnames
 
This leads me to believe there is an authentication issue.  Check the WPE
server setup documentation, as there are some things you may need to set up
on an IIS server with respect to the web server authentication.
 
Andrew Denman


  _____  

From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Jamie Adams
Sent: Tuesday, August 28, 2007 3:05 PM
To: fx.php_list at mail.iviking.org
Subject: [FX.php List] having some trouble with the basics
 
I can't use port 80, unfortunately.  Our setup is like this:
 
We have an external IP address 67.110.68.99, which points to the router on
our local network.  The router forwards port 80 to the company web server,
and it forwards port 81 to my FileMaker Server.
 
The FileMaker Server machine (fmserv) runs FileMaker Server 8, FileMaker Web
Publishing Engine, and IIS.  This copy of IIS serves the /fmi/config, and
the IWP, and if I understand correctly, the XML data used by FX.php.  This
is the server 67.110.68.99:81 points to, and therefore, is the server FX.php
should be querying.
 
Outside our network, on a Linux web server, running Apache with PHP, I have
FX.php, and all the other PHP files that want to talk to my FileMaker
Server.  This is the server hosting the server_data.php file.
 
I don't have any other servers involved besides these in my setup.  I'm
trying to keep it simple.  It could well be that FX.php can't talk on port
81, although that seems kind of odd, since it allows you to specify a port.
I don't know.  Maybe during some off peak time I can take down the main web
server and try having port 80 pointed at my FileMaker server.  The number of
things I might break in the process is a bit daunting, though.
 
I took a peak at the FXExample code, and it had a line that looked very
similar to you're the "echo $queryscript['errorCode']" you recommended.
When I ran the script, I got some warnings, and an empty array, and
something about "No valid Database specified."  My original post detailed
the anomalous output I was receiving.  I have included it at the bottom of
this message.  Or you can see the errors live:
 
http://furniture-partner.com/fpcatalog/FX/Tutorials/FXExamples.php
http://furniture-partner.com/fpcatalog/FX/Tutorials/displayFXDatabaseList.ph
p
 
Thanks again for your help,
 
Jamie Adams
________________________________________________________
 
Liquis, Inc.
 
400 Parker Drive, Suite 1110, Austin, TX 78728
phone 512.299.9634, ext 103 -- fax 512.873.0575
________________________________________________________ 
 
www.liquis.com
www.auctionpartner.com
www.furniture-partner.com
eBay Store:
<http://stores.ebay.com/Auction-Partner-High-Tech-Equipment?refid=store>
http://stores.ebay.com/Auction-Partner-High-Tech-Equipment?refid=store
 
 
 
Original message:
 
Hello all-
 
This is my first post to a mailing list, so I will do my best to avoid
any faux pas.  If I fail in this, I humbly apologize.
 
I've been struggling for a few weeks to get FX.php working properly
(i.e. returning data, rather than errors).  I have fixed a few problems,
but run into new ones.  At present, when I run the
displayFXDatabaseList.php script, I get an error code 100, "FX:
ExecuteQuery XML error: mismatched tag at line 6."
 
Full output available here: http://pastey.net/72819
 
For FXExamples.php, I get the following errors:
 
Warning: Cannot use a scalar value as an array in
/home/furnitur/public_html/fpcatalog/FX/Tutorials/FXExamples.php on line
81
Warning: Invalid argument supplied for foreach() in
/home/furnitur/public_html/fpcatalog/FX/Tutorials/FXExamples.php on line
81
 
Also on the FXExamples.php page, the database drop-down is empty, the
light green cell at the bottom of the table says "No valid Database
specified."  And at the bottom of the page it says "Array ( )", although
it is spread over three lines.
 
Chris, or any of the other brilliant people I hope are reading this, any
help or advice would be much appreciated.  If I omitted any important
information, feel free to ask.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070828/8d62f545/attachment-0001.html


More information about the FX.php_List mailing list