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

PHP Fatal error: Failed opening required ezpkernelredirect.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.1, 5.2
    • Fix Version/s: Customer request
    • Component/s: Misc
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Enable PHP error log;
      2. On a clean, fully pached eZ Publish 5.2 installation, login to admin siteaccess;
      3. The following error is generated in the PHp error log:

      [02-Sep-2014 16:04:32 UTC] PHP Fatal error:  require(): Failed opening required '/var/www/52ezdemo.com/ezpublish_legacy/kernel/private/classes/ezpkernelredirect.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/52ezdemo.com/ezpublish_legacy/autoload.php on line 126
      

      Note: despite the PHP error, login works as expected.

      Full PHP error log output:

      [02-Sep-2014 16:04:32 UTC] PHP Warning:  require(/var/www/52ezdemo.com/ezpublish_legacy/kernel/private/classes/ezpkernelredirect.php): failed to open stream: No such file or directory in /var/www/52ezdemo.com/ezpublish_legacy/autoload.php on line 126
      [02-Sep-2014 16:04:32 UTC] PHP Stack trace:
      [02-Sep-2014 16:04:32 UTC] PHP   1. {main}() /var/www/52ezdemo.com/web/index.php:0
      [02-Sep-2014 16:04:32 UTC] PHP   2. eZ\Bundle\EzPublishCoreBundle\HttpCache->handle() /var/www/52ezdemo.com/web/index.php:64
      [02-Sep-2014 16:04:32 UTC] PHP   3. Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() /var/www/52ezdemo.com/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:36
      [02-Sep-2014 16:04:32 UTC] PHP   4. Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:194
      [02-Sep-2014 16:04:32 UTC] PHP   5. Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:330
      [02-Sep-2014 16:04:32 UTC] PHP   6. Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:430
      [02-Sep-2014 16:04:32 UTC] PHP   7. Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60
      [02-Sep-2014 16:04:32 UTC] PHP   8. eZ\Bundle\EzPublishCoreBundle\Kernel->handle() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:473
      [02-Sep-2014 16:04:32 UTC] PHP   9. Symfony\Component\HttpKernel\Kernel->handle() /var/www/52ezdemo.com/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php:62
      [02-Sep-2014 16:04:32 UTC] PHP  10. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:2249
      [02-Sep-2014 16:04:32 UTC] PHP  11. Symfony\Component\HttpKernel\HttpKernel->handle() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:2947
      [02-Sep-2014 16:04:32 UTC] PHP  12. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:2818
      [02-Sep-2014 16:04:32 UTC] PHP  13. call_user_func_array() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:2844
      [02-Sep-2014 16:04:32 UTC] PHP  14. eZ\Bundle\EzPublishLegacyBundle\Controller\LegacyKernelController->indexAction() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:0
      [02-Sep-2014 16:04:32 UTC] PHP  15. eZ\Publish\Core\MVC\Legacy\Kernel->run() /var/www/52ezdemo.com/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php:111
      [02-Sep-2014 16:04:32 UTC] PHP  16. ezpKernel->run() /var/www/52ezdemo.com/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:117
      [02-Sep-2014 16:04:32 UTC] PHP  17. ezpKernelWeb->run() /var/www/52ezdemo.com/ezpublish_legacy/kernel/private/classes/ezpkernel.php:53
      [02-Sep-2014 16:04:32 UTC] PHP  18. ezpKernelWeb->redirect() /var/www/52ezdemo.com/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:357
      [02-Sep-2014 16:04:32 UTC] PHP  19. eZHTTPTool::redirect() /var/www/52ezdemo.com/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:1001
      [02-Sep-2014 16:04:32 UTC] PHP  20. ezpAutoloader::autoload() /var/www/52ezdemo.com/ezpublish_legacy/autoload.php:0
      [02-Sep-2014 16:04:32 UTC] PHP Fatal error:  require(): Failed opening required '/var/www/52ezdemo.com/ezpublish_legacy/kernel/private/classes/ezpkernelredirect.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/52ezdemo.com/ezpublish_legacy/autoload.php on line 126
      [02-Sep-2014 16:04:32 UTC] PHP Stack trace:
      [02-Sep-2014 16:04:32 UTC] PHP   1. {main}() /var/www/52ezdemo.com/web/index.php:0
      [02-Sep-2014 16:04:32 UTC] PHP   2. eZ\Bundle\EzPublishCoreBundle\HttpCache->handle() /var/www/52ezdemo.com/web/index.php:64
      [02-Sep-2014 16:04:32 UTC] PHP   3. Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() /var/www/52ezdemo.com/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:36
      [02-Sep-2014 16:04:32 UTC] PHP   4. Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:194
      [02-Sep-2014 16:04:32 UTC] PHP   5. Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:330
      [02-Sep-2014 16:04:32 UTC] PHP   6. Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:430
      [02-Sep-2014 16:04:32 UTC] PHP   7. Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60
      [02-Sep-2014 16:04:32 UTC] PHP   8. eZ\Bundle\EzPublishCoreBundle\Kernel->handle() /var/www/52ezdemo.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:473
      [02-Sep-2014 16:04:32 UTC] PHP   9. Symfony\Component\HttpKernel\Kernel->handle() /var/www/52ezdemo.com/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php:62
      [02-Sep-2014 16:04:32 UTC] PHP  10. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:2249
      [02-Sep-2014 16:04:32 UTC] PHP  11. Symfony\Component\HttpKernel\HttpKernel->handle() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:2947
      [02-Sep-2014 16:04:32 UTC] PHP  12. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:2818
      [02-Sep-2014 16:04:32 UTC] PHP  13. call_user_func_array() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:2844
      [02-Sep-2014 16:04:32 UTC] PHP  14. eZ\Bundle\EzPublishLegacyBundle\Controller\LegacyKernelController->indexAction() /var/www/52ezdemo.com/ezpublish/bootstrap.php.cache:0
      [02-Sep-2014 16:04:32 UTC] PHP  15. eZ\Publish\Core\MVC\Legacy\Kernel->run() /var/www/52ezdemo.com/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacyKernelController.php:111
      [02-Sep-2014 16:04:32 UTC] PHP  16. ezpKernel->run() /var/www/52ezdemo.com/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:117
      [02-Sep-2014 16:04:32 UTC] PHP  17. ezpKernelWeb->run() /var/www/52ezdemo.com/ezpublish_legacy/kernel/private/classes/ezpkernel.php:53
      [02-Sep-2014 16:04:32 UTC] PHP  18. ezpKernelWeb->redirect() /var/www/52ezdemo.com/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:357
      [02-Sep-2014 16:04:32 UTC] PHP  19. eZHTTPTool::redirect() /var/www/52ezdemo.com/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:1001
      [02-Sep-2014 16:04:32 UTC] PHP  20. ezpAutoloader::autoload() /var/www/52ezdemo.com/ezpublish_legacy/autoload.php:0
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 6 hours, 51 minutes
                  4d 6h 51m