tczaude Posted August 22, 2012 Share Posted August 22, 2012 If i translate Prestashop and i translate some modules and i stay in place becouse i recive blank white screen only i apache in debug i see this [Wed Aug 22 13:44:51 2012] [error] [client 87.105.115.92] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Permission denied in /var/customers/webs/Termokontrol/demo/tools/smarty/sysplugins/smarty_internal_template.php on line 182, referer: http://demo.termokontrol.com/admin12345/index.php [Wed Aug 22 13:49:02 2012] [error] [client 87.105.115.92] PHP Notice: Undefined index: in /var/customers/webs/Termokontrol/demo/controllers/admin/AdminTranslationsController.php on line 1171 [Wed Aug 22 13:49:02 2012] [error] [client 87.105.115.92] PHP Notice: Undefined index: in /var/customers/webs/Termokontrol/demo/controllers/admin/AdminTranslationsController.php on line 214 [PrestaShopException] Cannot write to the theme's language file (/var/customers/webs/Termokontrol/demo/modules/bankwire/pl.php). Please check write permissions. at line 647 in file controllers/admin/AdminTranslationsController.php 641. $str_write = ''; 642. $cache_file[$theme_name.'-'.$file_name] = true; 643. if (!Tools::file_exists_cache($file_name)) 644. file_put_contents($file_name, ''); 645. if (!is_writable($file_name)) 646. throw new PrestaShopException(sprintf( 647. Tools::displayError('Cannot write to the theme\'s language file (%s). Please check write permissions.'), 648. $file_name 649. )); 650. 651. // this string is initialized one time for a file AdminTranslationsControllerCore->findAndWriteTranslationsIntoFile - [line 1183 - controllers/admin/AdminTranslationsController.php] - [5 Arguments] AdminTranslationsControllerCore->postProcess - [line 197 - tools/profiling/Controller.php] - [0 Argument] Controller->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 43 - admin12345/index.php] - [0 Argument] Permisions for file i set on 777 pl.php i don't have idea whats wrong Another modules traslations was save Link to comment Share on other sites More sharing options...
Nick Fedchik Posted August 22, 2012 Share Posted August 22, 2012 (edited) Check also the permisiions and ownership of all folders deep down from installation root folder (demo/ in yor case). use # chown -R apache:apache * # chmod -R +wX * from demo/ folder P.S.: it's not a translation error, but permission error Edited August 22, 2012 by Nick Fedchik (see edit history) Link to comment Share on other sites More sharing options...
tczaude Posted August 23, 2012 Author Share Posted August 23, 2012 Hi I don't know whats heppend but i reset VPS make fsck and all is worked now :/ Best Regards Link to comment Share on other sites More sharing options...
Recommended Posts