Report any technical problems you discover and discuss solutions.

PHP Fatal error: Class 'ExSimpleXMLElement'

Plus d'informations
il y a 10 ans 5 mois #3496 par ilias
I installed today the xerte 3.1 on ubuntu 12.04.
No errors at installation.
When I pressed play or publish (after of the XOT creation) appears a window:
And from firefox firebug:
In: /var/log/apache2$ tail error.log
[Wed Feb 17 19:11:01.470115 2016] [:error] [pid 11443] [client 127.0.0.1:45609] PHP Fatal error: Class 'ExSimpleXMLElement' not found in /var/www/html/xerte/editor/upload.php on line 171, referer: http://localhost/xerte/edithtml.php?template_id=5
[Wed Feb 17 19:11:05.759611 2016] [:error] [pid 11323] [client 127.0.0.1:45610] PHP Fatal error: Class 'ExSimpleXMLElement' not found in /var/www/html/xerte/editor/upload.php on line 171, referer: http://localhost/xerte/edithtml.php?template_id=5
[Wed Feb 17 19:16:53.331108 2016] [:error] [pid 11442] [client 127.0.0.1:45929] PHP Fatal error: Class 'ExSimpleXMLElement' not found in /var/www/html/xerte/editor/upload.php on line 171, referer: http://localhost/xerte/edithtml.php?template_id=5
[Wed Feb 17 19:18:13.821455 2016] [:error] [pid 11443] [client 127.0.0.1:45934] PHP Fatal error: Class 'ExSimpleXMLElement' not found in /var/www/html/xerte/editor/upload.php on line 171, referer: http://localhost/xerte/edithtml.php?template_id=5
[Wed Feb 17 19:21:42.369351 2016] [:error] [pid 11323] [client 127.0.0.1:45942] PHP Fatal error: Class 'ExSimpleXMLElement' not found in /var/www/html/xerte/editor/upload.php on line 171, referer: http://localhost/xerte/edithtml.php?template_id=5
[Wed Feb 17 19:24:35.386240 2016] [:error] [pid 11443] [client 127.0.0.1:46156] PHP Fatal error: Class 'ExSimpleXMLElement' not found in /var/www/html/xerte/editor/upload.php on line 171, referer: http://localhost/xerte/edithtml.php?template_id=6
[Wed Feb 17 19:24:38.902396 2016] [:error] [pid 11323] [client 127.0.0.1:46157] PHP Fatal error: Class 'ExSimpleXMLElement' not found in /var/www/html/xerte/editor/upload.php on line 171, referer: http://localhost/xerte/edithtml.php?template_id=6

Please inform me how to fix the problem.
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 5 mois #3501 par tom
Réponse de tom sur le sujet PHP Fatal error: Class 'ExSimpleXMLElement'
The class is defined in the upload.php file itself (line 89.)

Could you please chack whether SimpleXMLElement is enabled in your php environment?

What happens if you execute php /var/www/html/xerte/editor/upload.php in a terminal on the Ubuntu machine?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 5 mois #3505 par ilias
Réponse de ilias sur le sujet PHP Fatal error: Class 'ExSimpleXMLElement'
I send you a part of phpinfo


and
the result of execution: php /var/www/html/xerte/editor/upload.php in a terminal


Thanks a lot,
Elias
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 5 mois #3509 par JohnSmith
Réponse de JohnSmith sur le sujet PHP Fatal error: Class 'ExSimpleXMLElement'
Hi Elias,

Can you tell me where you got the zip that you installed? Was it from this site "Resources" or was it from Github?

John

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 5 mois #3517 par ilias

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 10 ans 5 mois #3524 par JohnSmith
Réponse de JohnSmith sur le sujet PHP Fatal error: Class 'ExSimpleXMLElement'
Hi Elias,

That's a strange error given that SimpleXML looks to be enabled and ExSimpleXMLElement is actually declared in the upload.php file...

Can you download the zip again and re-copy that /editor/upload.php file again and try the upload again?

John

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.171 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo