[FX.php List] FX: ExecuteQuery XML error: Invalid document end at line 2 ?

Tim 'Webko' Booth tim.webko at gmail.com
Thu Nov 26 15:39:13 MST 2015


I use a fairly simple request - I've never used -dbnames...

My request is:
//Check if a findany to an available table works
$pageObj=new FX($dbHost,$port,$dbType,$conType);
$pageObj -> setDBPassword($dbPass,$dbUser);
$pageObj -> setDBData($dbName,'Course Information Search', 'all');
$pageData = $pageObj -> FMFindAny();

How should I rewrite that?

On 27 November 2015 at 09:29, Malcolm Fitzgerald <
malcolm at notyourhomework.net> wrote:

> I've found that FMS14 will not accept user credentials when I paste them
> into the browser location box. I have to set up a little php script that
> uses curl authorisation requests to get them to work.
>
> Have you tried a simpler request, like -dbnames?
>
> Malcolm
>
>
> On 27/11/2015 11:01 am, Tim 'Webko' Booth wrote:
>
> Different error from the server test.php file: FX: cURL could not retrieve
> Post data in RetrieveFM7Data()
>
> And using the underlying link from the error object also produces a 404
>
> Cheers
>
> Webko
>
> On 27 November 2015 at 08:39, Malcolm Fitzgerald <
> malcolm at notyourhomework.net> wrote:
>
>> Tried HTTPS on port 443?
>>
>> malcolm
>>
>>
>>
>> On 27/11/2015 10:16 am, Tim 'Webko' Booth wrote:
>>
>> A new server is throwing this error when I run my standard server test
>> PHP file:
>>
>> FX: ExecuteQuery XML error: Invalid document end at line 2
>>
>> Digging into the error object, the underlying URI also fails:
>>
>>
>> http://user:password@xx.xxx.xxx.xxx:80/fmi/xml/FMPXMLRESULT.xml?-db=Database+Name&-lay=Course+Information+Search&-max=all&-findany
>>
>> With a 404...
>>
>> It's not my server - but some pointers on what the issue might be would
>> be good...
>>
>> Cheers
>>
>> Tim
>>
>>
>> _______________________________________________
>> 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 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20151127/f18fefb2/attachment-0001.html


More information about the FX.php_List mailing list