[FX.php List] Blank page returned

Andy Gaunt andy at fmpug.com
Sun May 22 18:27:05 MDT 2005


Brion -

Thanks for the reply -

It is the strangest thing as on all other pages everything process fine.

I have in the meantime been going through one line at a time and have
isolated the problem.

On the page in question an instance was created to check for the presence of
reviews by a member.

This was placed at the top of the page outside the HTML. After the instance
a variable was created to check the foundCount. It was this placement that
caused the issue. By moving it lower to just above the call for the reviews
the problem was resolved.

Interestingly this did not cause a problem in FMPro 6 running PHP4.3

I am not sure if it is a FileMaker 7 issue or a PHP issue at this point.
 
I think it has something to do with the fact that each time I make a find
instance and there are no records found an error code of -1 is generated
instead of a foundCount of zero.

Regards

Andy Gaunt	
T: 407.810.4722
andy at fmpug.com
http://www.fmpug.com

May 26th 2005, 7pm Orlando FMPug
Register interest online at http://www.fmpug.com/rsvp

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Brion Vibber
Sent: Sunday, May 22, 2005 5:47 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] Blank page returned

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Gaunt wrote:
| Anyone had a problem where you end up with a blank web page and only a
| small portion of the code has been processed?

Generally this means you've encountered a fatal error in PHP, which
halts script execution.

Check php.ini; if display_errors is on and error_reporting appropriate
it should include an error message in the output at that point.
(Consider also setting up an error log file.)

- -- brion vibber (brion @ pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCkP3QwRnhpk1wk44RAigaAKCtlM8M3WTDpHK3cGkb4gBuObOHKACcDDKg
qb6R7+yVuKf/AanEgsm6Y8o=
=Hn0V
-----END PGP SIGNATURE-----
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list