Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14710

Bug in update routine 3.2.0-RC1 - wrong tmp path

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.2.0-RC1
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      PHP Version 5.5.8, MySQL(i) 5.5.35-MariaDB

      Description

      I´ve tried to update 3.1.8 to 3.2.0RC1. I run into an error:

      [phpBB debug] "realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/ladyscommunity/www:/users/_temp/ladyscommunity)" in file /users/ladyscommunity/www/320/bbupd/vendor/ocramius/proxy-manager/src/ProxyManager/FileLocator/FileLocator.php on line 43
      Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/users/ladyscommunity/www:/users/_temp/ladyscommunity) in /users/ladyscommunity/www/320/bbupd/vendor/ocramius/proxy-manager/src/ProxyManager/FileLocator/FileLocator.php on line 43

      Fatal error: Uncaught exception 'ProxyManager\Exception\InvalidProxyDirectoryException' with message 'Provided directory "/tmp" does not exist' in /users/ladyscommunity/www/320/bbupd/vendor/ocramius/proxy-manager/src/ProxyManager/Exception/InvalidProxyDirectoryException.php:38 Stack trace: #0 /users/ladyscommunity/www/320/bbupd/vendor/ocramius/proxy-manager/src/ProxyManager/FileLocator/FileLocator.php(46): ProxyManager\Exception\InvalidProxyDirectoryException::proxyDirectoryNotFound('/tmp') #1 /users/ladyscommunity/www/320/bbupd/vendor/ocramius/proxy-manager/src/ProxyManager/Configuration.php(119): ProxyManager\FileLocator\FileLocator->__construct('/tmp') #2 /users/ladyscommunity/www/320/bbupd/vendor/ocramius/proxy-manager/src/ProxyManager/Factory/AbstractBaseFactory.php(110): ProxyManager\Configuration->getProxyAutoloader() #3 /users/ladyscommunity/www/320/bbupd/vendor/ocramius/proxy-manager/src/ProxyManager/Factory/AbstractBaseFactory.php(76): ProxyManager\Factory\AbstractBaseFactory->generateProxyClass('ProxyManagerGen...', 'phpbb\template\...', Array) #4 /users/ladyscommunity/www/320/bbupd/vendor/ocramius/proxy-manager/src/ProxyManager/Factory/AbstractLazyFactory.php(42): ProxyManager\Factory\AbstractBaseFactory->generateProxy('phpbb\template\...') #5 /users/ladyscommunity/www/320/bbupd/vendor/symfony/proxy-manager-bridge/LazyProxy/Instantiator/RuntimeInstantiator.php(56): ProxyManager\Factory\AbstractLazyFactory->createProxy('phpbb\template\...', Object(Closure)) #6 /users/ladyscommunity/www/320/bbupd/vendor/symfony/dependency-injection/ContainerBuilder.php(884): Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator->instantiateProxy(Object(Symfony\Component\DependencyInjection\ContainerBuilder), Object(Symfony\Component\DependencyInjection\Definition), 'template.twig.l...', Object(Closure)) #7 /users/ladyscommunity/www/320/bbupd/vendor/symfony/dependency-injection/ContainerBuilder.php(475): Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(Symfony\Component\DependencyInjection in /users/ladyscommunity/www/320/bbupd/vendor/ocramius/proxy-manager/src/ProxyManager/Exception/InvalidProxyDirectoryException.php on line 38

      phpinfo:

      open_basedir
      /users/ladyscommunity/www:/users/_temp/ladyscommunity

      upload_tmp_dir
      /users/_temp/ladyscommunity

      see thread on phpbb.com

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Marc Marc
                Reporter:
                Scanialady Scanialady
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: