imagopublicidad Posted January 16, 2014 Share Posted January 16, 2014 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 More sharing options...
SNBNigel Posted January 16, 2014 Share Posted January 16, 2014 Incredible a good deal of excellent information! yahoomail.fr Link to comment Share on other sites More sharing options...
arihadne Posted February 11, 2014 Share Posted February 11, 2014 A nosotros nos ocurre lo mismo, nos aparece el mismo error. ¿Lo pudiste solucionar? Muchas gracias ! Link to comment Share on other sites More sharing options...
imagopublicidad Posted February 11, 2014 Author Share Posted February 11, 2014 (edited) Hola arihadne, no he podido hacer nada. Un día después pude entrar en el BO, pero los errores siguen apareciendo de vez en cuando... Espero que alguien pueda decirnos algo. Saludos! Edited February 11, 2014 by imagopublicidad (see edit history) Link to comment Share on other sites More sharing options...
imagopublicidad Posted February 11, 2014 Author Share Posted February 11, 2014 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 More sharing options...
gfidalgo Posted July 13, 2014 Share Posted July 13, 2014 Esto lo habéis conseguido solucionar? Link to comment Share on other sites More sharing options...
Recommended Posts