Slash Posted March 15, 2009 Share Posted March 15, 2009 HiI've done a fresh install of prestashop 1.1.0.5 and when I try to change the language in CMS I get the following javascript error on firebug:getE(fields + "_" + id_language) is nullhttp://WWW.SITE.COM/prestashop/js/admin.jsLine 84None of the files were modified, I've just unzipped the prestashop.zip file downloaded from prestashop.com and then installed "by the book"..I think this has something to do with the encoding of some files since the separator for the fields is a special character, but I couldn't make it to work, so I decided to make this post asking for help.The web hosting provider is WebHostingBuzz..Although, this doesn't happen in my home installation, using MAMP server it works like a charm.Thanks in advanced.Regards,Nuno Link to comment Share on other sites More sharing options...
Slash Posted March 16, 2009 Author Share Posted March 16, 2009 HiI've noticed that this problem only happens in CMS, in catalogs and products it is working fine...Any ideas ?Regards,Nuno Link to comment Share on other sites More sharing options...
brunosilva Posted March 26, 2009 Share Posted March 26, 2009 its happens to me too... any solution ? Link to comment Share on other sites More sharing options...
Slash Posted March 26, 2009 Author Share Posted March 26, 2009 Hi Bruno,It seems that the problem happens when you unzip the file in the webhosting company, if you transfer AdminCMS.php by ftp you should not have any problems..It must have something to do with the original encoding of the file.If you still have problems let me know, I can try to debug it with you.Regards,Nuno Link to comment Share on other sites More sharing options...
brunosilva Posted March 26, 2009 Share Posted March 26, 2009 i've uploaded all the files through ftpso i dont think that's it... tell me what to check and ill do it! Link to comment Share on other sites More sharing options...
brunosilva Posted March 27, 2009 Share Posted March 27, 2009 helloi think i found the problem but i dont know how to solve it...just see the photos... the javascript that "changes the language" has a diferent character in the middle... How do i change this?just to say that the product.jpg has the correct character and the cms.jpg has the wrong Link to comment Share on other sites More sharing options...
Slash Posted March 27, 2009 Author Share Posted March 27, 2009 That's the conclusion I came into, but the way I solved it was uploading by FTP the file.But, I do think that there's some problem with the original file in the package.. Link to comment Share on other sites More sharing options...
brunosilva Posted March 28, 2009 Share Posted March 28, 2009 helloi've sent the AdminCMS.php to the webserver and it remains the same... strange!i've sent too other 2 ou 3 files that has the function changeLanguage and nothing... very strange! Link to comment Share on other sites More sharing options...
Slash Posted March 28, 2009 Author Share Posted March 28, 2009 Hi BrunoSend me you email by PM I'll send you a working AdminCMS.php to check if it is working.But I restate that there's some a problem in the ORGINAL file that comes in the zip file downloaded from prestashop, I don't know which is the problem but it is the only thing I see..Regards,Nuno Link to comment Share on other sites More sharing options...
Slash Posted March 29, 2009 Author Share Posted March 29, 2009 HiI've contacted the hosting company and they found out a strange charater before <?php tag which was causing this problem, after removing it, CMS is now working perfectly.@Admins, @Devels:Where to can I send the modified file since this problem comes from the original package ?Regards,Nuno Link to comment Share on other sites More sharing options...
Slash Posted March 29, 2009 Author Share Posted March 29, 2009 Here you have the corrected file.. AdminCMS.php Link to comment Share on other sites More sharing options...
brunosilva Posted March 29, 2009 Share Posted March 29, 2009 yesits working OK nowthanksbruno Link to comment Share on other sites More sharing options...
Joro Posted May 7, 2009 Share Posted May 7, 2009 Hello I have quite the same problem. Does anyone know where do I have to put the AdminCMS.php file ? Only the CMS part of my website is bugging and I can't edit anything only but french. Help please Link to comment Share on other sites More sharing options...
Slash Posted May 7, 2009 Author Share Posted May 7, 2009 You should put AdminCMS.php in prestashop/ADMIN_FOLDER/tabsHope it works for you.. Link to comment Share on other sites More sharing options...
Joro Posted May 7, 2009 Share Posted May 7, 2009 Yup thanks, your file saved my life !!!! I still get erros on my pages but I can edit everything. Thanks again dude 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