RE: [PHP] Very confusing problem!
| From: | Aaron Wolski | Date: | Wed, 07 Jan 2004 15:35:58 +0000 |
| Subject: | RE: [PHP] Very confusing problem! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173979@lists.php.net to get a copy of this message | ||
Ahhh!!!!!
You rock my man!!!!!
I left out one single line when I copied! What a dolt.
Thanks so much!!!
Aaron
> -----Original Message-----
> From: Jonathan Wilkes [mailto:jonathan@callview.com]
> Sent: January 7, 2004 10:36 AM
> To: Aaron Wolski
> Subject: RE: [PHP] Very confusing problem!
>
> you need to instantiate the object before you can use it
>
>
> -----Original Message-----
> From: Aaron Wolski [mailto:aaronjw@martekbiz.com]
> Sent: 07 January 2004 15:32
> To: php-general@lists.php.net
> Subject: [PHP] Very confusing problem!
>
>
> Hey guys,
>
> Having a problem with a script I have used before in another project.
>
> First off. this is the error I am getting:
>
> Fatal error: Call to a member function on a non-object in
> /services/webpages/a/t/somedomain.com/secure/Store/index.php on line
140
>
> The line of code is this:
>
> $paging->query("SELECT * FROM ProductTable");
>
> At the top of the page I have this:
>
> require("../paging_class.php");
>
> I can post the paging_class.php file if anyone needs but it hasn't
> changed from when I used it on another site. The only thing that has
> changed is server type (current: Linux previously: BSD). Both are
> running PHP 4.3.2.
>
>
> ANY help is desparately appreciated!!!!!
>
> Thanks so much.
>
> Aaron
>