Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Months, 3 Days, 11 Hours, 56 Minutes, 30 Seconds ago Error 500 when Uploading a Theme
#1
Solved: 2 Months, 3 Days, 11 Hours, 56 Minutes, 30 Seconds ago
Hello.
This is a brand new install of a forum.
It is fully working, however, whenever I try to upload the .xml of a theme (from local file & url), I get an Internal Error (http 500 error).

Link: http://www.minelight.uk/community

It is a VPS.

Error log (/var/log/httpd/error_log):

Code:
[Fri Feb 17 13:25:31.201031 2017] [:error] [pid 5042] [client 77.49.52.21:51386] PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /var/www/html/community/inc/class_xml.php:53\nStack trace:\n#0 /var/www/html/community/admin/inc/functions_themes.php(25): XMLParser->get_tree()\n#1 /var/www/html/community/admin/modules/style/themes.php(386): import_theme_xml('<?xml version="...', Array)\n#2 /var/www/html/community/admin/index.php(803): require('/var/www/html/c...')\n#3 {main}\n  thrown in /var/www/html/community/inc/class_xml.php on line 53, referer: http://www.minelight.uk/community/admin/index.php?module=style-themes&action=import
[Fri Feb 17 16:10:57.364268 2017] [:error] [pid 5235] [client 193.92.197.73:54286] PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /var/www/html/community/inc/class_xml.php:53\nStack trace:\n#0 /var/www/html/community/admin/modules/style/themes.php(185): XMLParser->get_tree()\n#1 /var/www/html/community/admin/index.php(803): require('/var/www/html/c...')\n#2 {main}\n  thrown in /var/www/html/community/inc/class_xml.php on line 53, referer: http://www.minelight.uk/community/admin/index.php?module=style
[Fri Feb 17 16:11:15.730535 2017] [:error] [pid 5043] [client 193.92.197.73:54289] PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /var/www/html/community/inc/class_xml.php:53\nStack trace:\n#0 /var/www/html/community/admin/inc/functions_themes.php(25): XMLParser->get_tree()\n#1 /var/www/html/community/admin/modules/style/themes.php(386): import_theme_xml('<?xml version="...', Array)\n#2 /var/www/html/community/admin/index.php(803): require('/var/www/html/c...')\n#3 {main}\n  thrown in /var/www/html/community/inc/class_xml.php on line 53, referer: http://www.minelight.uk/community/admin/index.php?module=style-themes&action=import
[Fri Feb 17 16:11:35.480599 2017] [:error] [pid 5051] [client 193.92.197.73:54324] PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /var/www/html/community/inc/class_xml.php:53\nStack trace:\n#0 /var/www/html/community/admin/inc/functions_themes.php(25): XMLParser->get_tree()\n#1 /var/www/html/community/admin/modules/style/themes.php(386): import_theme_xml('\\x89PNG\\r\\n\\x1A\\n\\x00\\x00\\x00\\rIHD...', Array)\n#2 /var/www/html/community/admin/index.php(803): require('/var/www/html/c...')\n#3 {main}\n  thrown in /var/www/html/community/inc/class_xml.php on line 53, referer: http://www.minelight.uk/community/admin/index.php?module=style-themes&action=import
[Fri Feb 17 16:21:53.070604 2017] [:error] [pid 5529] [client 193.92.197.73:54537] PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /var/www/html/community/inc/class_xml.php:53\nStack trace:\n#0 /var/www/html/community/admin/inc/functions_themes.php(25): XMLParser->get_tree()\n#1 /var/www/html/community/admin/modules/style/themes.php(386): import_theme_xml('<?xml version="...', Array)\n#2 /var/www/html/community/admin/index.php(803): require('/var/www/html/c...')\n#3 {main}\n  thrown in /var/www/html/community/inc/class_xml.php on line 53, referer: http://www.minelight.uk/community/admin/index.php?module=style-themes&action=import
[Fri Feb 17 16:27:43.180033 2017] [:error] [pid 5529] [client 193.92.197.73:54623] PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /var/www/html/community/inc/class_xml.php:53\nStack trace:\n#0 /var/www/html/community/admin/inc/functions_themes.php(25): XMLParser->get_tree()\n#1 /var/www/html/community/admin/modules/style/themes.php(386): import_theme_xml('<?xml version="...', Array)\n#2 /var/www/html/community/admin/index.php(803): require('/var/www/html/c...')\n#3 {main}\n  thrown in /var/www/html/community/inc/class_xml.php on line 53, referer: http://www.minelight.uk/community/admin/index.php?module=style-themes&action=import
Reply
#2
Solved: 2 Months, 3 Days, 11 Hours, 56 Minutes, 30 Seconds ago
You have already tryed to test this with another template?
Reply
#3
Solved: 2 Months, 3 Days, 11 Hours, 56 Minutes, 30 Seconds ago
(02-19-2017, 07:04 PM)broatcast Wrote: You have already tryed to test this with another template?

I realised that I didn't have xml for PHP 7 installed.
It's working now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)