[FX.php List] Question about an FX error

Bob Patin bob at patin.com
Wed Mar 17 14:01:09 MDT 2010


Well, I thought of that, but it's the same web server, same IP, same database data... the *only* thing she changed was to upgrade to Leopard Server.

BP


On Mar 17, 2010, at 2:53 PM, Dennis Dalziel wrote:

> Bob,
>  
>                 It seems to me I got this error when my path to FX.php was wrong or something in server_data.php wasn’t set right.
>  
> Dennis Dalziel
> Production Manager
> G & R Publishing Co.
> 507 Industrial Street
> Waverly, IA 50677
> 319-352-5391
>  
> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
> Sent: Wednesday, March 17, 2010 2:53 PM
> To: FX.php Discussion List
> Subject: Re: [FX.php List] Question about an FX error
>  
> when i put that in, and comment out all the error-checking stuff, i get this:
>  
> Warning: print_r() expects at least 1 parameter, 0 given in /Volumes/dbraid/WebServer/Documents/php8/ccpsnew/login_process.php on line 22
>  
> I'm convinced that it's not even executing the query... which leads me back to the question of why this works with Tiger Server but not with Leopard Server...
>  
>  
> On Mar 17, 2010, at 2:43 PM, Dale Bengston wrote:
> 
> 
> Yep. Line 22 is trying to pick something out of your results array, but FX has returned an error object in place of the results array. Try a print_r() on the results variable to echo the error object to the screen.
>  
> Dale
>  
> On Mar 17, 2010, at 2:32 PM, Steve Winter wrote:
> 
> 
> Hey Bob,
>  
> Looks like the db query is failing for some reason, and line 22 of the script is expecting an Result object, but is getting an Error object instead.
>  
> Try examining the result of the query which was presumably executed on line 21, and see what the FM error is, that's failing to get a vlid result object...
>  
> Cheers
> Steve
>  
>  
> On 17 Mar 2010, at 19:20, Bob Patin wrote:
> 
> 
> I have a client who just moved from Tiger Server to Leopard Server which runs PHP5, and now a simple little login script is showing this error:
>  
> Fatal error: Cannot use object of type FX_Error as array in /Volumes/dbraid/WebServer/Documents/php8/ccpsnew/login_process.php on line 22
>  
> I'm thinking that it's a PHP setting that's different in 5, but I don't know what it might be; does anyone have an idea what is different in PHP5's defaults in Leopard Server that might cause this?
>  
> Thanks,
>  
> Bob Patin
> bob at patin.com
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>  
> Steve Winter
> steve at bluecrocodile.co.nz
> m: +44 77 7852 4776
> 3 Calshot Court, Channel Way
> Ocean Village, Southampton SO14 3GR
>  
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20100317/08a81ad5/attachment-0001.html


More information about the FX.php_List mailing list