milosbm Posted July 31, 2014 Share Posted July 31, 2014 When I import serbian localization file , all files in sr folder are empty (*.php) and i cannot change from english. sr.gzip file contain translation. Can someone help! Link to comment Share on other sites More sharing options...
vekia Posted August 1, 2014 Share Posted August 1, 2014 try to import this language pack: http://www.prestashop.com/download/lang_packs/gzip/1.6.0.9/sr.gzip btw. you're trying to import it from remote host? (in prestashop back office you can import it directly from prestashop host) ? perhaps you're trying with file that i mentioned? Link to comment Share on other sites More sharing options...
sorinsavin Posted August 6, 2014 Share Posted August 6, 2014 I cannot import Romanian localization pack from back office ! When I click on Import button the browser is not working and displays withe page ! Can you help me? Link to comment Share on other sites More sharing options...
vekia Posted August 7, 2014 Share Posted August 7, 2014 white page = errors please turn on error reporting and try to reproduce issue instead of white page you will see error log information please share it here Link to comment Share on other sites More sharing options...
sorinsavin Posted August 7, 2014 Share Posted August 7, 2014 (edited) Thanks! I've turned on from my webhosting dashboard/cpanel... This is the message :Warning: require_once(/home/wwwalcaauto/public_html/tools/tar/Archive_Tar.php): failed to open stream: No such file or directory in /home/wwwalcaauto/public_html/classes/Language.php on line 855Fatal error: require_once(): Failed opening required '/home/wwwalcaauto/public_html/tools/tar/Archive_Tar.php' (include_path='/home/wwwalcaauto/public_html/tools/htmlpurifier/standalone:.:/usr/lib/php:/usr/local/lib/php') in /home/wwwalcaauto/public_html/classes/Language.php on line 855 Edited August 7, 2014 by sorinsavin (see edit history) Link to comment Share on other sites More sharing options...
sorinsavin Posted August 7, 2014 Share Posted August 7, 2014 (edited) Thanks a lot! I've solved! The file .../public_html/tools/tar/Archive_Tar.php was missed ! I upload the Archive_Tar.php from PrestaShop 1.6.0.9 pack but didn't work! I have replaced 1.6.0.9 file with 1.5.6.2 Archive_Tar.php file version after and everything is runnig perfect! I uploaded Romanian language pack and Argentina language pack! It seems working perfect for every language! Thanks again! Edited August 7, 2014 by sorinsavin (see edit history) Link to comment Share on other sites More sharing options...
The Ge Posted August 12, 2014 Share Posted August 12, 2014 (edited) One of my clients had the same problem. In that case it appeared to be caused by the server security software. In /tools/tar/Archive_Tar.php at line 1679 (Prestashop 1.6.0.8 and 1.6.0.9) is a call to the symlink() function. For debugging I chopped more and more of the file content and I watched repeatedly while the just uploaded Archive_Tar.php file was being deleted. The minimum file content that caused the deletion was symlink( The solution was to alter the function call to avoid the offending string, i.e. from if (!@symlink($v_header['link'], $v_header['filename'])) { to if (!@call_user_func_array('symlink', array($v_header['link'], $v_header['filename']))) { in /tools/tar/Archive_Tar.php at line 1679. It seems to work, but - as always - make your backups before any change. And remember that upgrading will undo your modification. Edited August 12, 2014 by Gabi T (see edit history) 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