How to fix the logic error “...”: Difference between revisions

From Lifeguide Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Errors in the authoring tool will show in the '''Problems''' area at the bottom of the screen. It is best practice to fix errors as they appear as further errors in your intervention may not appear until the errors shown have been fixed. In addition, your intervention may not function correctly when previewing and testing.
===Cannot find the page named 'register'===
===Cannot find the page named 'register'===
Check the page exists by looking through the page list in the '''Project Explorer''' toolbar. If the page does not exist, create the page and the error should disappear.


Check that you are showing the page in the logic file. If not, add the logic: '''<code> show register </code>''' in the appropriate place.
- Check the page exists by looking through the page list in the '''Project Explorer''' toolbar. If the page does not exist, create the page and the error should disappear.
 
- Check that you are showing the page in the logic file. If not, add the logic: '''<code> show register </code>''' in the appropriate place.
 
 
===Line 0 errors===
 
- These errors usually indicate a mistake in your logic. This may be due to:
 
*A function being incorrectly name or a capital letter being used instead of a lowercase letter

Revision as of 10:44, 3 August 2015

Errors in the authoring tool will show in the Problems area at the bottom of the screen. It is best practice to fix errors as they appear as further errors in your intervention may not appear until the errors shown have been fixed. In addition, your intervention may not function correctly when previewing and testing.

Cannot find the page named 'register'

- Check the page exists by looking through the page list in the Project Explorer toolbar. If the page does not exist, create the page and the error should disappear.

- Check that you are showing the page in the logic file. If not, add the logic: show register in the appropriate place.


Line 0 errors

- These errors usually indicate a mistake in your logic. This may be due to:

  • A function being incorrectly name or a capital letter being used instead of a lowercase letter