[FX.php List] CURL error from FX.php response file

Rodney Schmidt rodney at fmpro2go.com
Tue Nov 20 07:22:54 MST 2007


Thank you, Jonathan. I am double-checking everything of course. It all seems
correct but files can get corrupted even on a commercial server (perhaps
*especially* on such?).

Your insight does help and I thank you again.
-- 
Rodney Schmidt


> From: "fx.php_list-request at mail.iviking.org"
> <fx.php_list-request at mail.iviking.org>
> Reply-To: <fx.php_list at mail.iviking.org>
> Date: Tue, 20 Nov 2007 06:23:38 -0700 (MST)
> To: <fx.php_list at mail.iviking.org>
> Subject: FX.php_List Digest, Vol 40, Issue 23
> 
> Message: 1
> Date: Mon, 19 Nov 2007 18:20:52 -0800
> From: Jonathan Schwartz <jschwartz at exit445.com>
> Subject: Re: [FX.php List] CURL error from FX.php response file
> To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Message-ID: <p06200708c367f303ed83@[192.168.1.102]>
> Content-Type: text/plain; charset="us-ascii" ; format="flowed"
> 
> Rodeny,
> 
> I'll jump in with an answer before the folks that really know what
> they are talking about .;-)
> 
> When these same handful of errors pop up, it typically points to an
> unsuccessful connection and query to the server.  The first place to
> look: check and double check the FX instance set up on the offending
> page: $serverIP, $DB,  etc.
> 
> All the errors describe fx's displeasure when the script doesn't find
> what it expects to find under normal circumstances.
> 
> HTH,
> 
> Jonathan
> 
> 
> At 8:45 PM -0500 11/19/07, Rodney Schmidt wrote:
>> Once again I seek advice from those more knowledgeable than myself.
>> 
>> For over a year I have been running FX.php on a commercial web
>> server (v. 4.4.4 is what is offered), accessing a database on a
>> FMPSA, now version 9, with no problems at all.
>> 
>> The form on the commercial server used to gather information submits
>> to a "response.php" page, which sends the data on to FMS9A and the
>> DB. With the FM DB open via the server on my own desktop, the data
>> is quickly available and can be viewed.
>> 
>> It has all worked very well. Tonight I begin receiving these
>> messages from the commercial server (not the FMS9A server):
>> 
>> (1) FX: cURL could not retrieve Post data in RetrieveFM7Data(). A
>> bad URL is the most likely reason.
>> 
>> (2) Warning: Cannot use a scalar value as an array in
>> /home/fmpro2go/public_html/search.php on line 164
>> 
>> (3) Warning: Invalid argument supplied for foreach() in
>> /home/fmpro2go/public_html/search.php on line 164
>> 
>> (4) Warning: Cannot use a scalar value as an array in
>> /home/fmpro2go/public_html/response.php on line 48
>> 
>> The PHP code respectively is:
>> 
>> search.php on line 164: foreach( $searchResult['data'] as $key =>
>> $searchData )
>> 
>> response.php on line 48: $recordData = current($newrecordResult['data']);
>> 
>> Once again, I would really appreciate some advice here. There has
>> been no change to the FMS9A setup at all and it all worked fine
>> yesterday when I ran a check.
>> 
>> Today, zip with error messages. I have reloaded fresh copies of
>> FX.pgp and Fxparser, and the files used including the
>> "server_data.php" file. The URL is correct.
>> 
>> Thank you very much.
>> --
>> Rodney Schmidt
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> 
> -- 
> Jonathan Schwartz
> Exit 445 Group
> jonathan at exit445.com
> http://www.exit445.com
> 415-381-1852




More information about the FX.php_List mailing list