mohsart Posted December 7, 2012 Share Posted December 7, 2012 (edited) Don't know what happened, I've tried undoing my most recent changes but to no avail. In FF it's almost OK but in IE it's terrible. See http://mohsart.se/handkraft (PS 1.5.2) /Mats Edited December 12, 2012 by mohsart (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted December 7, 2012 Share Posted December 7, 2012 Hello mohsart, can you please check Advance Parameters>>Performance and check if Keep "W3C validation" is enabled? Link to comment Share on other sites More sharing options...
mohsart Posted December 7, 2012 Author Share Posted December 7, 2012 (edited) Thanks for the quick reply. It is enabled, other ideas? /Mats Edited December 7, 2012 by mohsart (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted December 7, 2012 Share Posted December 7, 2012 Could you turn on Error reporting for us. It may give some more information. Please add define('_PS_MODE_DEV_', true); in /config/defines.inc.php and @ini_set('display_errors', 'on'); define('_PS_DEBUG_SQL_', true); in /config/config.inc.php Link to comment Share on other sites More sharing options...
mohsart Posted December 7, 2012 Author Share Posted December 7, 2012 Done. I just noticed that the problem only occurs with swedish language selected /Mats Link to comment Share on other sites More sharing options...
benjamin utterback Posted December 7, 2012 Share Posted December 7, 2012 Well, the site looks fine in chrome and firefox. In IE it is a little bit of a mess, and changing the language to English did not help. Were there any errors that were presented? Link to comment Share on other sites More sharing options...
mohsart Posted December 7, 2012 Author Share Posted December 7, 2012 I haven't seen any errors, where should they appear? In FF, the logo banner is placed a couple of pixels too low, otherwise OK. For me, switching to English resolves everything perfectly :-O /Mats Link to comment Share on other sites More sharing options...
mohsart Posted December 7, 2012 Author Share Posted December 7, 2012 Tested with Chrome, and the behaviour is exactly as with FF /Mats Link to comment Share on other sites More sharing options...
mohsart Posted December 7, 2012 Author Share Posted December 7, 2012 Just in case, this is how it all looks for me. Top two pics are FF 16, bottom are IE 9 /Mats Link to comment Share on other sites More sharing options...
mohsart Posted December 9, 2012 Author Share Posted December 9, 2012 Can somebody help, please? /Mats Link to comment Share on other sites More sharing options...
mohsart Posted December 11, 2012 Author Share Posted December 11, 2012 I cleaned out all history etc and now I have the same (broken) appearance no matter chosen language /Mats Link to comment Share on other sites More sharing options...
sebkos Posted December 11, 2012 Share Posted December 11, 2012 did you note that whole "meta" section is in "body" section? Link to comment Share on other sites More sharing options...
mohsart Posted December 11, 2012 Author Share Posted December 11, 2012 Hmm, no? /Mats Link to comment Share on other sites More sharing options...
sebkos Posted December 11, 2012 Share Posted December 11, 2012 I mean "head" section. I've just made a test and delete <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6 " lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 lt-ie9 lt-ie8" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9 ie8" lang="en"> <![endif]--> <!--[if gt IE 8]> <html lang="fr" class="no-js ie9" lang="en"> <![endif]--> from header.tpl and my site looks like yours. I suppose that's the reason. Link to comment Share on other sites More sharing options...
mohsart Posted December 11, 2012 Author Share Posted December 11, 2012 I'm sorry, but I don't quite understand, should I add the code you pasted to themes/header.tpl? /Mats Link to comment Share on other sites More sharing options...
sebkos Posted December 11, 2012 Share Posted December 11, 2012 line <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> already is in your header.tpl. As I can see you changed something in your theme, that line is at beginning, head section is complete and site looks OK in FF and IE. Link to comment Share on other sites More sharing options...
mohsart Posted December 11, 2012 Author Share Posted December 11, 2012 (edited) This is thebeginning of the file <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-language" content="{$meta_language}" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" /> How should it look? I did try another theme, something like 2 weeks before this stopped working. Apart from that, I've only changed CSS stuff. Edit: BTW, $meta_language seems weird, it holds the value "en-sv" /Mats Edited December 11, 2012 by mohsart (see edit history) Link to comment Share on other sites More sharing options...
sebkos Posted December 11, 2012 Share Posted December 11, 2012 That file is OK. But about one hour ago I visited your site and used firebug. The code was messy. I didn't make screenshot but everything what should be in "head" section was in "body". So I suppose IE didn't recognize your site correctly. Did you change something during last hour? Link to comment Share on other sites More sharing options...
mohsart Posted December 11, 2012 Author Share Posted December 11, 2012 I only tried to implement what I thought you meant, inserting lines of code... Now it's back to how it was originally, since nothing changed. /Mats Link to comment Share on other sites More sharing options...
sebkos Posted December 11, 2012 Share Posted December 11, 2012 it only occurs if you choose SV language, weird Link to comment Share on other sites More sharing options...
mohsart Posted December 11, 2012 Author Share Posted December 11, 2012 Not sure if it's a good thing or not, but another user has a similar problem with 1.4 http://www.prestashop.com/forums/topic/207627-css-seems-to-have-disapeared-in-ie/ /Mats Link to comment Share on other sites More sharing options...
sebkos Posted December 12, 2012 Share Posted December 12, 2012 Hi mohsart, I found a few similar topics and every problems were connected with file format. Don't use UTF-8 with BOM. In that case page code is messy and IE shows site in quirks mode. Link to comment Share on other sites More sharing options...
mohsart Posted December 12, 2012 Author Share Posted December 12, 2012 Thanks. What is BOM? I tried replacing all utf-8 with iso-8859-1 in header.tpl but nothing changed. Oh and my 1.4.3 store works fine with utf-8 /Mats Link to comment Share on other sites More sharing options...
sebkos Posted December 12, 2012 Share Posted December 12, 2012 Byte Order Mark Link to comment Share on other sites More sharing options...
mohsart Posted December 12, 2012 Author Share Posted December 12, 2012 Ok, http://validator.w3.org/i18n-checker/ reports that I have a BOM, but how to find it? Sorry, but this is all new to me /Mats Link to comment Share on other sites More sharing options...
sebkos Posted December 12, 2012 Share Posted December 12, 2012 Hi again, I'm also not familiar with that case but I found script may help you. Place it in your PS directory and execute by browser. bom.php Link to comment Share on other sites More sharing options...
mohsart Posted December 12, 2012 Author Share Posted December 12, 2012 Lovely! Fixed! For others: I changed win=1; to win=0; since I have a linux host. Ran the scrips, got These files have UTF8 BOM: /home/virtual/mohsart.se/public_html/handkraft/js/jquery/plugins/jquery.validate-creditcard.js /home/virtual/mohsart.se/public_html/handkraft/goadmin/ajaxfilemanager/jscripts/edit_area/langs/ja.js /home/virtual/mohsart.se/public_html/handkraft/mails/en/order_conf.txt /home/virtual/mohsart.se/public_html/handkraft/mails/it/order_conf.txt /home/virtual/mohsart.se/public_html/handkraft/mails/de/order_conf.txt /home/virtual/mohsart.se/public_html/handkraft/mails/sv/guest_to_customer.txt /home/virtual/mohsart.se/public_html/handkraft/mails/sv/contact_form.txt /home/virtual/mohsart.se/public_html/handkraft/themes/default/lang/sv.php /home/virtual/mohsart.se/public_html/handkraft/classes/Tools.php Downloaded these, opened in notepad++, changed format from UTF-8 to ANSI, saved and uploaded. I am a tad bit interested in why those files had changed, but main thing is that NOW IT WORKS :-))) Thank you sooo much, sebkos! /Mats Link to comment Share on other sites More sharing options...
äpple Posted February 7, 2013 Share Posted February 7, 2013 hi i seem to have the same problem, can you explain exactly what you did to solve it because I do not understand what to do. / thanks 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