Hi i have phped for 14 days to try and work through thisproblem with moodle
Warning: Missing argument 1 for error() in C:\Inetpub\wwwroot\moodle\lib\weblib.php on line 1048
the argument is $message here is the code
function
error ($message, $link="") {global$CFG, $SESSION;
print_header(get_string("error"));
echo"<BR>";
print_simple_box($message, "center", "", "#FFBBBB");
if (!$link) {
if ( !empty($SESSION->fromurl) ) {
$link = "$SESSION->fromurl";
unset($SESSION->fromurl);
save_session("SESSION");
} else {
$link = "$CFG->wwwroot";
}
}
print_continue($link);
print_footer();
die;
}
martin if you see this what do you think is happening here
' + inobj[objprop] + '\n');
}
op.document.close();
}
function fillmessagebox(text) {
document.form.message.value = text;
}
function openpopup(url,name,height,width) {
fullurl = "http://192.168.1.3/moodle" + url;
options = "menubar=0,location=0,scrollbars,resizable,width="+width+",height="+height;
windowobj = window.open(fullurl,name, options);
windowobj.focus();
}
function copyrichtext(textname) {
textname.value = document.richedit.docHtml;
return true;
}
// done hiding -->