Upgrading from 5.5 to 5.6: Call to undefined function dom_import_simplexml()
1. In the dashboard of your site, place your site into "Maintenance Mode." This will ensure your site does not appear down while upgrading.
2. Back up all site data thoroughly, including files and database tables, just in case.
3. Copy the "concrete" subdirectory from this new archive over your previous directory.
4. Visit the URLhttp://yoursite.com/index.php/tools/required/upgrade...
That produced a page stating: "Upgrading from 18.104.22.168 [new line] Upgrading to 5.6.0 [new line] To proceed with the upgrade, click below." After clicking the Upgrade button, I get this error message:
Fatal error: Call to undefined function dom_import_simplexml() in /var/www/html/c5/concrete/core/controllers/single_pages/upgrade.php on line 178
Where do I go from here?
Hope it helps.
yum list | grep php
php53.x86_64 5.3.3-13.el5_8 installed
php53-cli.x86_64 5.3.3-13.el5_8 installed
php53-common.x86_64 5.3.3-13.el5_8 installed
php53-gd.x86_64 5.3.3-13.el5_8 installed
php53-xml.x86_64 5.3.3-13.el5_8 installed
but phpinfo() returns nothing.
Where should I go from here?
If this is the case, the problem I found when I saw that was the short_open_tag was set to "Off" in the PHP install by default. Setting it to "On" fixed it and Concrete5 ran as expected.
The situation has evolved though. I uninstalled php and reinstalled version 5.2.17. Now I can see a response from php_info() but nothing (a pure blank page) when I try to access concrete5 or any other php software on the server. And no messages appear in Apache's error_log file.
Any other suggestions?
Thanks everyone for their help.