Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16286

In 3.3.0-RC1 if ../cache is not writeable, it throws a not very friendly error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 3.3.0-RC1
    • None
    • None
    • XAMPP for OSX php7.2.1

      If the ../cache folder is not writeable (755 in this case), an attempt to install by browsing to the phpBB folder throws the error below.  I think a nicer error message, like "Check to make sure the cache directory is writeable" would be better.

      Fatal error:  Uncaught 
      ProxyManager\Exception\InvalidProxyDirectoryException: Provided 
      directory "../cache/installer/" does not exist in 
      /Applications/XAMPP/xamppfiles/htdocs/phpBB330rc1/vendor/ocramius/proxy-manager/src/ProxyManager/Exception/InvalidProxyDirectoryException.php:35
      Stack trace:
      #0 
      /Applications/XAMPP/xamppfiles/htdocs/phpBB330rc1/vendor/ocramius/proxy-manager/src/ProxyManager/FileLocator/FileLocator.php(48):
       
      ProxyManager\Exception\InvalidProxyDirectoryException::proxyDirectoryNotFound('../cache/instal...')
      #1 
      /Applications/XAMPP/xamppfiles/htdocs/phpBB330rc1/vendor/ocramius/proxy-manager/src/ProxyManager/Configuration.php(96):
       
      ProxyManager\FileLocator\FileLocator->__construct('../cache/instal...')
      #2 
      /Applications/XAMPP/xamppfiles/htdocs/phpBB330rc1/vendor/ocramius/proxy-manager/src/ProxyManager/Factory/AbstractBaseFactory.php(129):
       ProxyManager\Configuration->getProxyAutoloader()
      #3 
      /Applications/XAMPP/xamppfiles/htdocs/phpBB330rc1/vendor/ocramius/proxy-manager/src/ProxyManager/Factory/AbstractBaseFactory.
       in /Applications/XAMPP/xamppfiles/htdocs/phpBB330rc1/vendor/ocramius/proxy-manager/src/ProxyManager/Exception/InvalidProxyDirectoryException.php on line 35

       

       

       

            Unassigned Unassigned
            stevemaury stevemaury
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: