From: "Aaron Wolski" <[EMAIL PROTECTED]> > 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.
Do you have $paging = new paging_class(); anywhere to make $paging an actual object? According to the error, you don't, or it's type has been changed. Maybe there was an error in the required file that you're not seeing? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php