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

Fatal error: Cannot redeclare rssimport1() (previously declared in /path/to/ezpub420/cronjobs/rssimport.php:125) in /path/to/ezpub420/cronjobs/rssimport.php on line 146

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Low Low
    • Future
    • 4.2.0
    • Cronjobs
    • None
    • Operating System: Apache/2.2.3 (Debian) mod_tcl/1.0.1 DAV/2 SVN/1.4.2 PHP/5.2.8 mod_ssl/2.2.3 OpenSSL/0.9.8c
      PHP Version: 5.2.8
      Database and version: MySQL 5.0.45
      Browser (and version): IE8/Win 7

    Description

      The commandline for a cronjob is configured as follow:

      cd /path/to/ezpub420/; /usr/bin/php5 /path/to/ezpub420/runcronjobs.php > /home/log/cronjob_log 2>&1

      The logfile was generated (see attachment "logfile.txt").

      My questions: Runs the script twice?

      See in line 3 "Running cronjobs/rssimport.php"...
      and
      See in line 19 "Running cronjobs/rssimport.php".

      In line 21 comes the error
      Fatal error: Cannot redeclare rssimport1() (previously declared in /path/to/ezpub420/cronjobs/rssimport.php:125) in /path/to/ezpub420/cronjobs/rssimport.php on line 146:

      Attachments

        Activity

          People

            unknown unknown
            sven berend sven berend
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: