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

Fatal error when accessing system info in admin panel tab

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 2015.01
    • Fix Version/s: QA tracked issues, 2015.01
    • Labels:
      None
    • Environment:

      Operating System: CentOS 7.0 x64
      PHP Version: 5.4.16
      Database and version: Mariadb 5.5
      Browser (and version): Firefox 35

      Description

      Hi,

      When accessing System inofmration on Admin panel, i have an error that refers

      An error has occurred
      Failed to load '/pjax/systeminfo' 
      

      On apache log i have

      [Wed Feb 18 15:41:18.636781 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP Fatal error:  Class 'ezcSystemInfo' not found in /var/www/html/ezpublish5/vendor/ezsystems/platform-ui-bundle/Helper/SystemInfoHelper.php on line 55, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.636836 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP Stack trace:, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.636933 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP   1. {main}() /var/www/html/ezpublish5/web/index.php:0, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.636956 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP   2. FOS\\HttpCacheBundle\\SymfonyCache\\EventDispatchingHttpCache->handle() /var/www/html/ezpublish5/web/index.php:81, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.636970 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP   3. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle() /var/www/html/ezpublish5/vendor/friendsofsymfony/http-cache-bundle/SymfonyCache/EventDispatchingHttpCache.php:101, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.636982 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP   4. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->lookup() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:211, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.636995 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP   5. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->fetch() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:347, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.637008 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP   6. Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:447, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.637021 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP   7. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.637050 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP   8. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:490, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.637063 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP   9. Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:2377, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.637074 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP  10. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3133, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.637085 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP  11. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:2984, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.637095 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP  12. call_user_func_array:{/var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3022}() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3022, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.637106 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP  13. EzSystems\\PlatformUIBundle\\Controller\\SystemInfoController->infoAction() /var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3022, referer: http://ezp5.paulo/shell
      [Wed Feb 18 15:41:18.637118 2015] [:error] [pid 12779] [client 192.168.2.38:61314] PHP  14. EzSystems\\PlatformUIBundle\\Helper\\SystemInfoHelper->getSystemInfo() /var/www/html/ezpublish5/vendor/ezsystems/platform-ui-bundle/Controller/SystemInfoController.php:45, referer: http://ezp5.paulo/shell
      

      On prod.log, the information is equivalent to the apache log

      [2015-02-18 15:48:44] app.NOTICE: Siteaccess not matched against configuration, returning default siteaccess. [] []
      [2015-02-18 15:48:44] request.INFO: Matched route "admin_systeminfo" (parameters: "_controller": "ezsystems.platformui.controller.systeminfo:infoAction", "_route": "admin_systeminfo") [] []
      [2015-02-18 15:48:44] security.DEBUG: Read SecurityContext from the session [] []
      [2015-02-18 15:48:44] security.DEBUG: Reloading user from user provider. [] []
      [2015-02-18 15:48:44] security.DEBUG: Username "admin" was reloaded from user provider. [] []
      [2015-02-18 15:48:44] php.EMERGENCY: Fatal Error: Class 'ezcSystemInfo' not found {"type":1,"file":"/var/www/html/ezpublish5/vendor/ezsystems/platform-ui-bundle/Helper/SystemInfoHelper.php","line":55,"level":22527,"stack":[{"function":"getSystemInfo","type":"->","class":"EzSystems\\PlatformUIBundle\\Helper\\SystemInfoHelper","file":"/var/www/html/ezpublish5/vendor/ezsystems/platform-ui-bundle/Controller/SystemInfoController.php","line":45,"args":[]},{"function":"infoAction","type":"->","class":"EzSystems\\PlatformUIBundle\\Controller\\SystemInfoController","file":"/var/www/html/ezpublish5/ezpublish/bootstrap.php.cache","line":3022,"args":[]},{"function":"call_user_func_array:{/var/www/html/ezpublish5/ezpublish/bootstrap.php.cache:3022}","file":"/var/www/html/ezpublish5/ezpublish/bootstrap.php.cache","line":3022,"args":[]},{"function":"handleRaw","type":"->","class":"Symfony\\Component\\HttpKernel\\HttpKernel","file":"/var/www/html/ezpublish5/ezpublish/bootstrap.php.cache","line":2984,"args":[]},{"function":"handle","type":"->","class":"Symfony\\Component\\HttpKernel\\HttpKernel","file":"/var/www/html/ezpublish5/ezpublish/bootstrap.php.cache","line":3133,"args":[]},{"function":"handle","type":"->","class":"Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel","file":"/var/www/html/ezpublish5/ezpublish/bootstrap.php.cache","line":2377,"args":[]},{"function":"handle","type":"->","class":"Symfony\\Component\\HttpKernel\\Kernel","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php","line":490,"args":[]},{"function":"forward","type":"->","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php","line":60,"args":[]},{"function":"forward","type":"->","class":"Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php","line":447,"args":[]},{"function":"fetch","type":"->","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php","line":347,"args":[]},{"function":"lookup","type":"->","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php","line":211,"args":[]},{"function":"handle","type":"->","class":"Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache","file":"/var/www/html/ezpublish5/vendor/friendsofsymfony/http-cache-bundle/SymfonyCache/EventDispatchingHttpCache.php","line":101,"args":[]},{"function":"handle","type":"->","class":"FOS\\HttpCacheBundle\\SymfonyCache\\EventDispatchingHttpCache","file":"/var/www/html/ezpublish5/web/index.php","line":81,"args":[]},{"function":"{main}","file":"/var/www/html/ezpublish5/web/index.php","line":0,"args":[]}]} []
      [2015-02-18 15:48:44] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: "Attempted to load class "ezcSystemInfo" from the global namespace. Did you forget a "use" statement?" at /var/www/html/ezpublish5/vendor/ezsystems/platform-ui-bundle/Helper/SystemInfoHelper.php line 55 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\ClassNotFoundException(code: 0): Attempted to load class \"ezcSystemInfo\" from the global namespace.\nDid you forget a \"use\" statement? at /var/www/html/ezpublish5/vendor/ezsystems/platform-ui-bundle/Helper/SystemInfoHelper.php:55)"} []
      [2015-02-18 15:48:44] security.DEBUG: Write SecurityContext in the session [] []
      

        Issue Links

          Activity

          Paulo Nunes (Inactive) created issue -
          Paulo Nunes (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] Confirmed [ 10037 ]
          Paulo Nunes (Inactive) made changes -
          Link This issue blocks EZP-23917 [ EZP-23917 ]
          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          It's a missing dependency on zetacomponents/system-information.
          Quick fix is to add it in main composer.json.

          Show
          Jérôme Vieilledent (Inactive) added a comment - It's a missing dependency on zetacomponents/system-information . Quick fix is to add it in main composer.json.
          Jérôme Vieilledent (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Show
          Jérôme Vieilledent (Inactive) added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/175
          Jérôme Vieilledent (Inactive) made changes -
          Remote Link This issue links to "PR (Web Link)" [ 14915 ]
          Hide
          Paulo Nunes (Inactive) added a comment -

          The fix above seems to solve the reported fatal error.

          Show
          Paulo Nunes (Inactive) added a comment - The fix above seems to solve the reported fatal error.
          Jérôme Vieilledent (Inactive) made changes -
          Status Development Review [ 10006 ] Development Review done [ 10028 ]
          Fix Version/s 2015.01 [ 13680 ]
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/PlatformUIBundle/pull/175
          Jérôme Vieilledent (Inactive) made changes -
          Status Development Review done [ 10028 ] Documentation Review done [ 10011 ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ] Paulo Nunes [ paulo.nunes@ez.no ]
          Paulo Nunes (Inactive) made changes -
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 66236 ] EZ* Development Workflow [ 85722 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 85722 ] EZEE Development Workflow [ 124607 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          9s 1 Paulo Nunes 18/Feb/15 4:51 PM
          Confirmed Confirmed InputQ InputQ
          17h 22m 1 jerome.vieilledent@ez.no 19/Feb/15 10:14 AM
          InputQ InputQ Development Development
          4s 1 jerome.vieilledent@ez.no 19/Feb/15 10:14 AM
          Development Development Development Review Development Review
          4m 56s 1 jerome.vieilledent@ez.no 19/Feb/15 10:19 AM
          Development Review Development Review Development Review done Development Review done
          1d 4h 49m 1 jerome.vieilledent@ez.no 20/Feb/15 3:08 PM
          Development Review done Development Review done Documentation Review done Documentation Review done
          20s 1 jerome.vieilledent@ez.no 20/Feb/15 3:08 PM
          Documentation Review done Documentation Review done QA QA
          5m 33s 1 Paulo Nunes 20/Feb/15 3:14 PM
          QA QA Closed Closed
          1h 3m 1 Paulo Nunes 20/Feb/15 4:17 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: