php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30620 I can't get attributes of nodes, when I use XML document with namespace definit
Submitted: 2004-10-30 10:46 UTC Modified: 2004-11-02 14:06 UTC
From: sveta at microbecal dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS-2004-10-29 (dev) OS: Windows XP
Private report: No CVE-ID: None
 [2004-10-30 10:46 UTC] sveta at microbecal dot com
Description:
------------
Then I try to run php or php-win from command line, scripts work, but Windows displays system error window.
But if I try to run php-cgi from command line, it works without error window.
PHP 5.0.0 works without error window too.

Reproduce code:
---------------
php script.php
php-win script.php

Expected result:
----------------
script output

Actual result:
--------------
script output and Windows system error window

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-30 13:22 UTC] derick@php.net
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.

 [2004-10-30 23:23 UTC] sveta at microbecal dot com
Dears!

Look at the screenshot: http://www.microbecal.com/ftp_load/crazy_bug.gif

Some strings from phpinfo() output:
PHP Version 5.1.0-dev
Build Date  Oct 29 2004 12:14:55
PHP API  20031224  
PHP Extension  20040718  
Zend Extension  220040718  
Debug Build  no  
Thread Safety  enabled

If you are need in additional info, let me know which

Thank you!
 [2004-10-31 22:45 UTC] tony2001@php.net
I can't reproduce it under Linux.
So, yes, I do think we need additional info. 

 [2004-11-01 19:37 UTC] sveta at microbecal dot com
Of course: I run it under Windows. So I think, it is specific Windows problem. Installation and system are same as then I used previous PHP versions (4.3.0, 4.3.3, 5.0.0) working without this screen.
Additional info:
Windows XP Professional SP1 with some updates
PECL modules: all from snaps.php.net binary Windows modules
But same result without any modules

And let me know WHICH additional info are you need
 [2004-11-01 21:04 UTC] derick@php.net
Please follow the instructions here:
http://bugs.php.net/how-to-report.php

 [2004-11-02 14:06 UTC] sveta at microbecal dot com
I am sorry!

I can't get backtrace from gdb: Debug Build  no.

In cygwin environment all work fine.

My problem was solved just us I removed from php.ini file both (!) following lines:

zend_extension_ts = "D:\Program Files\PHP\ext\php_xdebug.dll"
zend_extension_ts = "D:\Program Files\PHP\ext\php_apd.dll"

I don't use any other Zend extensions, which must have settings in php.ini file, so I don't know: it is only these extensions troubles or not.
Files php_xdebug.dll and php_apd.dll I loaded from snaps.php.net 30.10.2004
Extensions xdebug and apd work, when above listed two lines are in php.ini!

Note:
usuall in my php.ini file line
;extension=php_threads.dll
looks like this. When I remove ";" sign from this line, I see the error window.

If it is not ok, I still ready to give you additional information: Windows system backtrace or try again to get gdb backtrace.
But now I want to close this report.
Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 19:01:28 2024 UTC