Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6681

problem with forum cron job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE

      Description

      The cron job doesn't work while sending mails correct. Mails are not sent.

      This is the report line in a manual started cron job:

      Processing module function forum_cron ...<div class="notifysuccess" align="center">Erfolg</div><br />
      Bearbeite Beitrag 4<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html dir="ltr" lang="de" xml:lang="de">
      <head>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
      <link rel="stylesheet" type="text/css" href="http://17.moodle.de/theme/standard/styles.php" />
      <link rel="stylesheet" type="text/css" href="http://17.moodle.de/theme/formal_white/styles.php" />

      <meta name="keywords" content="moodle, Error " />
      <title>Error</title>
      <link rel="shortcut icon" href="http://17.moodle.de/theme/formal_white/favicon.ico" />
      <!--<style type="text/css">/<![CDATA[/ body

      {behavior:url(http://17.moodle.de/lib/csshover.htc);}

      /]]>/</style>-->

      <script language="JavaScript" type="text/javascript" src="http://17.moodle.de/lib/javascript-static.js"></script>
      <script language="JavaScript" type="text/javascript" src="http://17.moodle.de/lib/javascript-mod.php"></script>
      <script language="JavaScript" type="text/javascript" src="http://17.moodle.de/lib/overlib.js"></script>
      <script language="JavaScript" type="text/javascript" src="http://17.moodle.de/lib/cookies.js"></script>

      <script language="JavaScript" type="text/javascript" defer="defer">

      <!-- // Non-Static Javascript functions

      setTimeout('fix_column_widths()', 20);

      function openpopup(url,name,options,fullscreen) {
      fullurl = "http://17.moodle.de" + url;
      windowobj = window.open(fullurl,name,options);
      if (fullscreen)

      { windowobj.moveTo(0,0); windowobj.resizeTo(screen.availWidth,screen.availHeight); }

      windowobj.focus();
      return false;
      }

      function uncheckall() {
      void(d=document);
      void(el=d.getElementsByTagName('INPUT'));
      for(i=0;i<el.length;i++)
      void(el[i].checked=0)
      }

      function checkall() {
      void(d=document);
      void(el=d.getElementsByTagName('INPUT'));
      for(i=0;i<el.length;i++)
      void(el[i].checked=1)
      }

      function inserttext(text) {
      text = ' ' + text + ' ';
      if ( opener.document.forms['theform'].message.createTextRange && opener.document.forms['theform'].message.caretPos)

      { var caretPos = opener.document.forms['theform'].message.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text; }

      else

      { opener.document.forms['theform'].message.value += text; }

      opener.document.forms['theform'].message.focus();
      }

      // done hiding -->
      </script>
      </head>

      <body class=" course-1" id="cron">

      <div id="page">

      <!-- END OF HEADER -->
      <div id="content"><br /><table class="errorbox" border="0" cellpadding="" cellspacing="0"><tr><td class="errorboxcontent">Could not get the forum id for the discussion the post belongs to</td></tr></table><div class="continuebutton"><div class="singlebutton"><form action="http://17.moodle.de/" method="post" target="_top"><input type="submit" value="Continue" /></form></div></div>

      </div> <!-- end div containerContent -->
      <!-- START OF FOOTER -->
      <div id="footer">

      <p class="helplink"><a href="http://docs.moodle.org/en/cron"><img src="http://17.moodle.de/pix/docs.gif" alt="Docs" />Moodle Docs for this page</a></p>

      <hr size="1" noshade="noshade" />
      <div align="center">
      <div class="logininfo">You are logged in as <a target="_top" href="http://17.moodle.de/user/view.php?id=2&course=1">Ralf Hilgenstock</a> (<a target="_top" href="http://17.moodle.de/login/logout.php">Logout</a>)</div><div class="homelink"><a target="_top" href="http://17.moodle.de/">Home</a></div></div>

      </div>
      </div>
      </body>
      </html>

        Attachments

          Activity

            People

            Assignee:
            vyshane Vy-Shane Sin Fat
            Reporter:
            ralfh Ralf Hilgenstock
            Tester:
            Skip Marshall
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              7/Nov/06