#26443 [Opn->Fbk]: No errror reporting
| From: | sniper@php.net | Date: | Sat, 29 Nov 2003 11:12:51 +0000 |
| Subject: | #26443 [Opn->Fbk]: No errror reporting | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51318@lists.php.net to get a copy of this message | ||
ID: 26443
Updated by: sniper@php.net
Reported By: thomas dot sattler at decon-network dot de
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: Windows XP
PHP Version: 4.3.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
And make sure you remove ALL existing php related dlls from your system
first. (php4ts.dll is the most important one)
And make sure you only have ONE there.
Previous Comments:
------------------------------------------------------------------------
[2003-11-28 08:04:50] thomas dot sattler at decon-network dot de
Error reporting level is set to E_ALL
With php 4.2.3 error reporting works well in the same environment
(php.ini, apache ...)
------------------------------------------------------------------------
[2003-11-28 07:53:12] iliaa@php.net
Check your error_reporting level. Or do error_reporting(E_ALL); at the
start of the script.
------------------------------------------------------------------------
[2003-11-28 03:19:26] thomas dot sattler at decon-network dot de
Description:
------------
When I use Apache 1.3.29 with php4apache.dll there is no error
reporting.
With the php.exe the errors are reported.
This occurs also with php-4.3.4 and php.4.3.5.5 but not with the
php.exe.
Reproduce code:
---------------
<?php
ini_set("display_errors", "1");
$xmlstr='<?xml version="1.0" encoding="UTF-8"?>
<udk-result:udk
xmlns:udk-result="http://www.umweltdatenkatalog.de/udk/query-answer">
<udk-result:data-source server-id="BW">
</udk-result:data-source>
</udk-result:udka>'; ?><?php
if(!$doc = domxml_open_mem($xmlstr)) print "ERROR!";
else {print_r ($doc);
$root=$doc->document_element();}
$xmltest = domxml_new_doc("1.0");
$xmlroot = $xmltest->create_element("testtag");
$xmlroot = $xmltest->append_child($xmlroot);
$xmlroot->set_content("content rest content");
$test_text = $xmltest->dump_mem(0, 'iso-8859-1');
print "<pre> $test_text </pre>";
?>
Expected result:
----------------
Warnings on line 8 domxml_open_mem() (xml-string is not well formed)
and on line 15 "dump_mem(): output conversion failed due to conv error"
(the euro symbol is not iso-8859-1)
Actual result:
--------------
The output is only:
ERROR!<pre> <?xml version="1.0" encoding="iso-8859-1"?>
<testtag>content </pre>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26443&edit=1