[email protected] Posted August 3, 2017 Share Posted August 3, 2017 Hi, I am trying to install PrestaShop 7.1 in CentOS 7 platform. I am getting the below error, I have already provided permission 777 to the folders. Can anyone help me to fix this issue. Warning: rename(/var/www/html/prestashop/app/cache/dev/class_index.php): failed to open stream: Permission denied in /var/www/html/prestashop/classes/PrestaShopAutoload.php on line 254Warning: rename(/tmp/class_index.phpvCmeFr,/var/www/html/prestashop/app/cache/dev/class_index.php): Permission denied in /var/www/html/prestashop/classes/PrestaShopAutoload.php on line 254Warning: rename(/var/www/html/prestashop/app/cache/dev/class_stub.php): failed to open stream: Permission denied in /var/www/html/prestashop/classes/PrestaShopAutoload.php on line 254Warning: rename(/tmp/class_stub.phpMTe8gX,/var/www/html/prestashop/app/cache/dev/class_stub.php): Permission denied in /var/www/html/prestashop/classes/PrestaShopAutoload.php on line 254Warning: rename(/var/www/html/prestashop/app/cache/dev/namespaced_class_stub.php): failed to open stream: Permission denied in /var/www/html/prestashop/classes/PrestaShopAutoload.php on line 254Warning: rename(/tmp/namespaced_class_stub.phpqZV7Ss,/var/www/html/prestashop/app/cache/dev/namespaced_class_stub.php): Permission denied in /var/www/html/prestashop/classes/PrestaShopAutoload.php on line 254Fatal error: Uncaught exception 'Symfony\Component\Filesystem\Exception\IOException' with message 'Unable to write to the "/var/www/html/prestashop/app/cache/dev" directory.' in /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:550 Stack trace: #0 /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php(114): Symfony\Component\Filesystem\Filesystem->dumpFile('/var/www/html/p...', '<?php\n\nuse Symf...', NULL) #1 /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(369): Symfony\Component\Config\ResourceCheckerConfigCache->write('<?php\n\nuse Symf...', Array) #2 /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(329): Symfony\Component\Translation\Translator->dumpCatalogue('en-US', Object(Symfony\Component\Config\ConfigCache)) #3 [internal function]: Symfony\Component\Translation\Translator->Symfony\Component\Translation\{closure}(Object(S in /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php on line 550 Link to comment Share on other sites More sharing options...
Scully Posted August 8, 2017 Share Posted August 8, 2017 How did you run the installation process, more detailled how did you extract the files on your server? Normally it's not required to change permission - at least this is my experience. Can you post the outpot from this command: ls -l var/www/html/prestashop/app/cache/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now