PHP 4.0 Bug #6733 Updated: Fatal error: Call to a member function on a non-object in FNAME.PHP on line xx

From: Date: Mon, 16 Oct 2000 15:11:27 +0000
Subject: PHP 4.0 Bug #6733 Updated: Fatal error: Call to a member function on a non-object in FNAME.PHP on line xx
Groups: php.dev 
Request: Send a blank email to php-dev+get-35141@lists.php.net to get a copy of this message
ID: 6733 Updated by: sniper Reported By: supin@showermail.com Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: No feedback. And not enough info. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-09-16 16:44:59] stas@php.net What is in $shop_linkpage? Does that directory exist? --------------------------------------------------------------------------- [2000-09-14 01:14:26] supin@showermail.com I use function DIR in version 4.0 is ok. And now i converting to new version 4.0.2 not happy it have error Exam code ...$d = dir("$shop_linkpage"); ...while ($file = $d->read()) { // error ... echo $file ...} ...$d->close(); // error Method of class $d (read,close) not work. why Help me please ... Thank you --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6733

« previous php.dev (#35141) next »