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

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

2006-12-06 Thread XeRnOuS ThE
I am working on a set of PHP framework so to speak, designed to create module based community & content management based scripts. I just started updating the authentication handlers, which are all PHP 4 classes, and reworking a long list of changes. The new version i am coding is near completel

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

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

2004-12-22 Thread Tim Burgan
Hello, I have a database driven (MS Access 2000) PHP website that runs fine on my localhost (Apache, WinXP, PHP 4.3.9), but when I upload it to the web host (IIS, PHP 4.3.10) and try to access a page I receive the following error: Fatal error: Call to a member function on a non-object in c:\XX

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
IL PROTECTED]] > Sent: Friday, May 03, 2002 4:33 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Fatal error: Call to a member function on a non-object in > /www/xynz on line 19 > > Hi there. > > I created an inc file with a single function and included it in my general &

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

2002-05-03 Thread Richard Brenner
Hi there. I created an inc file with a single function and included it in my general script. When I try to start the function out the the program, I receive the following error message: Fatal error: Call to a member function on a non-object in /www/xynz on line 19 Does someone know, what this

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

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

2002-01-17 Thread Sandeep Murphy
Hi, I keep getting this error "Fatal error: Call to a member function on a non-object in /www/html/smurthy/example1.php on line 66" and simply unable to figure out why this is occuring.. 64 $root = $dom->root(); 65 $All_nodes = $root->children(); 66 $childNodes=$All_nodes [1]->children();