-
AuthorPosts
-
January 11, 2009 at 11:43 am #136984
Hello!
I have a problem with this site not displaying correctly in ie6. The first page displays as it should but when you click on any of the menu items it dipslays only header.
Each time you referesh the page using F5 command the page displays as it should.The page works normally in FF.
In safari it doesn’t display right charset..
I have done about 3 days of research on this matter including SQL Collations, ading php scripts to index file etc.
Nothing seems to be working..
The site is online and this account hosts two other live sites so i would apprecitae extra care on dealing with the files and data provided.
Please help as soon as you can. Thanks!
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
January 11, 2009 at 3:34 pm #285917The demo site displays perfect in IE6. Do you have a live URL to your site please?
January 11, 2009 at 3:47 pm #285919all subpages don’t work, the first page works fine:
http://www.triglif.siscotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
January 11, 2009 at 4:01 pm #285921Have you been copy&pasting your article content from Microsoft Word?
January 11, 2009 at 4:10 pm #285925i haven’t. but i have copied som content from another site.
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
January 11, 2009 at 5:34 pm #285940Can you create a new menu item and a new article with no formatting in the article. Just type in a few sentences.Then test to see if this page loads correct. I think you may be suffering from the HTML used to construct your articles.
January 11, 2009 at 5:56 pm #285945You are right. If i dont include “<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />” in my articles it loads the pages
BUT
then it replaces all the characters č,ž,š,Č,Ž,Š with Ž’, ‘ž’, ‘Å¡’, ‘Å’, ‘ÄŒ’, ‘Ä. The page is not useful in any of the browsers then…
Any ideas?
Thank you for all your help!!!
January 11, 2009 at 6:08 pm #285948I even tried inserting this code to index.php file:
<?php function convert($data, $table) {
$do_update = false;
foreach($data as $k => $value) {
if (!is_array($value)) {
$count = 0;
$data[$k] = str_replace(array(‘Ž’, ‘ž’, ‘Å¡’, ‘Å’, ‘ÄŒ’, ‘Ä’), array(‘Ž’, ‘ž’, ‘š’, ‘Š’, ‘Č’, ‘č’), $data[$k], $count);
if ($count> 0) {
$do_update = true;
}
}
}
if ($do_update === true) {
$query = createGenericUpdateSQL($data, $table, key($data), $data[key($data)]);
dump($query);
}
}
?>
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
January 11, 2009 at 6:19 pm #285949spelanikita;105452
then it replaces all the characters č,ž,š,Č,Ž,Š with Ž’, ‘ž’, ‘Å¡’, ‘Å’, ‘ÄŒ’, ‘Ä. The page is not useful in any of the browsers then…
This line is missing from your <head>…
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />Did you remove it earlier?
To add it again go to Extensions>templates>Mesolite> at the top you will see ‘Edit HTML’.
Add the line above immediately AFTER the <head> tag.You will also need to go through all your existing articles and remove the unnecessary HTML.
1 user says Thank You to scotty for this useful post
January 11, 2009 at 6:27 pm #285953Scotty thank you sooo much!
I knew it had to be something simple!
THANKS; THANKS; THANKS!!!!!
🙂
🙂
🙂scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
January 11, 2009 at 6:29 pm #285955You are welcome and I’m glad you got it sorted.
1 user says Thank You to scotty for this useful post
January 11, 2009 at 8:36 pm #285971had to thank you again. this was real important for me to get this solved by tomorow.!!
Keep up the good work guys. I’ll be a member for a long time ;):)
-
AuthorPosts
This topic contains 12 replies, has 2 voices, and was last updated by spelanikita 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum