Skip to the content.

← Back to Table of Contents

Appendices

This section contains additional reference information to help developers working with the Kingdom Management Portal.

A. Troubleshooting

Common issues encountered during development and deployment, with their solutions.

Database Connection Issues

Issue: Unable to connect to the database
Solution:

Issue: Migration fails with foreign key errors
Solution:

Authentication Problems

Issue: Unable to log in despite correct credentials
Solution:

Issue: Unexpected “Access Denied” messages
Solution:

Performance Issues

Issue: Slow page loads
Solution:

Issue: High memory usage
Solution:

Common Error Messages

Error: “SQLSTATE[HY000] [2002] Connection refused”
Solution: Database server is not running or is not accessible at the configured host/port

Error: “Error: An Internal Error Has Occurred”
Solution: Enable debug mode to see detailed error information, check logs for details

Error: “Class ‘App\Plugin\MyPlugin...’ not found”
Solution: Verify plugin namespace and class names match directory structure, ensure plugin is properly loaded

B. Glossary

Terms specific to KMP and the SCA to help new developers understand the domain.

Term Definition
Active Window A time period during which an entity (like a warrant) is considered active, defined by start and end dates
Branch A geographic unit of the SCA organization (Kingdom, Principality, Barony, etc.)
Member An individual user of the system
Office An official position within the SCA that can be held by members
Warrant Official documentation that a member holds a specific office
Warrant Roster A collection of warrants for a specific branch and time period

C. Resources

Additional resources and references for KMP developers.

CakePHP Documentation

PHP Resources

JavaScript Resources

Tools and Libraries