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

Error when ezcontentstaging tables do not exists on target server

    XMLWordPrintable

Details

    Description

      Hi

      After enabling the ezcontentstaging extension on the target server, you'll get errors like this in ezdebug:

      Error: eZMySQLiDB	Apr 16 2012 16:18:14
      Query error (1146): Table 'ezp2.ezcontentstaging_event' doesn't exist. Query: SELECT object_id
                          FROM   ezcontentstaging_event GROUP BY object_id
      LIMIT 0, 20
      Error: PHP: E_USER_ERROR	Apr 16 2012 16:18:14
      mysqli_query(): Query error (1146): Table 'ezp2.ezcontentstaging_event' doesn't exist. Query: SELECT object_id
                          FROM   ezcontentstaging_event GROUP BY object_id
      LIMIT 0, 20 in /var/www/apache2php53/ezp/.run2/lib/ezdb/classes/ezmysqlidb.php on line 419
      Notice: eZMySQLiDB::query(0.000 ms) query number per page:0	Apr 16 2012 16:18:14
      SELECT object_id
                          FROM   ezcontentstaging_event GROUP BY object_id
      LIMIT 0, 20 
      Warning: PHP: E_WARNING	Apr 16 2012 16:18:14
      Invalid argument supplied for foreach() in /var/www/apache2php53/ezp/.run2/extension/ezcontentstaging/classes/ezcontentstagingevent.php on line 363
      

      The installation guide (ezcontentstaging/INSTALL) claims that the tables only need to be created on the Source server, but they are needed on Target server as well.....

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: