Error: The action js is not defined in controller ExamsController
Error: Create ExamsController::js() in file: app/Controller/ExamsController.php.
<?php class ExamsController extends AppController { public function js() { } }
Notice: If you want to customize this error message, create app/View/Errors/missing_action.ctp
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'exams', 'action' => 'js', 'named' => array(), 'pass' => array( (int) 0 => 'front-end', (int) 1 => 'bootstrap.min.js' ), 'models' => array( 'Admin' => array( [maximum depth reached] ), 'Setting' => array( [maximum depth reached] ), 'ExaminationType' => array( [maximum depth reached] ), 'ExaminationCategory' => array( [maximum depth reached] ), 'SchoolInformation' => array( [maximum depth reached] ), 'School' => array( [maximum depth reached] ), 'Student' => array( [maximum depth reached] ), 'StudentClass' => array( [maximum depth reached] ), 'StudentParent' => array( [maximum depth reached] ), 'ExamSection' => array( [maximum depth reached] ), 'EmailTemplate' => array( [maximum depth reached] ), 'MyExamStudentAnswer' => array( [maximum depth reached] ), 'Answer' => array( [maximum depth reached] ), 'StudentAnswer' => array( [maximum depth reached] ), 'Email' => array( [maximum depth reached] ), 'EmailDelivery' => array( [maximum depth reached] ), 'FromEmail' => array( [maximum depth reached] ), 'SchoolTeacher' => array( [maximum depth reached] ), 'ExamQuestion' => array( [maximum depth reached] ), 'StudentExamData' => array( [maximum depth reached] ), 'Smsq' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'exams/js/front-end/bootstrap.min.js' base => '' webroot => '/' here => '/exams/js/front-end/bootstrap.min.js' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(ExamsController) { name => 'Exams' uses => array( (int) 0 => 'Student', (int) 1 => 'ContentManagement', (int) 2 => 'EmailTemplate', (int) 3 => 'Examination', (int) 4 => 'ExaminationCategory', (int) 5 => 'SiteVideo', (int) 6 => 'PracticeCourseCategory', (int) 7 => 'ExamQuestion', (int) 8 => 'ExamAnswer', (int) 9 => 'StudentExamData', (int) 10 => 'StudentExamAnswer', (int) 11 => 'QuestionLevel', (int) 12 => 'NewQuestion', (int) 13 => 'NewAnswer', (int) 14 => 'Admin', (int) 15 => 'Setting', (int) 16 => 'ExaminationType', (int) 17 => 'SchoolInformation', (int) 18 => 'School', (int) 19 => 'StudentClass', (int) 20 => 'StudentParent', (int) 21 => 'ExamSection', (int) 22 => 'MyExamStudentAnswer', (int) 23 => 'Answer', (int) 24 => 'StudentAnswer', (int) 25 => 'Email', (int) 26 => 'EmailDelivery', (int) 27 => 'FromEmail', (int) 28 => 'SchoolTeacher', (int) 29 => 'Smsq' ) components => array( 'Session' => null, 'UserConfiguration' => null, 'FilterSchools' => null, 'Cookie' => null ) settingData => array() helpers => array() request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'exams/js/front-end/bootstrap.min.js' base => '' webroot => '/' here => '/exams/js/front-end/bootstrap.min.js' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Exams' layoutPath => null viewVars => array( 'schoolData' => array(), 'lastLoginSchool' => null, 'studentDetails' => array(), 'lastLoginStudent' => null, 'lastLoginParent' => null, 'parentDetails' => array(), 'examSections' => array( (int) 1 => 'Reading booklet questions', (int) 2 => 'Language Conventions', (int) 3 => 'Writing Leaflet', (int) 4 => 'Normal' ), 'yearGroupOptionPractice' => array( (int) 42 => 'Year 3', (int) 43 => 'Year 5', (int) 38 => 'Year 7', (int) 39 => 'Year 9' ), 'classOptions' => array( (int) 1 => 'Year 3', (int) 2 => 'Year 5', (int) 3 => 'Year 7', (int) 4 => 'Year 9' ), 'title_for_layout' => 'Learner Leader Online: Exams - Js' ) view => 'js' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ExamsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => 'front-end', (int) 1 => 'bootstrap.min.js' ) scaffold => false methods => array( (int) 1 => 'updateQ', (int) 2 => 'logout', (int) 3 => 'login', (int) 4 => 'categories', (int) 5 => 'questions', (int) 6 => 'select_exam_cat', (int) 7 => 'post_select_exam_cat', (int) 8 => 'store_exam_data', (int) 9 => 'result', (int) 10 => 'cms', (int) 11 => 'about_us', (int) 12 => 'generate_questions', (int) 13 => 'result_reports', (int) 14 => 'export_result', (int) 15 => 'process_reports', (int) 16 => 'send_report_via_mail', (int) 17 => 'mul_fraction', (int) 18 => 'testpage', (int) 19 => 'subscription_plans', (int) 20 => 'restrictAccessToOutsiders', (int) 21 => 'getAdminValue', (int) 22 => 'payment_success', (int) 23 => 'payment_notify', (int) 24 => 'payment_cancle', (int) 25 => '_randomPassword', (int) 26 => '_getSettingsData', (int) 27 => '_getRandomPath', (int) 28 => 'uploadEditorImageFiles', (int) 29 => 'sendPasswordResetEmail', (int) 30 => 'setExaminationTypesTree', (int) 31 => 'getExaminationTypesTree', (int) 32 => 'setPracticeCourseCategoryTree', (int) 33 => 'setExaminationCategoriesTree', (int) 34 => 'getExaminationCategoriesTree', (int) 35 => 'buildTree', (int) 36 => 'getSchoolFilterOptions', (int) 37 => 'data_encrypt', (int) 38 => 'data_decrypt', (int) 39 => 'PPHttpPost', (int) 40 => 'sendWelcomeEmail', (int) 41 => 'sendVerificationEmail', (int) 42 => 'sendVerificationParentEmail', (int) 43 => 'sendVerificationEmail_Z', (int) 44 => 'sendCustomMailToSchool', (int) 45 => 'get_custom_fetch_student_rank', (int) 46 => 'getCustomRank', (int) 47 => 'getStudentForCalNonCal', (int) 48 => 'fetch_student_total_correct_answer_xy', (int) 49 => 'updateSchoolAndClassRanks', (int) 50 => 'sendApi', (int) 51 => 'getAllFns', (int) 52 => 'storeTransaction', (int) 53 => 'getRandomValue', (int) 54 => 'saveStudentExamAnswer', (int) 55 => 'sendCustomMailWithAttachementsMailer', (int) 56 => 'sendCustomMailWithAttachements', (int) 57 => 'sendCustomMailWithAttachements_bak_18072023', (int) 58 => 'smtp', (int) 59 => 'sendCustomMailWithAttachements_bak_14062022', (int) 60 => 'getNewsletterSubscribersFilterOptions', (int) 61 => 'generateCustomVals', (int) 62 => 'generateCustomEmail', (int) 63 => 'generateCustomUsername', (int) 64 => 'generateCustomEmailFromName', (int) 65 => 'logIt', (int) 66 => 'getStatusOfAttemptedQuestion', (int) 67 => 'fetchTotalListStudentByExamCat', (int) 68 => 'fetchStudentTotalCorrectAnswers', (int) 69 => 'fetchStudentTotalCorrectAnswers_old', (int) 70 => 'fetchTotalListStudent', (int) 71 => 'remAllDomainCookies', (int) 72 => 'remAllExamCookies', (int) 73 => 'getStudentListAppearedInExam', (int) 74 => 'addEmailRecord', (int) 75 => 'sendCustomMail', (int) 76 => 'getMSgReadContentMail', (int) 77 => 'isArrayHasEmptyElmnt', (int) 78 => 'checkQuestionStatus', (int) 79 => 'getSchoolTeacherCodes', (int) 80 => 'getAccessIpInfo', (int) 81 => 'getExamTeacherName', (int) 82 => 'sanitizeStrForAns', (int) 83 => 'strHasSpace', (int) 84 => 'getYearSixDetailBySchool', (int) 85 => 'getEvaluationOfAttemptedQuestion', (int) 86 => 'gcd', (int) 87 => 'lowest', (int) 88 => 'getUserIp', (int) 89 => 'zipFilesAndDownload', (int) 90 => 'getValidStrNameForSys', (int) 91 => 'generateUnm', (int) 92 => 'generateOtp', (int) 93 => 'sanitizePhone', (int) 94 => 'sendSmsByTwillio', (int) 95 => 'sendSms', (int) 96 => 'verifySentSms' ) modelClass => 'Student' modelKey => 'exam' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } UserConfiguration => object(UserConfigurationComponent) { components => array( [maximum depth reached] ) controller => object(ExamsController) {} settings => array([maximum depth reached]) Session => object(SessionComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } FilterSchools => object(FilterSchoolsComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi' httpOnly => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _values => array( [maximum depth reached] ) [protected] _type => 'cipher' [protected] _reset => null [protected] _expires => (int) 0 [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } StudentClass => object(AppModel) { useDbConfig => 'default' useTable => 'student_classes' id => false data => array([maximum depth reached]) schemaName => 'leanerle_ader_cakedb_1346' table => 'student_classes' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'StudentClass' alias => 'StudentClass' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } ExaminationCategory => object(ExaminationCategory) { name => 'ExaminationCategory' belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'examination_categories' id => false data => array([maximum depth reached]) schemaName => 'leanerle_ader_cakedb_1346' table => 'examination_categories' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'ExaminationCategory' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } School => object(School) { name => 'School' hasOne => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'schools' id => false data => array([maximum depth reached]) schemaName => 'leanerle_ader_cakedb_1346' table => 'schools' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'School' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) SchoolInformation => object(SchoolInformation) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Student => object(Student) { name => 'Student' belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'students' id => false data => array([maximum depth reached]) schemaName => 'leanerle_ader_cakedb_1346' table => 'students' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Student' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) StudentClass => object(AppModel) {} ExaminationCategory => object(ExaminationCategory) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } StudentParent => object(StudentParent) { name => 'StudentParent' hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'student_parents' id => false data => array([maximum depth reached]) schemaName => 'leanerle_ader_cakedb_1346' table => 'student_parents' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'StudentParent' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Student => object(Student) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } ExamSection => object(AppModel) { useDbConfig => 'default' useTable => 'exam_sections' id => false data => array([maximum depth reached]) schemaName => 'leanerle_ader_cakedb_1346' table => 'exam_sections' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'ExamSection' alias => 'ExamSection' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } commonUtilities => object(CommonUtilitiesHelper) { helpers => array( [maximum depth reached] ) fields => array([maximum depth reached]) requestType => null defaultModel => null validationErrors => array([maximum depth reached]) settings => array([maximum depth reached]) theme => null request => object(CakeRequest) {} plugin => null fieldset => array([maximum depth reached]) tags => array([maximum depth reached]) [protected] _options => array( [maximum depth reached] ) [protected] _inputDefaults => array([maximum depth reached]) [protected] _unlockedFields => array([maximum depth reached]) [protected] _models => array([maximum depth reached]) [protected] _domIdSuffixes => array([maximum depth reached]) [protected] _lastAction => '' [protected] _helperMap => array( [maximum depth reached] ) [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(View) {} [protected] _fieldSuffixes => array( [maximum depth reached] ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( [maximum depth reached] ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'exams', 'action' => 'js', 'named' => array(), 'pass' => array( (int) 0 => 'front-end', (int) 1 => 'bootstrap.min.js' ), 'models' => array( 'Admin' => array( [maximum depth reached] ), 'Setting' => array( [maximum depth reached] ), 'ExaminationType' => array( [maximum depth reached] ), 'ExaminationCategory' => array( [maximum depth reached] ), 'SchoolInformation' => array( [maximum depth reached] ), 'School' => array( [maximum depth reached] ), 'Student' => array( [maximum depth reached] ), 'StudentClass' => array( [maximum depth reached] ), 'StudentParent' => array( [maximum depth reached] ), 'ExamSection' => array( [maximum depth reached] ), 'EmailTemplate' => array( [maximum depth reached] ), 'MyExamStudentAnswer' => array( [maximum depth reached] ), 'Answer' => array( [maximum depth reached] ), 'StudentAnswer' => array( [maximum depth reached] ), 'Email' => array( [maximum depth reached] ), 'EmailDelivery' => array( [maximum depth reached] ), 'FromEmail' => array( [maximum depth reached] ), 'SchoolTeacher' => array( [maximum depth reached] ), 'ExamQuestion' => array( [maximum depth reached] ), 'StudentExamData' => array( [maximum depth reached] ), 'Smsq' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'exams/js/front-end/bootstrap.min.js' base => '' webroot => '/' here => '/exams/js/front-end/bootstrap.min.js' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'exams', 'action' => 'js', 'named' => array(), 'pass' => array( (int) 0 => 'front-end', (int) 1 => 'bootstrap.min.js' ), 'models' => array( 'Admin' => array( [maximum depth reached] ), 'Setting' => array( [maximum depth reached] ), 'ExaminationType' => array( [maximum depth reached] ), 'ExaminationCategory' => array( [maximum depth reached] ), 'SchoolInformation' => array( [maximum depth reached] ), 'School' => array( [maximum depth reached] ), 'Student' => array( [maximum depth reached] ), 'StudentClass' => array( [maximum depth reached] ), 'StudentParent' => array( [maximum depth reached] ), 'ExamSection' => array( [maximum depth reached] ), 'EmailTemplate' => array( [maximum depth reached] ), 'MyExamStudentAnswer' => array( [maximum depth reached] ), 'Answer' => array( [maximum depth reached] ), 'StudentAnswer' => array( [maximum depth reached] ), 'Email' => array( [maximum depth reached] ), 'EmailDelivery' => array( [maximum depth reached] ), 'FromEmail' => array( [maximum depth reached] ), 'SchoolTeacher' => array( [maximum depth reached] ), 'ExamQuestion' => array( [maximum depth reached] ), 'StudentExamData' => array( [maximum depth reached] ), 'Smsq' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'exams/js/front-end/bootstrap.min.js' base => '' webroot => '/' here => '/exams/js/front-end/bootstrap.min.js' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'psd' => array( (int) 0 => 'application/photoshop', (int) 1 => 'application/psd', (int) 2 => 'image/psd', (int) 3 => 'image/x-photoshop', (int) 4 => 'image/photoshop', (int) 5 => 'zz-application/zz-winassoc-psd' ), 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass', 'ajax' => 'text/html' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }