|
[
Permalink
| « Hide
]
Martin Dougiamas added a comment - 07/Mar/07 11:40 AM
Nick can you try an install from scratch (rename your config.php and view the moodle site to verify if this is happening for you, if not close it, it might be missing files on the reporter's site).
Can't replicate error, conclusion is that report is missing the file in which libxml_user_internal_errors() is defined
See Previous comment for reason of closure
I have to agree with Dmitry and confirm. I am having the same problem with the very fresh checkout of MOODLE_18_STABLE:
$~/public_html/moodle-18-stable$ cvs update The function is not defined in any file, it is just used. See: $~/public_html/moodle-18-stable$ grep -R libxml_use_internal_errors * I receive an Error! XML parsing failed: syntax error (Line: 133, Character: 0) Error:unexpected end-of-file during an site upgrade: <div class="notifytiny" style="text-align:center">Index groupingid-groupid do not exist. Delete skipped<ul style="text-align: left"><li>line 1109 of lib/ddllib.php: call to debugging()</li><li>line 257 of group/db/upgrade.php: call to drop_index()</li><li>line 420 of group/db/upgrade.php: call to groups_drop_keys_indexes_db()</li><li>line 115 of group/db/upgrade.php: call to xmldb_group_upgrade()</li><li>line 407 of admin/index.php: call to upgrade_group_db()</li></ul></div><br /> Can you please report where the function libxml_use_internal_errors() is supposed to be defined? I am getting the same error at the XMLDB editor:
http://localhost/~mudrd8mz/moodle-18-stable/admin/xmldb/ if I choose [Load] (load_xml_file) action. Hope this helps. From my point of view, this is a big blocker as the upgrade process failed and now I have the site home page full of error messages: ERROR: relation "mdl_groups_courses_groups" does not exist (IMHO table have been removed but not recreated correctly). Please, let me know where the function is defined at your site. I will compare. This function is not defined in Moodle, it is a PHP5 built-in function. Because of this dependency, I have wrapped any such call inside conditional blocks, so they will only run if you are running on a php5 server.
Hi, sorry, my fault.
Just to clarify a bit about the libxml_use_internal_errors() problem, I thought it was enough to check for extension_loaded('dom'), Nicolas patch looks ok and should be working fine, anyway... David, Dimitry, can you confirm if you are running any "dom" extension TIA and ciao |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||