sino Posted November 6, 2009 Share Posted November 6, 2009 Hi, We created custom page following steps described in http://wiki.whmcs.com/Creating_Pages. We found that when we try to reload the page, a blank page appears first and have to click the retry button on the pop-up window to load the page. What's wrong with it? Please help. 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted November 6, 2009 Share Posted November 6, 2009 You did make the .tpl file? Try posting your code or a link else we can not say what is wrong with it can we? 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 6, 2009 Author Share Posted November 6, 2009 The error occurs in other WHMCS pages as well. It occurs after language switching. Just visited another multilingual WHMCS site, same error occurs after language switching. http://www.sinoland.com/whmcs/index.php http://supervalueweb.com/client/index.php 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted November 6, 2009 Share Posted November 6, 2009 I have just tried switching on both site you link to and to all language's and I do not get any blank pages. What browser are you using? I am using Fire Fox. 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 6, 2009 Author Share Posted November 6, 2009 (edited) To repeat the error, 1. Visit any WHMCS page 2. Switch language with the pull down language switcher 3. Reload the page The error doesn't occur when we switch language via the following URL .../whmcs/?language=language_name e.g. .../whmcs/?language=English Almost certain that it's a bug. The following language switch form does not do exactly the same thing as the above URL. <form method="post" action="/whmcs/submitticket.php" name="languageform"><strong>語系:</strong> <select name="language" onchange="languageform.submit()"><option value="English">English</option><option value="Traditional-Chinese" selected="selected">Traditional-Chinese</option><option value="Simplified-Chinese">Simplified-Chinese</option></select></form> Edited November 6, 2009 by sino 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 6, 2009 Author Share Posted November 6, 2009 (edited) I have just tried switching on both site you link to and to all language's and I do not get any blank pages. What browser are you using? I am using Fire Fox. Using IE 7 Tried Fire Fox 3.0, same error occurs Edited November 6, 2009 by sino 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted November 6, 2009 Share Posted November 6, 2009 Sorry but still do not get blank page. Again what web browser are you using? ie IE or Fire Fox etc...... Have you tried a different web browser? 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted November 6, 2009 Share Posted November 6, 2009 IE 7 is out dated and will give you a lot of errors on most web sites online now days. 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 6, 2009 Author Share Posted November 6, 2009 (edited) Sorry but still do not get blank page. Again what web browser are you using? ie IE or Fire Fox etc...... Have you tried a different web browser? Tried Fire Fox 3.0, same error occurs. Reload page right after language switch, error occurs. I'd use country flag to switch language then. Anyway, thank you for your help. Edited November 6, 2009 by sino 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 7, 2009 Author Share Posted November 7, 2009 IE 7 is out dated and will give you a lot of errors on most web sites online now days. Same error occurs for IE 8. Got error when refresh page immediately after language switching. Error disappears if click other page. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 9, 2009 WHMCS Support Manager Share Posted November 9, 2009 Works perfectly in Firefox 3.5.5. 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 10, 2009 Author Share Posted November 10, 2009 Works perfectly in Firefox 3.5.5. I tried Firefox 3.5.5. Still getting same error when I first switch language then refresh page. 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted November 10, 2009 Share Posted November 10, 2009 I tried Firefox 3.5.5. Still getting same error when I first switch language then refresh page. please this is the last time please supply a screen shot as you seem to be one of the only users with this problem? 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 10, 2009 Author Share Posted November 10, 2009 (edited) please this is the last time please supply a screen shot as you seem to be one of the only users with this problem? I am using Chinese XP. I've uploaded a screen shot. If I switch language, click any page and refresh page, then no error occurs. If I switch language, then refresh, error occurs. Strange! Let me arrange an English version screen shot. Edited November 10, 2009 by sino 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted November 10, 2009 Share Posted November 10, 2009 also a before and after and the code you are putting in the page. 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 10, 2009 Author Share Posted November 10, 2009 (edited) also a before and after and the code you are putting in the page. The screen shot is from http://www.supervalueweb.com, not from my website. English screen shot is attached. Thank you. More information. The screen shot is taken from an English Windows 2000 server, IE 6. Edited November 10, 2009 by sino 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted November 10, 2009 Share Posted November 10, 2009 That pop-up box is STD often it is to do with keeping/updating the cookies/session so you should be saying retry. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted November 10, 2009 WHMCS Support Manager Share Posted November 10, 2009 That's not an error message, I get a similar message in Firefox. If you reload the page it will send the "change language" command again to WHMCS. As long as you click Retry the page will load fine. 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 10, 2009 Author Share Posted November 10, 2009 That pop-up box is STD often it is to do with keeping/updating the cookies/session so you should be saying retry. If language is swiched via the following codes, no such message pops up. Prefer this. {$smarty.server.PHP_SELF}?language=English 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 10, 2009 Author Share Posted November 10, 2009 (edited) That's not an error message, I get a similar message in Firefox. If you reload the page it will send the "change language" command again to WHMCS. As long as you click Retry the page will load fine. You're right. The page loads fine after clicking Retry. What is strange is that if you click refesh again for the same page, the message pops up again until you click other page. Language switcher like osCommerce doesn't behave this way. Better code the pull down language switcher with the codes{$smarty.server.PHP_SELF}?language=English That's why I consider it as sort of bugs. Edited November 10, 2009 by sino 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted November 10, 2009 Share Posted November 10, 2009 it is all to do with post and get and session within the coding it would happen on most site, ebay, paypal etc... but it is not a error. 0 Quote Link to comment Share on other sites More sharing options...
sino Posted November 12, 2009 Author Share Posted November 12, 2009 Finally I get rid of this pop-up message by adopting country flag as language switcher. Thank you. Ref: http://www.sinoland.com/whmcs 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.