Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1
  • 2

TOPIC:

PHP Fatal error: Class 'ExSimpleXMLElement' 8 years 9 months ago #3496

  • ilias
  • ilias's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
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.
Attachments:

Please Log in or Create an account to join the conversation.

PHP Fatal error: Class 'ExSimpleXMLElement' 8 years 9 months ago #3501

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
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?

Please Log in or Create an account to join the conversation.

PHP Fatal error: Class 'ExSimpleXMLElement' 8 years 9 months ago #3505

  • ilias
  • ilias's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
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
Attachments:

Please Log in or Create an account to join the conversation.

PHP Fatal error: Class 'ExSimpleXMLElement' 8 years 9 months ago #3509

  • JohnSmith
  • JohnSmith's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 397
  • Thank you received: 71
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

Please Log in or Create an account to join the conversation.

PHP Fatal error: Class 'ExSimpleXMLElement' 8 years 9 months ago #3517

  • ilias
  • ilias's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0

Please Log in or Create an account to join the conversation.

PHP Fatal error: Class 'ExSimpleXMLElement' 8 years 9 months ago #3524

  • JohnSmith
  • JohnSmith's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 397
  • Thank you received: 71
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ronmjultenJohnSmith
Time to create page: 0.120 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search