My team and I are currently working on developing a new feature for the Gibbon school management system, specifically aimed at enhancing the admissions process.
This feature, named “Admissions Test,” includes functionalities for managing admissions tests and their associated questions.
#Feature Overview:
- Admissions Tests Management:
- Ability to create, edit, and delete admissions tests.
- Fields include test name, description, active status, and file upload allowance.
- Admissions Test Questions Management:
- Ability to add, edit, and delete questions for each admissions test.
- Fields include question text, type (Multiple Choice, True/False, Short Answer), grade level, section, and question order.
Database Tables:
We have created two new tables in the database:
gibbonAdmissionTest
gibbonAdmissionTestQuestion
These tables are linked with a foreign key relationship to manage the test questions associated with each admissions test.
Issue:
Despite successfully creating the necessary tables and implementing the required code files, we have encountered an issue with granting permissions to system administrators to use this new feature. The permissions for managing admissions tests and their questions are not appearing in the roles and permissions interface.
Error Message:
When attempting to access the feature, we receive the following error message:
Warning: require_once(../../[gibbon.php](http://gibbon.php/)): Failed to open stream: No such file or directory in modules/admissionTests/[admissionTests_manage.php](http://admissiontests_manage.php/) on line 34
Uncaught Exception: Error - Failed opening required '../../[gibbon.php](http://gibbon.php/)' (include_path='.:/opt/alt/php83/usr/share/pear:/opt/alt/php83/usr/share/php:/usr/share/pear:/usr/share/php')
Line 34 in modules/admissionTests/[admissionTests_manage.php](http://admissiontests_manage.php/)
Line 87 in src/View/[View.php](http://view.php/)
Line 478 in src/View/[Page.php](http://page.php/)
Line 722 in [index.php](http://index.php/)
Actions Taken:
- Added Tables: Created
gibbonAdmissionTest
andgibbonAdmissionTestQuestion
tables with the necessary schema. - Implemented Code Files: Developed the necessary PHP files for managing admissions tests and their questions.
- Manifest File: Updated the
[manifest.php](http://manifest.php/)
file to include the new permissions. - Permissions Insert: Executed SQL queries to insert the new permissions into the
gibbonAction
table.
Request:
We would greatly appreciate your guidance on resolving the following issues:
- Ensuring that the permissions for managing admissions tests and questions appear correctly in the roles and permissions interface.
- Correcting the file inclusion error to ensure the proper functionality of the feature.
Thank you for your time and support.
We look forward to your valuable input to help us successfully integrate this new feature into the Gibbon system.
Best regards,
Bachar AlMohammad AlKhalaf
AY TeamLeader
+963-947075410
Ugarit Virtual School