Tomtefar Posted November 13, 2010 Share Posted November 13, 2010 Hi,I have a problem. This used to work and i havent played around with anything that i know of that would cause this error. When i am in backoffice and try to choose a different language while configuring any module there isnt any more than the default language. I have tried to enable more languages and play around in tools/language but nothing works. If i change the default language to english it appears in the module but then i cant choose my other language. Have a look at the picture, should be 2 flags, swedish and american, but there is only one (yes more then one language is enabled). Would be very greatful for help!Regards, Link to comment Share on other sites More sharing options...
rocky Posted November 13, 2010 Share Posted November 13, 2010 What happens when you click the flag? When you do that, all installed language flags should be displayed below the text area, allowing you to choose another language. Link to comment Share on other sites More sharing options...
Tomtefar Posted November 13, 2010 Author Share Posted November 13, 2010 Nothing happen when i click it. Have tried IE, Chrome, FF. In IE it says in the bottom left "Error on page". The strange thing is that it used to work! When it worked all the languages was displayed beside each other so i could just press the american flag for exampel.Detailed information about the error on the websiteUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2;. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729; Media Center PC 6.0;. NET4.0C; InfoPath.2; Creative AutoUpdate v1.40.01)Timestamp: Sun, November 13, 2010 10:44:54 UTCMessage: An object is expected.Line: 215Character: 1Code: 0URI: http://localhost/test/admin/index.php?tab=AdminModules&configure=freeblock&token=4cbcb80fda990d3e4fcb8ab367a34596Message: An object is expected.Line: 215Character: 1Code: 0URI: http://localhost/test/admin/index.php?tab=AdminModules&configure=freeblock&token=4cbcb80fda990d3e4fcb8ab367a34596Message: An object is expected.Line: 174Character: 1Code: 0URI: http://localhost/test/admin/index.php?tab=AdminModules&configure=freeblock&token=4cbcb80fda990d3e4fcb8ab367a34596Message: An object is expected.Line: 131Character: 1Code: 0URI: http://localhost/test/admin/index.php?tab=AdminModules&configure=freeblock&token=4cbcb80fda990d3e4fcb8ab367a34596Message: An object is expected.Line: 174Character: 1Code: 0URI: http://localhost/test/admin/index.php?tab=AdminModules&configure=freeblock&token=4cbcb80fda990d3e4fcb8ab367a34596Message: An object is expected.Line: 174Character: 1Code: 0URI: http://localhost/test/admin/index.php?tab=AdminModules&configure=freeblock&token=4cbcb80fda990d3e4fcb8ab367a34596 Link to comment Share on other sites More sharing options...
rocky Posted November 13, 2010 Share Posted November 13, 2010 Is it just the "freeblock" module configuration page that causes the error, or does the same thing happen with all flags in PrestaShop? Link to comment Share on other sites More sharing options...
Tomtefar Posted November 13, 2010 Author Share Posted November 13, 2010 Its not only the freeblock, all flags when i am configuring any module is like that eg the "Home text editor" module is the same (its the one on the printscreen). Although in the webshop and at the top of the page in backoffice the rights flags are shown and working properly. Link to comment Share on other sites More sharing options...
rocky Posted November 14, 2010 Share Posted November 14, 2010 Can you post what is on the lines causing the errors? I suspect it may be TinyMCE causing the problem. Perhaps re-uploaded the js directory in the root of PrestaShop will help. Link to comment Share on other sites More sharing options...
Tomtefar Posted November 14, 2010 Author Share Posted November 14, 2010 Yes I can, i dont know wich file to copy from though! Can you see that from the information i posted?I tried to remove the js directory and reupload it but no luck:( Link to comment Share on other sites More sharing options...
rocky Posted November 14, 2010 Share Posted November 14, 2010 Just choose the "View source" option in your browser, then press Ctrl+G and enter the line number to go to the specific line. Link to comment Share on other sites More sharing options...
Tomtefar Posted November 14, 2010 Author Share Posted November 14, 2010 I want to thank you so much for youre help! I thought it be best to take the same example for the problem. The picture in my first post its the home text module. When i press the first flag (header) i get error in line 155, the second one line 170 and the last one line 185:User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2;. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729; Media Center PC 6.0;. NET4.0C; InfoPath.2; Creative AutoUpdate v1.40.01)Timestamp: Sun, November 14, 2010 13:13:43 UTCMessage: An object is expected.Line: 155Character: 1Code: 0URI: http://localhost/test/admin/index.php?tab=AdminModules&configure=editorial&token=4cbcb80fda990d3e4fcb8ab367a34596Message: An object is expected.Line: 170Character: 1Code: 0URI: http://localhost/test/admin/index.php?tab=AdminModules&configure=editorial&token=4cbcb80fda990d3e4fcb8ab367a34596Message: An object is expected.Line: 185Character: 1Code: 0URI: http://localhost/test/admin/index.php?tab=AdminModules&configure=editorial&token=4cbcb80fda990d3e4fcb8ab367a34596155: 170: 185: If i diable swedish and only have English and French it doesent work either. If i have English as standard language the "img src="../img/l/4.jpg" changes to "img src="../img/l/1.jpg" Link to comment Share on other sites More sharing options...
Tomtefar Posted November 16, 2010 Author Share Posted November 16, 2010 Rocky helpt me solve it, solution:For some reasen js/admin.js was missing the showLanguages function:function showLanguages(id){ getE('languages_' + id).style.display = 'block';} Link to comment Share on other sites More sharing options...
AndersIvar Posted February 8, 2011 Share Posted February 8, 2011 I have the same problem and tried this solution, doesnt work for me. Any other suggestions?Could you change the topic Tomtefar, I am glad to not create another thread with the same problem. Link to comment Share on other sites More sharing options...
AndersIvar Posted February 8, 2011 Share Posted February 8, 2011 Please, someone who can help? I am in BIG trubbel. Link to comment Share on other sites More sharing options...
Guest danielias Posted March 28, 2011 Share Posted March 28, 2011 @Akn78 did you found the solution?Thanks for your time. Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted April 8, 2011 Share Posted April 8, 2011 I can tell you freeblock module is the culprit.. uninstall it and it should be fine.. anyone have a replacement free block module for 1.4 that will WORK? I am in need of this in my right margin and one without the issues. 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