Jump to content

Custom page expires so soon?


sino

Recommended Posts

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 by sino
Link to comment
Share on other sites

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 by sino
Link to comment
Share on other sites

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 by sino
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

error.jpg

Edited by sino
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by sino
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated