Jump to content

Unable to Login as Client using version 8.13


Recommended Posts

Hello,

Here, I am sharing some steps that you need to follow to fix the issue - 
1. Verify the File:
Check if the captcha.tpl file is present in the templates/default/includes/ directory of your WHMCS installation using FTP or your hosting control panel.

2. Restore or Upload:
If the file is missing, restore it from a backup or upload a fresh copy from another WHMCS installation that includes it.

3. Check Theme Compatibility:
After upgrading WHMCS or changing your theme, the new theme may lack the file. Revert to a previous theme or choose one that includes the necessary functionality.

If you're using a custom theme, you may need to create the missing captcha.tpl file or choose a theme that includes the required functionality.

Thanks

Link to comment
Share on other sites

Hi, you just need to copy templates/default/includes/captcha.tpl 
into your theme
templates/yourthemedirectory/includes/captcha.tpl 

This error will disappear, but your login issue is still there because the "Cross-Origin-Opener-Policy policy would block the window.postMessage call
You need to allow the Google Auth script to run. Or WHMCS needs to update the code to avoid using window.postMessage function 

Edited by Saroha
Link to comment
Share on other sites

As you've noted I'm using a child theme so the file should be picked up in the parent theme. I've tried two child themes and the same result. Isn't the point of the child theme that you only include files that you want to overwrite? 
 

I've reverted to using Six and will review the changelog to see if there's anything obvious missing or needed. 
 

Thank you for your post. 

Link to comment
Share on other sites

For this file, WHMCS does not get it from the parent theme. I don't know why but its happen. You can use a child theme, but your parent theme should be Six.  For example, if your child theme directory name is "mytheme" then just copy templates/default/includes/captcha.tpl into your theme templates/mytheme/includes/captcha.tpl 
make sure the path is correct meaning captcha.tpl should be in includes directory

Edited by Saroha
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