| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
vinhkhang_melb Newbie


Offline Joined: Aug 06, 2004 Posts: 26
|
Posted: Tue Dec 27, 2005 8:00 am Post subject: Forum topic display incorrectly |
|
Hi all,
Hope someone would kindly help me out, I have tried searching through other posts but can't find anything posts regarding this weird problem I'm having.
Whenever I post in the forum, all the post texts seem to be displaying correctly, it even showed up correctly via the forum scroll module. But as soon as I click into any particular topic to read, the texts in the Title of the forum display weird, funny characters, however, the post body texts are still readable correctly without problems.
So I don't know the reason why that the text appearing differently like that. Is there any fix for it? or has anyone experiencing this same problem as I am? Please, I need your help.
Thanks advance.
vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
|
|
| Back to top |
|
 |
pretzy 500+ Posts Club


Offline Joined: Sep 09, 2005 Posts: 519 Location: Australia
|
Posted: Tue Dec 27, 2005 9:02 am Post subject: Re: Forum topic display incorrectly |
|
i dont know if this is related, but i have noticed some sites i visit display weird garbled text if i have not enabled javascript for the site
_________________ Pretzy's Place Pertzel Family Tree History Genealogy
Riverlife Church Henty
pretzy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) XP_Apache 2.2.2_MySQL 5.0.21_PHP 5.1.4_CPGNuke 9.1.1
|
|
| Back to top |
|
 |
vinhkhang_melb Newbie


Offline Joined: Aug 06, 2004 Posts: 26
|
Posted: Tue Dec 27, 2005 11:53 am Post subject: Re: Forum topic display incorrectly |
|
I found this utf8_encode() function from other posts, which just might be resolving the issue if somebody can point out which file & where exactly I should be editing for the Subject posting line of the forum is.
Please helpppp me, thanks
vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Tue Dec 27, 2005 9:21 pm Post subject: Re: Forum topic display incorrectly |
|
@vinhkhang_melb I browsed your site with mozilla and could not find an instance where the topic title is not displaying correctly, can you give us a link to the specific page where this occurs?
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
|
|
| Back to top |
|
 |
vinhkhang_melb Newbie


Offline Joined: Aug 06, 2004 Posts: 26
|
Posted: Tue Dec 27, 2005 10:14 pm Post subject: Re: Forum topic display incorrectly |
|
Hi akuma,
Try one of this topic link: Click here
I have asked a number of people accessing this same page, they all said seeing square boxes like this � to some characters displaying only on the Subject line of the topic but not any elsewhere. I know it sounds weird, but from what I understand, my system does have the supplemental language support installed from the control panel > Regional & language options > language. I don't see such problem exists, but others didn't install that language support, they see � characters. But it only appeared in the Subject line of the topic.
So I'm pretty quite dumbfounded, any ideas akuma?
vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Tue Dec 27, 2005 10:34 pm Post subject: Re: Forum topic display incorrectly |
|
I have see a display issue where on a system the page title does not display utf correctly while the rest of the page does and i can only think that is is a m$ bug... and their workaround is to install the lang pack...
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
|
|
| Back to top |
|
 |
vinhkhang_melb Newbie


Offline Joined: Aug 06, 2004 Posts: 26
|
Posted: Wed Dec 28, 2005 1:31 am Post subject: Re: Forum topic display incorrectly |
|
My website is currently using the vietnamese language pack, I've tried to delete & re-install the language pack through the Admin control panel a couple of times. But it still having the same result of showing square & other funny characters at the Subject line in the forum posts.
please helpppp
vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Wed Dec 28, 2005 3:11 am Post subject: Re: Forum topic display incorrectly |
|
I can see chars perfectly encoded on IE, Firefox and Opera on my WIn XP with asian language installed.
| Quote:: |
| Posted: Sun Dec 25, 2005 10:26 am Post subject: Sự Ảnh Hưởng Văn Hóa Đạo Đức Của Thầy TL |
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
vinhkhang_melb Newbie


