Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5
-
Fix Version/s: 3.5
-
Component/s: Administration, Database SQL/XMLDB, Installation
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_35_STABLE
-
Fixed Branches:MOODLE_35_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-61766-master -
Pull Master Diff URL:
Description
To reproduce:
- Rename the admin folder.
- Perform the install process. (You'll need to specify the new admin folder in one of the install pages).
- Expected: The installation will successfully complete.
- Actual: The install fails with the following errors:
XML database file errors found
More information about this error
It is usually not possible to recover from errors triggered during installation, you may need to create a new database or use a different database prefix if you want to retry the installation.
�Debug info: Errors found in XMLDB file: PATH attribute does not match file directory: administration/tool/cohortroles/db
Error code: ddlxmlfileerror
�Stack trace:
line 352 of /lib/ddl/database_manager.php: ddl_exception thrown
line 368 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
line 590 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
line 1850 of /lib/upgradelib.php: call to upgrade_plugins()
line 694 of /administration/index.php: call to upgrade_noncore()