[FX.php List] Help with error message
Tim 'Webko' Booth
tim.webko at gmail.com
Sun Nov 1 17:33:43 MST 2015
Hi Jon,
I think he's suggesting seeing what happens if you try the XML URL with
https - like:
https://127.0.0.1:80/fmi/xml/FMPXMLRESULT.xml?-db=IGSMA_Membership.fmp12&-lay=login&-max=50&Login_ID=5501.1&Password=music4u&-find
Cheers
Webko
On 2 November 2015 at 11:16, Jon Montgomery <fxphp at igsmasouth.org> wrote:
> Malcolm,
>
> Please explain just HOW it try HTTPS instead of HTTP? I am on a laptop
> and everything is on that laptop.
>
> Thanks!
>
> Jon
>
>
> On Nov 1, 2015, at 4:14 PM, Malcolm Fitzgerald <
> malcolm at notyourhomework.net> wrote:
>
> Before you do anything else, try using HTTPS instead of HTTP.
>
> Malcolm
>
> On 1/11/2015 4:49 pm, Jon Montgomery wrote:
>
> Hey Chris,
>
> Thanks for the info. I put the code in and this is what it yielded:
>
> FX: ExecuteQuery XML error: SYSTEM or PUBLIC, the URI is missing at line 1
>
> Could this be a Filemaker Server 14 port conflict? When I installed (or
> deployed, I don’t remember) but got the message that ports 80 and 443 were
> in use click to disable those other applications using those ports (or
> something to that effect). I did.
>
> After that, the FMS tests all worked but I had no PHP (in phpinfo.php)
> running. Poked around in terminal and got Appache running and got PHP info
> page up. But then get these FX_Errors as in original post.
>
> Could my server set up be what is causing my problem since I cannot get
> any XML data from the link?
>
> Thanks!
>
> Jon
>
>
> On Oct 31, 2015, at 10:26 PM, Chris Hansen < <chris at iViking.org>
> chris at iViking.org> wrote:
>
> Hey Jon,
>
> Are you sure that XML sharing is enabled on FileMaker Server on your local
> machine? Basically, the URL that you see there is (semi) equivalent of the
> request being made to FileMaker. You should be able to click on that link
> and get back the XML that FileMaker outputs. For some reason, the
> connection to your locally running FileMaker isn't working, and that's the
> bit that you need to debug.
>
> At any rate, when you get an FX error object, it means that FX was never
> able to connect to the server for one reason or another. Something that
> even experienced developers tend not to do, that they should be doing, is
> trap for errors. So, that would look something like this:
>
> // the rest of your query code would be above this
> $qResult = $q->FMFind();
> if (FX::isError($qResult)) {
> echo $qResult->getMessage();
> }
> elseif ($qResult[‘errorCode’] != 0) {
> echo "A FileMaker error occurred ({$qResult[‘errorCode’]})";
> }
> else {
> // your data set logic goes here
> }
>
> FYI, the curly braces inside the FileMaker error quotes help PHP to parse
> where the variable begins and ends.
>
> HTH
>
> --Chris
>
>
>
>
> _______________________________________________
> FX.php_List mailing listFX.php_List at mail.iviking.orghttp://www.iviking.org/mailman/listinfo/fx.php_list
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20151102/e19176bc/attachment.html
More information about the FX.php_List
mailing list