You are here: Re: [PHP] SIMPLExml problem.... « PHP « IT news, forums, messages
Re: [PHP] SIMPLExml problem....

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация