alexpirate Posted April 20, 2010 Share Posted April 20, 2010 Hello Im trying to remove this symbol ; � from cart.php, so can anyone help me ? Example: Subtotal: � Total Due Today: � Total Recurring: � Thanks 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted April 20, 2010 Share Posted April 20, 2010 whats your system (whmcs) charset? looks like an utf-8 output problem. ensure that the following is in the ode of your header.tpl: <head> <meta http-equiv="content-type" content="text/html; charset={$charset}" /> <!-- ... --> </head> <!-- ... --> so, the browser knows what charset view it have to select. 0 Quote Link to comment Share on other sites More sharing options...
alexpirate Posted April 20, 2010 Author Share Posted April 20, 2010 In my header.tpl: {php} /** * header.tpl * Compatible with WHMCS v4.0.0 and above * * @package JWHMCS: Joomla / WHMCS Integration * @version $Id: header.tpl 59 2009-10-25 00:51:55Z Steven $ * @author Go Higher Information Services * @copyright Copyright (c) 2009, Go Higher Information Services * @link http://gohigheris.com/ */ {/php} {$htmlheader} <link rel="stylesheet" type="text/css" href="templates/{$template}/style.css" /> <div class="border-left"> <div class="border-top"> <div class="border-right"> <div class="border-bottom"> <div class="corner-top-left"> <div class="corner-top-right"> <div class="corner-bottom-left"> <div class="corner-bottom-right"> I use WHMCS + J!WHMCS Integrator + Joomla In my Joomla HTML the META tag use UTF-8 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 0 Quote Link to comment Share on other sites More sharing options...
alexpirate Posted April 20, 2010 Author Share Posted April 20, 2010 Any Idea ? 0 Quote Link to comment Share on other sites More sharing options...
hypertoast Posted April 20, 2010 Share Posted April 20, 2010 (edited) Even my site is having the same issue. JWhmcs says it is WHMCS / Joomla problem... Thank god, I thought I was the only one with this issue. Edited April 20, 2010 by hypertoast spell 0 Quote Link to comment Share on other sites More sharing options...
gohigher Posted May 11, 2010 Share Posted May 11, 2010 I know this is late and not "WHMCS" specific, but if you have 2.0.3 of the Integrator the characters should be translated better. The issue does have to do with the fact that Joomla uses utf-8 but with WHMCS you can use any character encoding you wish. Some characters don't have a matching utf8 translation, so when you view WHMCS with utf8 but have characters from another set, the browser gets confused. Anyway, for most character sets a translation pack is included in 203, so it does attempt to translate those over. 0 Quote Link to comment Share on other sites More sharing options...
mischa1 Posted May 14, 2010 Share Posted May 14, 2010 Is there any solution for this yet? i am having the same problem and the suggested solutions did not work for me. thanks mischa 0 Quote Link to comment Share on other sites More sharing options...
Eminos Posted June 7, 2010 Share Posted June 7, 2010 I have the same problem. The browser detects the character encoding as Western instead of UTF-8, BUT as far as I can see only on two pages: /clients/cart.php?a=complete and /clients/clientarea.php?action=productdetails Very very weird. And what makes it even weirder is that I have the same problem with the default WHMCS template. So it doesn't seem to be a J!WHMCS Integrator problem. Has anyone found a solution for this yet? /E 0 Quote Link to comment Share on other sites More sharing options...
gOOvER Posted June 7, 2010 Share Posted June 7, 2010 I have the same Problem as Eminos. Hope also for a Solution 0 Quote Link to comment Share on other sites More sharing options...
mischa1 Posted June 7, 2010 Share Posted June 7, 2010 I have the same Problem as Eminos. Hope also for a Solution Hello, I finally fixed it by removing the empty space in the tpl files. SO no Dbase conversion was needed. It seems that somehow the spaces entered in the tpl and language files causes these weird characters. SO look for the text in the tpl and language file you are using and remove the spaces behind the :. That should do the trick. 0 Quote Link to comment Share on other sites More sharing options...
Eminos Posted June 7, 2010 Share Posted June 7, 2010 (edited) Hello, I finally fixed it by removing the empty space in the tpl files. SO no Dbase conversion was needed. It seems that somehow the spaces entered in the tpl and language files causes these weird characters. SO look for the text in the tpl and language file you are using and remove the spaces behind the :. That should do the trick. Well this is wild. Crazy. Wicked. It actually worked on the order confirmation page. I just removed all the empty line breaks in the tpl file. But I can't get the product details page to work. Do I really need to modify the language file aswell? If someone's got a working clientareaproductdetails.tpl from WHMCS 4.2.1 please PM it to me And thanks mischa1 for working it out for us. --- [EDIT] It's something really crazy going on. Doesn't someone from the WHMCS staff have ANY clue regarding this? I deleted all the language smarty code in the clientareaproductdetails.tpl, to exclude loading of language strings - Didn't help. Removed EVERYTHING from clientareaproductdetails.tpl (blank file 0kb) - Didn't help. Removed everything from the footer.tpl - Didn't help. Removed all the emtpy line breakes from header.tpl - Didn't help. .. I still got the fuzzy characters in the header menu. Really really weird. Please help /E /E Edited June 7, 2010 by Eminos 0 Quote Link to comment Share on other sites More sharing options...
mischa1 Posted June 7, 2010 Share Posted June 7, 2010 Well this is wild. Crazy. Wicked.It actually worked on the order confirmation page. I just removed all the empty line breaks in the tpl file. But I can't get the product details page to work. Do I really need to modify the language file aswell? If someone's got a working clientareaproductdetails.tpl from WHMCS 4.2.1 please PM it to me And thanks mischa1 for working it out for us. --- [EDIT] It's something really crazy going on. Doesn't someone from the WHMCS staff have ANY clue regarding this? I deleted all the language smarty code in the clientareaproductdetails.tpl, to exclude loading of language strings - Didn't help. Removed EVERYTHING from clientareaproductdetails.tpl (blank file 0kb) - Didn't help. Removed everything from the footer.tpl - Didn't help. Removed all the emtpy line breakes from header.tpl - Didn't help. .. I still got the fuzzy characters in the header menu. Really really weird. Please help /E /E Did you use the right tpl files? Editing it in the wrong template set would not fix it 0 Quote Link to comment Share on other sites More sharing options...
Eminos Posted June 7, 2010 Share Posted June 7, 2010 Did you use the right tpl files?Editing it in the wrong template set would not fix it Of course I edited the right template files. I saw the changes. As I said I deleted ALL content from the product details tpl file, I just had the header and footer, still didn't help. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted June 7, 2010 WHMCS CEO Share Posted June 7, 2010 I suspect this is the result of you saving the file with the wrong encoding. Make sure you save it with the encoding type "UTF-8 without BOM" not just "UTF-8" as that is just the bytecode character of utf that you are seeing. To gOOvER, no it's not a bug. Matt 0 Quote Link to comment Share on other sites More sharing options...
Eminos Posted June 7, 2010 Share Posted June 7, 2010 Glad you're trying to help Matt. Thanks. But I'm not sure about that UTF-8 no BOM thing. I use the PSPad Editor for editing files and WinSCP for transfering via SSH. In accordance to PSPad manual it should save the files without BOM by default (I also checked the setting to make sure). I tried EmEditor as well, where I saved as UFT-8 without Signature. I tried both text and binary upload. No go. And I tried all above for header, footer and that problematic productdetails template. I also tried to reupload the ORIGINAL default template clientareaproductdetails.tpl. Still the same problem. --- Please give further instructions so that we can crack this one! 0 Quote Link to comment Share on other sites More sharing options...
gOOvER Posted June 8, 2010 Share Posted June 8, 2010 [quote name=Matt;152010 To gOOvER' date=' no it's not a bug. Matt[/quote] Thanks Matt for your help. I try it and it seem's thatv it's work now correct 0 Quote Link to comment Share on other sites More sharing options...
Eminos Posted June 8, 2010 Share Posted June 8, 2010 I have identified the source of my problem to the ispCP server module. If I delete that module file, or change the server module, everything is fine. I have contacted the author of the ispCP module. /E 0 Quote Link to comment Share on other sites More sharing options...
gOOvER Posted June 8, 2010 Share Posted June 8, 2010 Great News Thanks. Hope, that he change it very fast 0 Quote Link to comment Share on other sites More sharing options...
WolFree Posted June 13, 2010 Share Posted June 13, 2010 Fixed in ispCP module 2.10 and 2.12. Sorry for taking such a long time for it. 0 Quote Link to comment Share on other sites More sharing options...
gOOvER Posted June 13, 2010 Share Posted June 13, 2010 Fixed in ispCP module 2.10 and 2.12. Sorry for taking such a long time for it. No Problem WolFree. Thank you for fixing 0 Quote Link to comment Share on other sites More sharing options...
hypertoast Posted June 13, 2010 Share Posted June 13, 2010 I got a confirmation from Steve (JWHMCS) that there was an issue witht he editor which he used to save the JWHMCS TPL files which caused this issue. He said it would be fixed soon. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.