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

Error after installation ("Could not find 'Content' with identifier 'array ( 'id' => 57)

    Details

      Description

      After installation sometimes, you encounter the following message :

      TwigBundle:Exception:error404.html.twig
      The backend is working properly.

      And then, you switch to "prod" view, and you have :

      Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Could not find 'Content' with identifier 'array ( 'id' => 57, 'languages' => array ( 0 => 'ger-DE', ), 'versionNo' => 1, )'" at /var/www/ez5/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php line 129
      

      More info on: http://share.ez.no/forums/ez-publish-5-platform/error-after-installation

      I think it's because I have selected the Spanish Language at the beginning, and when the system ask me for English contents included in ezdemo package (with contents), I have selected "create language" ... but my public site access use the Spanish language, so, maybe, contents are not available in Spanish...

      When dealing with content in the wizard, if you chose a different language than english, please select "map to my language"

        Activity

        Hide
        André Rømcke added a comment -

        Suggested fix: Pre select "map language" in setup wizard to avoid this issue.

        Extra fix would be to make the error handling a bit more user friendly (see separate issue(s) in backlog).

        Show
        André Rømcke added a comment - Suggested fix: Pre select "map language" in setup wizard to avoid this issue. Extra fix would be to make the error handling a bit more user friendly (see separate issue(s) in backlog).
        Show
        André Rømcke added a comment - PR: https://github.com/ezsystems/ezpublish-legacy/pull/940
        Show
        André Rømcke added a comment - Merged in: https://github.com/ezsystems/ezpublish-legacy/commit/2d63bd21213201226de1bcf17dcd8d65c1041a92
        Hide
        André Rømcke added a comment -

        Additional fix to add notice on the installation page about the effect of selecting something else then map to primary language proposed:
        https://github.com/ezsystems/ezpublish-legacy/pull/943

        Show
        André Rømcke added a comment - Additional fix to add notice on the installation page about the effect of selecting something else then map to primary language proposed: https://github.com/ezsystems/ezpublish-legacy/pull/943
        Show
        André Rømcke added a comment - Merged yesterday in https://github.com/ezsystems/ezpublish-legacy/commit/68c8707474c583d0d8161adf352e9847945587c0
        Hide
        Eduardo Fernandes (Inactive) added a comment -

        QA Approved

        Show
        Eduardo Fernandes (Inactive) added a comment - QA Approved

          People

          • Assignee:
            Unassigned
            Reporter:
            Sarah Haïm-Lubczanski (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: