RE: Wierd error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17 November 2005 14:31, Chris Boget wrote:

> > I'm seeing the following line showing up in my logs:
> > 
> > 08:08:30  [warning] [Unknown][0]: Unknown(): Unable to call () -
> > function does not exist 
> > 
> 
> The line to concentrate on is this one:
> 
> $dbObject = new IPI_OfficeDetailsInterface();
> 
> If I leave it as above, no error occurs.  But I instead instantiate
> $dbObject as follows (which is what I was doing originally)
> 
> $dbObject &= new IPI_OfficeDetailsInterface();

Should be =& -- &= is trying to do a bitwise and operation, which isn't terribly meaningful when an object is involved!

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: m.ford@xxxxxxxxxxxxxx
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 


To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux