I extracted the MediaWiki to my web-site, renamed the directory to wiki and browsed to it. I then clicked on the config link which took me to mywebsite/wiki/mw-config/index.php, but the resulting page is blank. What am I supposed to do to configure the website?
Topic on Project:Support desk
Check the error log and report your findings please.
I checked the web-site error log and the most recent message was from May 3rd. There was nothing relevant to this failure.
When I modify index.php to enable display of error messages I get the following:
Fatal error: Class 'DOMDocument' not found in /var/www/html/test.zipdandy.com/wiki/includes/cache/localisation/LocalisationCache.php on line 663
When I attempt to fix this according to the documentation I get the following errors:
Resolving Dependencies
--> Running transaction check
---> Package php-xml.x86_64 0:5.3.3-49.el6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-xml-5.3.3-49.el6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-49.el6 will be installed
--> Processing Conflict: php56w-common-5.6.30-1.w6.x86_64 conflicts php-common < 5.6
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.3.3-49.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Obviously I do not want to install the PHP 5.3 version of php-common on a PHP 5.6 system. This is on centos6 by the way.
I tried the following:
bash-4.1$ sudo yum install php56w-xml
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* city-fan.org: nervion.us.es
* webtatic: us-east.repo.webtatic.com
drivesrvr | 2.2 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php56w-xml.x86_64 0:5.6.30-1.w6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php56w-xml x86_64 5.6.30-1.w6 webtatic 151 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 151 k
Installed size: 641 k
Is this ok [y/N]: y
Downloading Packages:
php56w-xml-5.6.30-1.w6.x86_64.rpm | 151 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php56w-xml-5.6.30-1.w6.x86_64 1/1
Verifying : php56w-xml-5.6.30-1.w6.x86_64 1/1
Installed:
php56w-xml.x86_64 0:5.6.30-1.w6
Complete!
-bash-4.1$
but I still get:
Fatal error: Class 'DOMDocument' not found in /var/www/html/test.zipdandy.com/wiki/includes/cache/localisation/LocalisationCache.php on line 663
Run sudo yum remove php-common
Note that after installing, you need to restart apache so it picks the installed extension.