Re: SIMPLExml problem....

From: Date: Mon, 20 Jun 2005 11:41:56 +0000
Subject: Re: SIMPLExml problem....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-217214@lists.php.net to get a copy of this message
Cruonit wrote:
I tryed this simple PHP script that uses SimpleXML control: <?php $users = simplexml_load_file('baza.xml');
     echo $users -> name;
?> and i got: Fatal error: Cannot clone object of class SimpleXMLElement due to 'zend.ze1_compatibility_mode' in /mnt/storage/users/w/i/p/wipe/formular.php on line 381
a, zend.ze1_compatibility_mode is a php.ini setting - it needs to off in your case. b, your test script is 3 lines ... which begs the question of where the other 378 lines are? are you maybe using auto_prepend to include stuff automatically?
i tryed the same code on 3 other servers including my localhost and it works (the versions where PHP 5.04 and on the server with the problem it's 5.03) i searched google but i didn't got the answer... http://wipe.host.sk http://bihnet.org/Cruonit/wipe/


« previous php.general (#217214) next »