laurapessoa Posted March 20, 2014 Share Posted March 20, 2014 (edited) Hi, I have upgrade to 1.6., I get this error any time I try to install or to reset a module. Any ideas? Fatal error: require_once() [function.require]: Failed opening required '/home/bwhdwfzj/public_html/tools/tar/Archive_Tar.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/bwhdwfzj/public_html/classes/Language.php on line 933[PrestaShop] Fatal error in module Language:require_once() [function.require]: Failed opening required '/home/bwhdwfzj/public_html/tools/tar/Archive_Tar.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') Thank you very much in advance. Edited March 20, 2014 by laurapessoa (see edit history) Link to comment Share on other sites More sharing options...
prestashopninja Posted March 20, 2014 Share Posted March 20, 2014 Hi, It seems Archive_Tar.php file isn't there or file permissions are not correct. Please open /home/bwhdwfzj/public_html/tools/tar/ directory via FTP and check if Archive_Tar.php is there. If not, upload it. If so, change the file permissions to 755. 1 Link to comment Share on other sites More sharing options...
laurapessoa Posted March 20, 2014 Author Share Posted March 20, 2014 Thank you for your reply. You are right, there wasn't the Archive:Tar.php inside the /tools/tar/ directory. I have copied it from the Prestashop 1.6 files but it still have the error: Fatal error: require_once() [function.require]: Failed opening required '/home/bwhdwfzj/public_html/tools/tar/Archive_Tar.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/bwhdwfzj/public_html/classes/Language.php on line 933[PrestaShop] Fatal error in module Language:require_once() [function.require]: Failed opening required '/home/bwhdwfzj/public_html/tools/tar/Archive_Tar.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') Permissions are set in 755 for archives and 644 for files. Link to comment Share on other sites More sharing options...
prestashopninja Posted March 20, 2014 Share Posted March 20, 2014 This still seems to be a permissions problem. Please change Archive_Tar.php to 777 and see what happens. Link to comment Share on other sites More sharing options...
laurapessoa Posted March 20, 2014 Author Share Posted March 20, 2014 I don't know it can helps, but when I try to open the Archive_Tar.php with Filezilla I get this: Comando: RETR Archive_Tar.php Risposta: 550 Can't open Archive_Tar.php: No such file or directory Errore: Errore critico trasferimento file I will try to upload another file. Link to comment Share on other sites More sharing options...
laurapessoa Posted March 20, 2014 Author Share Posted March 20, 2014 This still seems to be a permissions problem. Please change Archive_Tar.php to 777 and see what happens. Unfortunatly not worked. This is weird. Comando: SITE CHMOD 777 Archive_Tar.php Risposta: 550 Could not change perms on Archive_Tar.php: No such file or directory Link to comment Share on other sites More sharing options...
prestashopninja Posted March 20, 2014 Share Posted March 20, 2014 The file cannot be uploaded for some reason. Please open the file locally and verify the file integrity. Then check if you can upload any other file via FTP, into the same directoryand make sure that the ftp user has the permissions to write files there. I'm pretty sure you'll sort it out with a few simple tests. 1 Link to comment Share on other sites More sharing options...
laurapessoa Posted March 20, 2014 Author Share Posted March 20, 2014 Impossible to upload the Archive_Tar.php file. All the time it was cancelled automatically, and it wasn't possible to open it or change its permissions. I have solved uploading the ArchiveTar.php file from the PS 1.5.6.2 version. Maybe the new one is corrupted or I don't know. But now it works. Thank you very much to prestashopninja for drive me to the right way. :-D Link to comment Share on other sites More sharing options...
piyushrkc Posted September 23, 2014 Share Posted September 23, 2014 Hi friends, I am new on Prestashop. I just updated prestashop and now getting error [PrestaShop] Fatal error in module Api:syntax error, unexpected T_FUNCTION, expecting ')' Please guide me !! Thanks ! Link to comment Share on other sites More sharing options...
brianken65 Posted January 17, 2015 Share Posted January 17, 2015 (edited) Hello to All, I was simply installing my modules being new and Got the error below when i try access the modules section otther areas work. [PrestaShop] Fatal error in module Api:syntax error, unexpected T_FUNCTION, expecting ')' Do i re upload the Archive_Tar.php Thanks Edited January 17, 2015 by brianken65 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 17, 2015 Share Posted January 17, 2015 you have to use ftp connection or other files manager tool go to /modules/ directory and REMOVE youstice module 1 Link to comment Share on other sites More sharing options...
brianken65 Posted January 19, 2015 Share Posted January 19, 2015 you have to use ftp connection or other files manager tool go to /modules/ directory and REMOVE youstice module Sir, Thank you soo much. Worked. Lovely day sir. 1 Link to comment Share on other sites More sharing options...
Recommended Posts