ID: 16794 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open Bug Type: DOM XML related Operating System: Windows XP PHP Version: 4.2.0 New Comment:
Two interesting observations. - The domxml from 4.2.0 WILL work correctly with 4.1.2, but not with 4.2.0. - After Apache crashes, the output does show up correctly. I uploaded a new file test.got.php, and it will start var_dumping correctly, but somewhere while working on getChildren(), it will crash Apache, and then it will start over, and crash again, infinitely (well, I let it run for a couple of minutes). But the script works right until I call getChildren, I checked if the XML that got through was right, and it was. Previous Comments: ------------------------------------------------------------------------ [2002-04-25 13:30:14] [EMAIL PROTECTED] Another observation from the error log: The errors that are given makes me believe that it's trying to apply XML parsing rules to a HTML document. Looks like your got.php should be modified to make sure that you got a 200 return code rather than some html error message. ------------------------------------------------------------------------ [2002-04-25 13:26:55] [EMAIL PROTECTED] You have issues with the XML that you're trying to process. An excerpt from the error.log file: -Entity: line 5: error: Premature end of data in tag <br> -<br> -<b>Warning</b>: Bad - -^ -Entity: line 5: error: Premature end of data in tag <br> -<b>Warning</b>: file("ht - -^ -Entity: line 1: error: Start tag expected, '<' not found -Last-Modified: Thu, 04 Apr 2002 18:13:49 GMT Fix the xml errors and you might not get crashes. I'll admit that php should not crash when fed invalid xml, but more important is to get it working with valid xml. If you fix the xml errors and still get the same problem, feel free to reopen this bug. ------------------------------------------------------------------------ [2002-04-25 12:10:49] [EMAIL PROTECTED] I uninstalled php_domxml yesterday at about this time from PHP (commented it out from php.ini). ------------------------------------------------------------------------ [2002-04-25 12:10:09] [EMAIL PROTECTED] Done. ------------------------------------------------------------------------ [2002-04-25 11:59:24] [EMAIL PROTECTED] Nope. What you're seeing in those lines from the apache log are attempts by the code red worm to break into your system. But you're safe since you're not running IIS. If you'll post your apache error_log file to that site, I'll take a look at it. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16794 -- Edit this bug report at http://bugs.php.net/?id=16794&edit=1