Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16226

Cron Tasks are not running on some Apache Server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.0-RC1
    • 3.3.0-b2
    • Cron
    • None

       

      Cron Tasks are not executed if URL rewriting in ACP is enabled.

       

      The generated cron image links to non existing site and generate a http 404.

       

      Fatal error: Uncaught Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("cron_type") to generate a URL for route "phpbb_cron_run"...

       

      Error Log from Apache 2.4:

      Negotiation: discovered file(s) matching request: /path/to/phpbb33/cron (None could be negotiated).

       

       

      Solution:

      Add the following line into the .htaccess in the phpBB Forum root:

       

      Options -MultiViews
      

       

            Marc Marc
            Dr.Death Dr.Death
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: