[FX.php List] error help

gary redmond gary.redmond at ucd.ie
Thu Aug 31 09:50:43 MDT 2006


ok I don't have a clue what's going on - all other php files display
fine, but anything involving fxforge just goes blank screen even the
files included with it so its not my files.

I'm really lost.



----- Original Message -----
From: DC <dan.cynosure at dbmscan.com>
Date: Thursday, August 31, 2006 3:50 pm
Subject: Re: [FX.php List] error help
To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>

> looks like there is still a bunch of blank space... did you use the 
> 
> bbedit trick or do it by hand and replace with real return characters?
> 
> you have to tediously remove every single itty bitty space 
> character  
> including the ones in between code pieces like equals signs and all 
> 
> the spaces after semicolons and in the html if you copy pasted 
> that.  
> it's really tedious. so if you don't have an automated way of doing 
> 
> it you've got to be really precise and thorough.
> 
> also, the same goes for the included files.
> 
> this probably isn't part of your issue, but, i noticed that you are 
> 
> using single quotes in HTML attributes. i'm pretty sure that double 
> 
> quotes are required by one standard or other. i recall reading that 
> 
> with regards to XHTML or something. sorry i can't be more specific -
>  
> maybe someone else on the list has more detail on why double quotes 
> 
> are better for HTML attributes.
> 
> to test, can you get any simple PHP page to load? like <? echo 
> "hello  
> world"; ?>
> if you can, i suggest rebuilding your code below in another file 
> line  
> by line...
> 
> dan
> 
> On Aug 31, 2006, at 10: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