[FX.php List] error help
gary redmond
gary.redmond at ucd.ie
Thu Aug 31 10:30:25 MDT 2006
I have errors switched on but it is not generating any, the problem is
not to do with ascii characters as I have tried the files that come in
the tutorial folder and they also produce blank pages.
Anyone any ideas .... been working on this for 3 solid days and just
can't make it work.
----- Original Message -----
From: Dale Bengston <dbengston at preservationstudio.com>
Date: Thursday, August 31, 2006 5:02 pm
Subject: Re: [FX.php List] error help
To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> The code you posted appears to create a new, blank record in the
> table called 'Student'?
>
> What do you get if you print_r($addstuResult);?
>
> Is error display turned off, so you are not seeing errors, which
> could help you troubleshoot?
>
> Dale
>
> On Aug 31, 2006, at 9:35 AM, gary redmond wrote:
>
> > I tried that still a blank page.
> >
> > <?
> > include_once('FX/FX.php');
> > include_once('FX/server_data.php');
> >
> >
> >
> >
> > $groupSize='50';
> >
> >
> > $addstu=new FX($serverIP,$webCompanionPort,'FMPro7');
> > $addstu->SetDBData('Student','stureg',$groupSize);
> > $addstu->SetDBPassword('','admin');
> >
> >
> > $addstuResult=$addstu->FMNew();
> >
> > echo $addstuResult['errorCode'];
> > foreach($addstuResult['data'] as $key=>$addstuData);
> >
> >
> > ?>
> > <html>
> > <head>
> > </head>
> > <body>
> >
> >
> >
> > <br><form method='post' action='thankyou.php'>
> >
> > stunum<input type='text' name='stunum' value=''><br>
> > firstname<input type='text' name='firstname' value=''><br>
> > surname<input type='text' name='surname' value=''><br>
> >
> > <input type='submit' name='submit' value='Submit'>
> > </form>
> >
> > </body>
> > </html>
> >
> > ----- Original Message -----
> > From: DC <dan.cynosure at dbmscan.com>
> > Date: Thursday, August 31, 2006 2:52 pm
> > Subject: Re: [FX.php List] error help
> > To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> >
> >> sometimes you'll get a blank page when there are extra (high ascii
> >> or
> >> low ascii) characters in your code. this usually happens when you
> >> copy and paste several lines of code from a web page. the code has
> >> extra stuff in it that you have to strip out by hand.
> >>
> >> In case you are using it, BBEdit has a command called "convert to
> >> ASCII" that will strip the weirdness out automatically. other text
> >> editing tools may have commands to help.
> >>
> >> dan
> >>
> >> On Aug 31, 2006, at 9:20 AM, gary redmond wrote:
> >>
> >>> No that wasn't the problem, I checked the php.ini file and
> >> realised
> >>> that
> >>> short openings were off but I enabled them and now I just get a
> >>> blank page.
> >>>
> >>>
> >>>
> >>>
> >>> ----- Original Message -----
> >>> From: Jack Kelly <jlk4p at virginia.edu>
> >>> Date: Thursday, August 31, 2006 2:04 pm
> >>> Subject: Re: [FX.php List] error help
> >>> To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> >>>
> >>>> My guess is that you've got two ?> in your code. Look at the
> >>>> statement for your SetDBData. Does it look like this?
> >>>>
> >>>> $addstu?>SetDBData('Student','stureg',$groupSize);
> >>>>
> >>>> If so change that question mark to a dash and you should be fine.
> >>>>
> >>>> On Aug 31, 2006, at 3:34 AM, Gary Redmond wrote:
> >>>>
> >>>>> I can't get php.fx to work i keep getting this message
> >>>>>
> >>>>>
> >>>>> SetDBData('Student','stureg',$groupSize); $addstu->SetDBPassword
> >>>>> ('','admin'); $addstuResult=$addstu->FMNew(); echo $addstuResult
> >>>>> ['errorCode']; foreach($addstuResult['data'] as
> >>>> $key=>$addstuData); ?>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> 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
> >>
> >> _______________________________________________
> >> 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
>
> _______________________________________________
> 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