Re: [PHP] Fatal error: Call to a member function on a non-object

2006-12-07 Thread T . Lensselink
Not only that. think you are also passing the wrong parameters to the constructor. On Thu, 07 Dec 2006 15:48:10 +1030, Ryan Creaser <[EMAIL PROTECTED]> wrote: > > XeRnOuS ThE wrote: >> >> First, if a fatal error is occurring on line 24, why is it executing >> line 24 successfully and returning d

Re: [PHP] Fatal error: Call to a member function on a non-object

2006-12-06 Thread Ryan Creaser
XeRnOuS ThE wrote: First, if a fatal error is occurring on line 24, why is it executing line 24 successfully and returning data? Second, if there’s a fatal error on line 24, why is line 25 still processed? Maybe because you're running it twice? Line 41 with the $this->Auth( ... seems to

Re: [PHP] Fatal error: Call to a member function on a non-object

2004-12-22 Thread Chris
Did you upgrade Zend Optimizer when you upgraded to 4.3.10 ? People are seeing quite a few problems when they dont, and this could be releated to that. Chris Tim Burgan wrote: Hello, I have a database driven (MS Access 2000) PHP website that runs fine on my localhost (Apache, WinXP, PHP 4.3.9),

Re: [PHP] Fatal error: Call to a member function on a non-object

2004-12-22 Thread Tim Burgan
Hi Michael, Michael Sims wrote: [...] These might be relevant: http://bugs.php.net/bug.php?id=31159 http://marc.theaimsgroup.com/?l=php-dev&m=110375720614120&w=2 Thanks for your reply. This does sound like it is the problem. Does anyone know if there is a workaround for this? Ti

RE: [PHP] Fatal error: Call to a member function on a non-object

2004-12-22 Thread Michael Sims
Tim Burgan wrote: > Fatal error: Call to a member function on a non-object in > c:\XXX\inc\dbConnOpen.php on line 17 [...] > The file in question contains code that forms a connection to the > database. I've used this EXACT same code on this same website for the > last 8 months (both on localhost

RE: [PHP] Fatal error: Call to a member function on a non-object in /www/xynz on line 19

2002-05-03 Thread John Holmes
You're trying to call a function within an object. Something like Something->getthis(); Which is not a "normal" PHP function. Show your code. You're probably just calling it wrong. ---John Holmes... > -Original Message- > From: Richard Brenner [mailto:[EMAIL PROTECTED]] > Sent: Friday,

RE: [PHP] Fatal error: Call to a member function on a non-object (again)

2002-01-17 Thread Sandeep Murphy
-Original Message- From: Jason G. [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 17 de Janeiro de 2002 18:41 To: Sandeep Murphy; [EMAIL PROTECTED] Subject: Re: [PHP] Fatal error: Call to a member function on a non-object in example 1.php on line 66 First of all, make sure the $root->child

RE: [PHP] Fatal error: Call to a member function on a non-object in example 1.php on line 66

2002-01-17 Thread Sandeep Murphy
: quinta-feira, 17 de Janeiro de 2002 18:41 To: Sandeep Murphy; [EMAIL PROTECTED] Subject: Re: [PHP] Fatal error: Call to a member function on a non-object in example 1.php on line 66 First of all, make sure the $root->children() returns an array of objects. Second of all, remove the space betw

Re: [PHP] Fatal error: Call to a member function on a non-object in example 1.php on line 66

2002-01-17 Thread Jason G.
First of all, make sure the $root->children() returns an array of objects. Second of all, remove the space between $All_nodes and [1]. Your code should look like: $childNodes=$All_nodes[1]->children(); If that does not work, you may have to create a temp var to use... $tmp = $All_nodes[1]; $chi