Hi,
I use a great peer evaluation program created by some grad students at
University of BC. Unfortunately, with the recession, the students /IT
people that created the program I use are no longer on the payroll and
I really need help resolving one small issue.

The name of the program I use is called Ipeer 2.0 and it can be found
at http://ipeer.apsc.ubc.ca/home/

This program was loaded directly to my website.

Anyway, this is the issue.

Students go in to Ipeer and grade each other on different projects we
do in class. I have always used the "simple" and "rubric" designs and
have never had any problems.  The other week I decided to use the Mix
Evaluation feature and all 144 students went in and filled out the
comments in the mix eval section.

However, when I try to release the comments and grades to the students
I get the following error message:


Notice: Undefined property: EvaluationsController::$EvaluationMixeval
in /home/huskinsp/public_html/ipeer-2.0.8.3/app/controllers/
evaluations_controller.php on line 979

Fatal error: Call to a member function setAllEventCommentRelease() on
a non-object in /home/huskinsp/public_html/ipeer-2.0.8.3/app/
controllers/evaluations_controller.php on line 979


Here is the referenced code: I added 979 in front of the 979 line

function changeAllCommentRelease ($param=null)
        {
          if ($this->rdAuth->role == 'S') {
            $this->redirect('home/index');
            exit();
          }
                $tok = strtok($param, ';');
    $eventId = $tok;
    $releaseStatus = strtok(';');
        $this->Event->setId($eventId);
                $event = $this->Event->read();

                switch ($event['Event']['event_template_type_id']) {
                  case 1://simple
                    $this->EvaluationSimple->setAllEventCommentRelease($eventId,
$releaseStatus);
                    break;
                  case 2://rubric
                  $this->EvaluationRubric->setAllEventCommentRelease($eventId,
$releaseStatus);
                    break;
                  case 4://mix
                979    
$this->EvaluationMixeval->setAllEventCommentRelease($eventId,
$releaseStatus);
                    break;
                  default:
                    break;
                }



ANY help would be appreciated.

Thanks,
Mary

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to