History: Troubleshooting Profiles

Preview of version: 6

If you are having a problem with a profile published here (and categorized as being at least "alpha", try Troubleshooting Existing Profiles.

Troubleshooting New Profiles

Should you find your new profile does not do what you want it to then here are some things to check.

If it does nothing

Check the declaration of the CODE plugin is exactly like this:
{CODE(caption=>YAML)} [your YAML goes in here] {CODE}

Note: there must not be quotes around YAML and the ">" after the "=" is required.

If you get a "Profile cannot be parsed" (or whatever it says - TODO check) or blank page (sometimes)

Indentation matters and it has to be consistent in a "code block" Check the indentation carefully and compare yours with working profiles. It has to be very precise. It actually doesn't matter the amount of spaces (can be 1 space, 2 or 10) but each "level" has to be indented with the same amount of spaces.


Applying some YAML on the fly

Sometimes, you just want to test that a particular section of the YAML is working, without having to go through the whole profile installation routine again.

A useful tool for doing that is the Profile_Tester profile. If you install that profile on your test site, then in the Admin > Profile page, you will see at the bottom a text field where you can copy and paste some YAML.

Use with care, and only on tests sites!

History

Information Version
Tue 14 of Feb, 2023 06:07 GMT-0000 Marc Laporte Profile tester 9
Fri 09 of Apr, 2010 05:28 GMT-0000 idealpragmatist doh! 8
Thu 08 of Apr, 2010 16:31 GMT-0000 idealpragmatist 7
Fri 02 of Apr, 2010 15:01 GMT-0000 idealpragmatist Need different page for existing profiles (the doesn't work for me) 6
Wed 10 of Mar, 2010 04:00 GMT-0000 luciash d' being 🧙 categorize as documentation 5
Tue 20 of Oct, 2009 15:32 GMT-0000 alain_desilets 4
Wed 10 of Jun, 2009 10:17 GMT-0000 luciash d' being 🧙 3
Tue 19 of May, 2009 14:46 GMT-0000 Jonny Bradley 2
Tue 19 of May, 2009 14:44 GMT-0000 Jonny Bradley 1