ID: 42455 Updated by: [EMAIL PROTECTED] Reported By: klikics at preisroboter dot de -Status: Open +Status: Feedback Bug Type: Class/Object related Operating System: Linux PHP Version: 5.2.3 New Comment:
As long as you can't reproduce it reliably and not able to give us any code to test ourselves this report is kinda useless. First thing you should try is to remove all 3rd party extensions (f.e. any Zend extensions like optimizers, encoders and caches). Then you install the latest CVS snapshot found here: http://snaps.php.net/php5.2-latest.tar.gz And if that doesn't work, you tell us what configure line you used to configure PHP and how we can reprodcue it.. Previous Comments: ------------------------------------------------------------------------ [2007-08-28 12:24:48] klikics at preisroboter dot de Ok, another try ;-) I've got a class "search" and another class "cluster_search" (in the same file). In "cluster" there is a method "get_threader()", but not in "search". In the constructor of "search" is an object $clustersearch created from "cluster_search" and the constructor of "cluster_search" calls the method $this->get_threader() from class "cluster_search". Sometimes, PHP try's to call search::get_threader() instead of $this->get_threader at this moment ($this is here the class "cluster_search") and throws this error: Fatal error: Call to undefined method search::get_threader() in /www/class_.php on line 1305 The problem is, that I can't reproduce this error. I hope it's not to much confusion ... ;) ------------------------------------------------------------------------ [2007-08-28 11:15:49] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2007-08-28 09:44:56] klikics at preisroboter dot de Description: ------------ Sometimes PHP throw's the following error: Fatal error: Call to undefined method suche::get_threader() in /www/class_.php on line 1305 instead of just processing the function $this->get_threader() ... This comes up only every 10000 requests or something, so I can't reproduce it. I'm wondering about the "::", because the call in the script is $this->get_threader(). That's why I think it's an internal bug of PHP. The .php with the class is included via require() to the page where the error appears. Hope this helps or you can help. Thanks in advance. Reproduce code: --------------- // line 1305 $fp = $this->get_threader(); Expected result: ---------------- $fp is a filepointer from fsockopen() .. the script should progress. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42455&edit=1
