[FX.php List] PHP FX neophytes needs help
Steve Hannah
shannah at sfu.ca
Fri Jul 21 13:18:05 MDT 2006
A blank page could mean that there is an error but you have errors
turned off. You can try a couple of things to get error output.
1. add the line
<? error_reporting(E_ALL); ?>
to the top of your script. This will turn on error reporting so
hopefully your errors will be displayed. If you have a syntax error
then this line may not get executed. In that case you would have to
check your error log.
Your error log may be in different places on different operating
systems but a common place is /var/log/httpd/error_log
When you find it just look at the end:
e.g. tail error_log
Hope this helps a little.
Best regards
Steve
On 21-Jul-06, at 12:12 PM, Don W. Yee wrote:
> Hi all,
>
> I'm new to PHP and FX. I going through FM Webschool's book about
> the subject and I'm really stuck. I downloaded the sample files
> from Iviking and got them working on my FM server. I could browse
> the book database just fine. Going through the tutorials on page
> 116 "Testing Your FX.php I connection", I'm just getting a blank
> page when I test the page. What am I doing wrong?
>
> I'm sure I have all server IP addresses and the Web Companion port
> number entered correctly in "server_data.php". Here's the code for
> "fxtest.php".
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=ISO-8859-1" />
> <title>Testing the FX.php Connection</title>
> </head>
> <html>
> <body>
> <?php
>
> include_once ('FX/FX.php');
> include_once ('FX/server_data.php');
>
> $testfx = new FX($serverIP,$webCompanionPort);
> $testfx -> SetDBData ('Book_list.fp7','Detail_View');
> $testfx -> SetDBPassword ($webPW,$webUN);
> $testfxResult = $testfx -> FMFindany ();
> echo $testfxResult ['errorCode'];
>
> ?>
>
>
>
>
>
>
>
>
>
>
> </body>
> </html>
>
>
>
>
> Thanks in advance.
>
> Don
>
>
> Don Yee
> Program of Technocultural Studies
> 1 Shields Avenue
> Davis, Ca 95616
> Art Building Rm 316
>
> Phone 530-754-7208
> Website: http://technoculture.ucdavis.edu/
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
----------------------------------------
Steve Hannah
Web Services Developer
Faculty of Applied Sciences
Simon Fraser University
shannah at sfu.ca
604-268-7228
Homepage: http://www.sjhannah.com
--
Creator of Dataface : "Put a face on your database" : http://
fas.sfu.ca/dataface
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060721/416e6262/attachment-0001.html
More information about the FX.php_List
mailing list