Jump to content

EXAMCenter Beta 1.0


simpilot

Recommended Posts

Alright, just went through and re-uploaded all the files and still I am getting the same error.

EDIT: I do have access to everything else except for the Exam Admin Panel itself. I can view the list of Administrators, but can't change the status of any pilots as I get the error listed above.

Edited by bradym55
Link to comment
Share on other sites

  • 3 months later...
  • 7 months later...
  • 3 months later...
  • 2 months later...

Hello,

phpvms 5.5.2 version, i download with plugin manager and when i type the link exams I have this errors;

Strict Standards: Non-static method ExamsData::get_setting_info() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/a/core/modules/Exams/Exams.php on line 20

Strict Standards: Non-static method ExamsData::get_setting_info() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/a/core/modules/Exams/Exams.php on line 27

Strict Standards: Non-static method ExamsData::get_exams() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/a/core/modules/Exams/Exams.php on line 29

Notice: The template file "/home/pilotomeraslan/public_html/a/core/templates/exams/exam_list.php" doesn't exist in /home/pilotomeraslan/public_html/a/core/classes/TemplateSet.class.php on line 231

when i type Exams_admin

Strict Standards: Non-static method ExamsData::check_admin() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/a/core/modules/Exams_admin/Exams_admin.php on line 14

Notice: The template file "/home/pilotomeraslan/public_html/a/core/templates/exams/frontpage_main.php" doesn't exist in /home/pilotomeraslan/public_html/a/core/classes/TemplateSet.class.php on line 231

Link to comment
Share on other sites

  • 6 months later...

Hello,

phpvms 5.5.2 version, i download with plugin manager and when i type the link exams I have this errors;

Strict Standards: Non-static method ExamsData::get_setting_info() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/a/core/modules/Exams/Exams.php on line 20

Strict Standards: Non-static method ExamsData::get_setting_info() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/a/core/modules/Exams/Exams.php on line 27

Strict Standards: Non-static method ExamsData::get_exams() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/a/core/modules/Exams/Exams.php on line 29

Notice: The template file "/home/pilotomeraslan/public_html/a/core/templates/exams/exam_list.php" doesn't exist in /home/pilotomeraslan/public_html/a/core/classes/TemplateSet.class.php on line 231

when i type Exams_admin

Strict Standards: Non-static method ExamsData::check_admin() should not be called statically, assuming $this from incompatible context in /home/pilotomeraslan/public_html/a/core/modules/Exams_admin/Exams_admin.php on line 14

Notice: The template file "/home/pilotomeraslan/public_html/a/core/templates/exams/frontpage_main.php" doesn't exist in /home/pilotomeraslan/public_html/a/core/classes/TemplateSet.class.php on line 231

open core/common/ExamsData.class.php

FIND (ALL INSTANCES)

public function

REPLACE WITH (ALL INSTANCES)

public static function

**PLEASE NOTE**

I am not sure this is the correct fix. It worked for me but at what cost? Please use your own discretion before using.

Edited by TAV1702
Link to comment
Share on other sites

  • 1 month later...
On 30/10/2016 at 5:38 PM, TAV1702 said:

open core/common/ExamsData.class.php

FIND (ALL INSTANCES)

 


public function
 

 

REPLACE WITH (ALL INSTANCES)

 


public static function
 

 

**PLEASE NOTE**

I am not sure this is the correct fix. It worked for me but at what cost? Please use your own discretion before using.

Perfect dude! That works for me. Thank you for  share that solution!

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 3 years later...

Icrewlıte style EXAMcenter test buttons are not visible. What can I do to make it look. The icrew system supports the following style, how do I add these codes to the examcenter buttons.

ICREW RADIO BUTTON STILL

<input name="group1" type="radio" id="radio_2" />
                                <label for="radio_2">Radio - 2</label>

 

EXAMCENTER BUTTON CODE

<form name="myform" action="<?php echo SITE_URL ?>/index.php/Exams/grade_exam" method="POST">
        <table cellpadding="15px">
            <?php
            echo '<tr><td colspan="2"><h2>'.$title->exam_description.'</h2></td></tr>';
            $count = 0;
            foreach ($questions as $question) {
                $count++;
                echo '<tr><td align="left" width="15%">Question #'.$count.'</td>';
                echo '<td align="left"><b>'.$question->question.'</b><br />';
                echo '<input type="radio" name="question'.$count.'" value="1">'.$question->answer_1.'<br>';
                echo '<input type="radio" name="question'.$count.'" value="2">'.$question->answer_2.'<br>';
                echo '<input type="radio" name="question'.$count.'" value="3">'.$question->answer_3.'<br>';
                echo '<input type="radio" name="question'.$count.'" value="4">'.$question->answer_4.'';
                echo '<input type="hidden" name="question_id'.$count.'" value="'.$question->id.'" />';
                echo '<input type="hidden" name="question_counter" value="'.$count.'" />';
                echo '</td></tr>';

            }
            ?>

 

Edited by GKT001
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...