Posted by Jochem Maas on 06/20/05 14:41
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/
>
Navigation:
[Reply to this message]
|