Offline Joined: Aug 06, 2004 Posts: 26
|
Posted: Wed Dec 28, 2005 3:47 am Post subject: Re: Forum topic display incorrectly |
|
| NanoCaiordo wrote: |
I can see chars perfectly encoded on IE, Firefox and Opera on my WIn XP with asian language installed.
| Quote:: |
| Posted: Sun Dec 25, 2005 10:26 am Post subject: Sự Ảnh Hưởng Văn Hóa Đạo Đức Của Thầy TL |
|
Same here Nano, you won't see the square chars if you had the Asian language installed on your system. But there are many others don't have the Asian language supplementary support installed by default.
I have no issues with it either, but I do have complaints from other users who said they can't read the Subject title due to the incorrect encoding. But somehow, it only messes up in the Subject line of the forum and not affect anywhere else of the website.
Do you happen to know the file & which particular section where the Subject line might be? I might like to have a crack at it by putting the utf8_encode() to that line and hoping to resolve this weird issue.
vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
|
|
| Back to top |
|
 |
alva 1000+ Posts Club


Offline Joined: May 31, 2005 Posts: 1150 Location: The Netherlands
|
Posted: Wed Dec 28, 2005 1:01 pm Post subject: Re: Forum topic display incorrectly |
|
Your topictitle is fine in Firefox, in IE it is not.
BUT
the pagetitle that the browser shows has boxes instead of arrows both in Firefox and IE. Not just your site, dragonflycms.org, as well.
Favorites (IE) has boxes with dragonflycms.org but not with your site.
I'm running XP Pro/IE English with Dutch as my default language and no Asian pack.
alva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache/5.0.24/5/9.1 CVS
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Thu Dec 29, 2005 12:54 am Post subject: Re: Forum topic display incorrectly |
|
You might try
| Code:: |
Fix_Quotes($topictitle,1,1) |
rather than utf8_encode in the file modules/forums/viewtopic.php to see if that helps?
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
|
|
| Back to top |
|
 |
vinhkhang_melb Newbie


Offline Joined: Aug 06, 2004 Posts: 26
|
Posted: Thu Dec 29, 2005 3:43 am Post subject: Re: Forum topic display incorrectly |
|
hi akuma,
Frankly, I'm not really a PHP guru, I don't know exactly where to insert that particular code. Would you please tell me where exactly I should modify the file, I'm very much appreciated.
vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Thu Dec 29, 2005 7:42 pm Post subject: Re: Forum topic display incorrectly |
|
line 418 of modules/Forums/viewtopic.php
find
| PHP: |
$page_title = $forum_topic_data['cat_title'].' '._BC_DELIM.' '.$forum_name.' '._BC_DELIM.' '. $topic_title;
|
replace with
| PHP: |
$page_title = $forum_topic_data['cat_title'].' '._BC_DELIM.' '.$forum_name.' '._BC_DELIM.' '. $topic_title; $page_title = Fix_Quotes($page_title,1,1);
|
This really should not be needed if a user has the correct languages install of if windows supported utf-8 properly but may be a workaround for you.... let me know if it helps.
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
|
|
| Back to top |
|
 |
vinhkhang_melb Newbie


Offline Joined: Aug 06, 2004 Posts: 26
|
Posted: Fri Dec 30, 2005 12:32 am Post subject: Re: Forum topic display incorrectly |
|
Akuma,
I've tried it, but it is still no good. Still seeing square boxes in the Title.
vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
|
|
| Back to top |
|
 |
vinhkhang_melb Newbie


Offline Joined: Aug 06, 2004 Posts: 26
|
Posted: Tue Jan 03, 2006 12:30 am Post subject: Re: Forum topic display incorrectly |
|
Anyone had a fix for this problem or any good suggestions? Please help.
vinhkhang_melb's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux OS / Apache 1.3.34 / MySQL 4.3.11 / PHP 4.4.1 / DF 9.0.6.1
|
|
| Back to top |
|
 |
|
|