Friday, October 14, 2011

Some error with Moodle

PHP Parse error:  syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/content/90/2379690/html/moodle/question/engine/lib.php on line 338


Resolve:



#############EDIT THIS############


public static function get_behaviour_required_behaviours($behaviour) {


        $class = 'qbehaviour_' . $behaviour;


        return $class::get_required_behaviours();


    }


##############INTO THIS###########


public static function get_behaviour_required_behaviours($behaviour) {


        $class = 'qbehaviour_' . $behaviour;


        eval('$ret = ' . $class . '::get_required_behaviours();');


        return $ret;






#####################################################################
"Unsupported redirect detected script execution terminated" usually in upload Profile Picture.


Resolve:


Log in
Save Profile details
Edit Profile and upload Picture

No comments:

Post a Comment