Jump to content

Problema al loguear en el backoffice


Recommended Posts

Hola a todos. Estoy intentando entrar al BO de mi tienda y me da el error siguiente:

 

Warning: file_put_contents(/var/www/vhosts/decoracionespiral.com/httpdocs/config/xml/default_country_modules_list.xml): failed to open stream: Permission denied in /var/www/vhosts/decoracionespiral.com/httpdocs/classes/controller/AdminController.php on line 1543 Warning: file_get_contents(/var/www/vhosts/decoracionespiral.com/httpdocs/config/xml/default_country_modules_list.xml): failed to open stream: No such file or directory in /var/www/vhosts/decoracionespiral.com/httpdocs/classes/controller/AdminController.php on line 1545 Warning: file_put_contents(/var/www/vhosts/decoracionespiral.com/httpdocs/config/xml/tab_modules_list.xml): failed to open stream: Permission denied in /var/www/vhosts/decoracionespiral.com/httpdocs/classes/controller/AdminController.php on line 2973

 

 

He localizado el archivo AdminController.php y las lineas que dan error son estas:

 

file_put_contents(_PS_ROOT_DIR_.Module::CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST, Tools::addonsRequest('native'));

$country_module_list = file_get_contents(_PS_ROOT_DIR_.Module::CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST);

return (bool)file_put_contents(_PS_ROOT_DIR_.$file_to_refresh, $content);

 

No tengo mucha experiencia con prestashop, y la verdad es que no me atrevo a tocar nada sin saber, así que si alguien puede orientarme en cómo solucionarlo... ¡Gracias!

Link to comment
Share on other sites

  • 4 weeks later...

Ahora mismo, por ejemplo, no puedo añadir empleados, me sale el siguiente error y viene todo de lo mismo. No sé qué hacer...
 
 
Warning: file_put_contents(/var/www/vhosts/decoracionespiral.com/httpdocs/config/xml/default_country_modules_list.xml): failed to open stream: Permission denied in /var/www/vhosts/decoracionespiral.com/httpdocs/classes/controller/AdminController.php on line 1543 Warning: file_get_contents(/var/www/vhosts/decoracionespiral.com/httpdocs/config/xml/default_country_modules_list.xml): failed to open stream: No such file or directory in /var/www/vhosts/decoracionespiral.com/httpdocs/classes/controller/AdminController.php on line 1545 Warning: file_put_contents(/var/www/vhosts/decoracionespiral.com/httpdocs/config/xml/tab_modules_list.xml): failed to open stream: Permission denied in /var/www/vhosts/decoracionespiral.com/httpdocs/classes/controller/AdminController.php on line 2973 Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /var/www/vhosts/decoracionespiral.com/httpdocs/cache/smarty/compile/15/f2/6d/wrt52fa595be1aac8.57296278' in /var/www/vhosts/decoracionespiral.com/httpdocs/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /var/www/vhosts/decoracionespiral.com/httpdocs/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/var/www/vhosts...', '[/size]compileTemplateSource() #2 /var/www/vhosts/decoracionespiral.com/httpdocs/classes/helper/Helper.php(113): Smarty_Internal_TemplateBase->fetch() #3 /var/www/vhosts/decoracionespiral.com/httpdocs/classes/helper/HelperForm.php(168): HelperCore->generate() #4 /var/www/vhosts/decoracionespiral.com/httpdocs/classes/helper/HelperForm.php(63): HelperFormCore->generate() #5 /var/www/vho in /var/www/vhosts/decoracionespiral.com/httpdocs/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44[/size]

Link to comment
Share on other sites

  • 5 months later...
  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...