Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15835

Running ezflow cronjob generates PHP errors

    XMLWordPrintable

Details

    Description

      Hi

      I tested ezflow, by creating articles and blocks. Unfortunately, I don't have the exact steps cause I did a lot back and forth.
      Anyway, I then I removed everything and created content from scratch:
      On frontpage I created a demoblock and a "2 items(Manual)" block.
      Create a folder News and a article below it
      Then I accessed full view fore the article and added it to the frontpage using the "Push to frontpage" button in toolbar
      Then I executed the ezflow cronjob, which now generates errors every time I run it:

      $ /usr/bin/php runcronjobs.php -s ezflow_site ezflow
      Using siteaccess ezflow_site for cronjob
      Running cronjob part 'ezflow'
      Running extension/ezflow/cronjobs/ezflowupdate.php
      Updating ezm_pool
      
      Warning: Invalid argument supplied for foreach() in /data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/extension/ezflow/classes/fetches/ezflowmcfetch.php on line 41
      
      Call Stack:
          0.0020     124024   1. {main}() /data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/runcronjobs.php:0
          0.1404    4569296   2. eZRunCronjobs::runScript() /data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/runcronjobs.php:350
          0.1469    4668272   3. include('/data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/extension/ezflow/cronjobs/ezflowupdate.php') /data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/kernel/classes/ezruncronjobs.php:74
          0.1495    4780036   4. eZFlowOperations::update() /data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/extension/ezflow/cronjobs/ezflowupdate.php:32
          0.1729    4964264   5. eZFlowOperations::updateBlockPoolByBlockID() /data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/extension/ezflow/classes/ezflowoperations.php:308
          0.1758    4983072   6. eZFlowMCFetch->fetch() /data/home/vl/work/QA/tests/cruisecontrol2/projects/ezp/source/.run/extension/ezflow/classes/ezflowoperations.php:94
      
      

      db is attached

      Attachments

        Activity

          People

            ls ls
            vl vl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: