Greetings,
I'm trying to install moodle 1.9 on a windows server 2003 box running apache 2.1 and MySql 5.0.18, php 5.1.2. Everything up to the Setting up database screen has worked.
I read the FAQs section on hanging installs and I"ve increase the php memory limit to 40MB. I looked in my php error log and it said this:
PHP Fatal error: Cannot clone object of class DOMDocument due to 'zend.ze1_compatibility_mode' in D:\www\public_html\learn\lib\xmldb\classes\XMLDBFile.class.php on line 84
Yikes, what does this mean and how do i fix it?
Thanks for any and all direction/advice.
In reply to lsa bug
Re: PHP Fatal error: Cannot clone object of class DOMDocument due to 'zend.ze1_compatibility_mode'
by lsa bug -
Found answer here...http://tracker.moodle.org/browse/MDL-12617
Installation hangs with zend.ze1_compatibility_mode on
Moodle 1.9 installation fails with php setting 'zend.ze1_compatibility_mode on'.
If you have enabled PHP error logging and if the following error shows up during database setup then turn off the zend.ze1_compatibility_mode in php.ini.
Fatal error: Cannot clone object of class DOMDocument due to 'zend.ze1_compatibility_mode' in .../moodle/lib/xmldb/classes/XMLDBFile.class.php on line 84
If you don't have access to php.ini then edit the config.php and add the following statement just before the 'unset($CFG);'.
ini_set('zend.ze1_compatibility_mode', '0');
Above fix worked for me.
--Sutha Thiru 23:54, 20 March 2008 (CDT)