[FX.php List] Question about an FX error

Steve Winter steve at bluecrocodile.co.nz
Wed Mar 17 13:32:45 MDT 2010


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

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


More information about the FX.php_List mailing list