xandehenrique Posted November 23, 2015 Share Posted November 23, 2015 Olá,etou fazendo migração de servidor e estou me deparando com o seguinte erro: Warning: file_put_contents(/var/www/config/xml/default_country_modules_list.xml): failed to open stream: Permission denied in /var/www/classes/controller/AdminController.php on line 1545Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /var/www/cache/smarty/compile/ef/96/85/wrt565352bb033554.89622989' in /var/www/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /var/www/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/var/www/cache/...', '<?php /* Smarty...', Object(Smarty)) #1 /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /var/www/tools/smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #3 /var/www/cache/smarty/compile/c6/00/33/c60033cc6c0de5ff599cf1471db01b198d86ddf8.file.layout.tpl.php(36): Smarty_Internal_Template->getSubTemplate('header.tpl', NULL, NULL, NULL, NULL, Array, 0) #4 /var/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(180): content_56523f233285e4_93713234(Object(Smarty_Internal_Template)) #5 /var/www/tools/s in/var/www/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 O frontend tb não está abrindo,caso alguém saiba a solução,ficarei muito grato se compartilhassem. Link to comment Share on other sites More sharing options...
Daniel - PrestaBR Posted November 23, 2015 Share Posted November 23, 2015 Provavelmente seu host não possui permissões automáticas (suPHP/suExec) Verifique as permissões recomendadas em arquivos e pastas: http://doc.prestashop.com/display/PS16/Installing+PrestaShop Link to comment Share on other sites More sharing options...
xandehenrique Posted November 23, 2015 Author Share Posted November 23, 2015 Provavelmente seu host não possui permissões automáticas (suPHP/suExec) Verifique as permissões recomendadas em arquivos e pastas: http://doc.prestashop.com/display/PS16/Installing+PrestaShop O estranho é que antes do dns está direcionado para o ip do novo servidor,eu digitava o ip no navegador e direcionava para a loja online no servidor antigo,isto não é sinal de que a configuração estava correta? Link to comment Share on other sites More sharing options...
Daniel - PrestaBR Posted November 25, 2015 Share Posted November 25, 2015 Não.O DNS não tem nada a ver com a configuração do host. Recomendo a leitura: https://www.prestashop.com/forums/topic/236128-tutorial-servidor-configura%C3%A7%C3%A3o-m%C3%ADnima-para-prestashop/ https://www.prestashop.com/forums/topic/215803-dica-configura%C3%A7%C3%A3o-do-servidor-com-phpini-optimizado-para-prestashop/ 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