Beto Boissa Posted October 18, 2018 Share Posted October 18, 2018 (edited) Olá, Vejam se alguem pode me ajudar. O site Prestashop versão 1.5.5.0 da o erro fatal quando efetuo alguma operação dentro do painel de administração. Veja o erro que dá quando dou salvar Erro fatalFatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/home/fitax/public_html/cache/smarty/cache/blockadvertising/0/1/1/1/1/58/f6): failed to open dir: Permission denied' in /home/fitax/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php:180 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct('/home/fitax/pub...', 0) #1 /home/fitax/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(180): RecursiveDirectoryIterator->getChildren() #2 /home/fitax/public_html/tools/smarty/Smarty.class.php(777): Smarty_Internal_CacheResource_File->clear(Object(Smarty), '/home/fitax/pub...', NULL, NULL, NULL) #3 /home/fitax/public_html/classes/Tools.php(2242): Smarty->clearCache('/home/fitax/pub...', NULL, NULL) #4 /home/fitax/public_html/classes/module/Module.php(1711): ToolsCore::clearCache(Object(Smarty), '/home/fitax/pub...', NULL, NULL) #5 /home/fitax/public_html/modules/blocktopmenu/blocktopmenu.php(864): Modu in /home/fitax/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 180 Edited October 18, 2018 by Beto Boissa (see edit history) Link to comment Share on other sites More sharing options...
rzvngbrl Posted October 24, 2018 Share Posted October 24, 2018 chmod 755 the entire directory recursively chmod 755 /home/fitax/public_html/ -R Link to comment Share on other sites More sharing options...
Beto Boissa Posted October 24, 2018 Author Share Posted October 24, 2018 Obrigado pela dica. Realmente eram as permissões no servidor que estavam erradas e foram mudadas para 755. Agora está tudo certo. 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