• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • XF CLI Cron support

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: XF CLI Cron support

    • Issue Tools
      • View Changes
    1. issueid=5771 May 26, 2019 8:15 PM
      Daniel Nenni Daniel Nenni is offline
      New Member
      XF CLI Cron support

      If possible it would be nice to have compatibility with running XF cron jobs from CLI. https://xenforo.com/community/resour...b-runner.6478/

      I get the following error when using the plugin:

      Code:
      ErrorException: [E_NOTICE] Undefined index: SERVER_PORT src/addons/vw/vw/_hard/core.php:810
      Generated by: Unknown account May 27, 2019 at 1:11 AM
      Stack trace
      #0 src/addons/vw/vw/_hard/core.php(810): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/html/f...', 810, Array)
      #1 src/addons/vw/vw/_core/model/url/vw.php(242): vw_Hard_Core::get_url()
      #2 src/addons/vw/vw/_core/view/stylevar/vw.php(57): vw_URL_Model->relpath()
      #3 src/addons/vw/vw/_core/view/stylevar/xf2.php(48): vw_StyleVar_View->ready()
      #4 src/addons/vw/vw/Listener.php(410): vw_StyleVar_View_XF2->ready()
      #5 [internal function]: vw\vw\Listener::templater_template_pre_render(Object(XF\Mail\Templater), 'email', 'file_check_warn...', Array)
      #6 src/XF/Extension.php(35): call_user_func_array(Array, Array)
      #7 src/XF/App.php(2647): XF\Extension->fire('templater_templ...', Array, 'email:file_chec...')
      #8 src/XF/Template/Templater.php(1283): XF\App->fire('templater_templ...', Array, 'email:file_chec...')
      #9 src/XF/Mail/Mailer.php(155): XF\Template\Templater->renderTemplate('file_check_warn...', Array)
      #10 src/XF/Mail/Mail.php(319): XF\Mail\Mailer->renderMailTemplate('file_check_warn...', Array, Object(vw\vw\XF\Language), NULL)
      #11 src/XF/Mail/Mail.php(375): XF\Mail\Mail->renderTemplate()
      #12 src/XF/Mail/Mail.php(389): XF\Mail\Mail->getSendableMessage()
      #13 src/XF/Job/FileCheck.php(229): XF\Mail\Mail->send()
      #14 src/XF/Job/FileCheck.php(108): XF\Job\FileCheck->completeFileCheck(Object(XF\Entity\FileCheck), Array)
      #15 src/XF/Job/Manager.php(253): XF\Job\FileCheck->run(G)
      #16 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
      #17 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
      #18 src/addons/Hampel/JobRunner/Cli/Command/RunJobs.php(37): XF\Job\Manager->runQueue(false, 8)
      #19 src/vendor/symfony/console/Command/Command.php(255): Hampel\JobRunner\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #20 src/vendor/symfony/console/Application.php(960): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #21 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Hampel\JobRunner\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #22 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #23 src/XF/Cli/Runner.php(63): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #24 cmd.php(15): XF\Cli\Runner->run()
      #25 {main}
      Request state
      array(1) {
        ["cli"] => string(47) "/var/www/html/forum/cmd.php --quiet xf:run-jobs"
      }
    Issue Details
    Issue Number 5771
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category General
    Status Fixed
    Priority 7 - Minor Features / Enhancements
    Affected Version 4.1.0 Beta 1
    Fixed Version 4.1.0 Beta 1
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 27, 2019 1:46 PM
      pegasus pegasus is offline
      VaultWiki Team
      It looks like this 4.0.x branch fix (4.0.22) was not included in the 4.1.x branch, possibly due to the file having been renamed. Fixed in the next build.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 9:56 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.