-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.0.3
-
None
-
PostgreSQL
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
w29_
MDL-28384_m22_nullurl -
-
$FULLME gets set to NULL in certain places in initialise_fullme() and initialise_fullme_cli()
// Probably some weird external script
$SCRIPT = $FULLSCRIPT = $FULLME = $ME = null; ...
if (strpos($topfile, $dirroot) !== 0) {
// Probably some weird external script
$SCRIPT = $FULLSCRIPT = $FULLME = $ME = null;
} else {
$relativefile = substr($topfile, strlen($dirroot));
$relativefile = str_replace('
', '/', $relativefile);
// Win fix
$SCRIPT = $FULLSCRIPT = $relativefile;
$FULLME = $ME = null;
}
This happens on forum cron when subscriptions send to bad email address etc.
Error: Insert into log table failed at Tuesday 19th of July 2011 03:06:11 PM.
It is possible that your disk is full. The failed query parameters are:
array ( 'time' => 1311044771, 'userid' => '551', 'course' => '1', 'ip' => '130.xxx.xxx.xxx', 'module' => 'library', 'cmid' => 0, 'action' => 'mailer', 'url' => NULL, 'info' => 'ERROR: SMTP Error: The following recipients failed: student549@127.0.0.1<p>SMTP server error: 5.1.3 Bad recipient address syntax </p> ', )
More:
SMTP Error: The following recipients failed: student549@127.0.0.1
ERROR: SMTP Error: The following recipients failed: student549@127.0.0.1<p>SMTP server error: 5.1.3 Bad recipient address syntax
</p>
++ Error: Could not insert a new entry to the Moodle log ++
- line 1700 of /lib/datalib.php: call to debugging()
- line 4772 of /lib/moodlelib.php: call to add_to_log()
- line 61 of /message/output/email/message_output_email.php: call to email_to_user()
- line 153 of /lib/messagelib.php: call to message_output_email->send_message()
- line 648 of /mod/forum/lib.php: call to message_send()
- line 87 of /lib/cronlib.php: call to forum_cron()
- line 79 of /admin/cron.php: call to cron_run()
++ Error calling message processor email ++ - line 154 of /lib/messagelib.php: call to debugging()
- line 648 of /mod/forum/lib.php: call to message_send()
- line 87 of /lib/cronlib.php: call to forum_cron()
- line 79 of /admin/cron.php: call to cron_run()