XML File won't load in Mappings area
11 years 10 months ago
Topic Author
XML File won't load in Mappings area #1
Antonio, can you tell me what to put in the blanks below the User Profile selection? Here is what I believe should be the correct information:
Form Path: /plugins/user/profile5/profiles/profile.xml
J1.6+ Profile plugin : profile5
When I try to open the Mappings tab, I get this error:
=============================
500 - An error has occurred.
XML file did not load
Return to Control Panel
=============================
I looked through j16profiles.php and I can't tell if it's the loadFile on line 248 that's failing or the simplexml_load_File that's failing. I've attached my plugin ZIP file, in case you can see anything obvious that is wrong or missing.
I am completely blocked until this is resolved.
Thanking you in advance,
Toolie
Form Path: /plugins/user/profile5/profiles/profile.xml
J1.6+ Profile plugin : profile5
When I try to open the Mappings tab, I get this error:
=============================
500 - An error has occurred.
XML file did not load
Return to Control Panel
=============================
I looked through j16profiles.php and I can't tell if it's the loadFile on line 248 that's failing or the simplexml_load_File that's failing. I've attached my plugin ZIP file, in case you can see anything obvious that is wrong or missing.
I am completely blocked until this is resolved.
Thanking you in advance,
Toolie
Please Log in or Create an account to join the conversation.
11 years 10 months ago
Topic Author
XML File won't load in Mappings area #2
OK, I have an update, Antonio.
Now I go on to mapping the fields; I need to create the Moodle fields next.
Toolie
- I took the same plugin code as above and replaced "profile5" with "profile" in all of the files.
- I then saved the original user profile plugin files and moved MY code into \plugins\user\profile folder where the default code would be.
- I took the profile5 path and profile key out of their respective text boxes on the Joomdle configuration page under Additional Data Sources, and saved the configuration.
- I then went to the Mappings tab, and my code loaded up as expected, now that it was sitting in the "default" location..
Now I go on to mapping the fields; I need to create the Moodle fields next.
Toolie
Please Log in or Create an account to join the conversation.
11 years 10 months ago
XML File won't load in Mappings area #3
Hi.
You need to put the complete route to the XML file. For example:
/var/www/j254/plugins/ldap/profile.xml
You need to put the complete route to the XML file. For example:
/var/www/j254/plugins/ldap/profile.xml
Please Log in or Create an account to join the conversation.
10 years 3 months ago
XML File won't load in Mappings area #4
Just in case someone else happens to stumble across this like I did, the default would be something like:
If you created a custom user profiles plugin it would look something like this:
/var/www/html/plugins/user/profile/profiles/profile.xml
If you created a custom user profiles plugin it would look something like this:
/var/www/html/plugins/user/profile5/profiles/profile.xml
Please Log in or Create an account to join the conversation.