Re: SIMPLExml problem....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux