Jump to content

Recommended Posts

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 1545

Fatal 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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More