Jump to content

getting error on whmcs domain Availability


Recommended Posts

Hello, after the update I have this error:

 

scripts.min.js?v=5686db:2 Uncaught TypeError: WHMCS.utils.getRouteUrl is not a function
    at HTMLFormElement.<anonymous> (scripts.min.js?v=5686db:2)
    at HTMLFormElement.dispatch (scripts.min.js?v=5686db:2)
    at HTMLFormElement.$.handle (scripts.min.js?v=5686db:2)
    at Object.trigger (scripts.min.js?v=5686db:2)
    at HTMLFormElement.<anonymous> (scripts.min.js?v=5686db:3)
    at Function.each (scripts.min.js?v=5686db:1)
    at pt.fn.init.each (scripts.min.js?v=5686db:1)
    at pt.fn.init.trigger (scripts.min.js?v=5686db:3)
    at Object.<anonymous> (scripts.min.js?v=5686db:1)
    at l (scripts.min.js?v=5686db:2)

Please help me.

Screenshot_60.png

Screenshot_59.png

Link to comment
Share on other sites

  • WHMCS Technical Analyst II

Hello,

Thank you for your post!

It looks like your custom theme has not been updated for use with version 7.5 of WHMCS.

If you check this issue using the six theme is the JS error still present? The six theme shipped by WHMCS is updated for version 7.5.

Here are the changes made between 7.4.2 and 7.5 template related: https://github.com/WHMCS/templates-six/compare/v7.4.2-release.1...v7.5.0-release.1#diff-8faf96d5986bd6149561eaa4cdb94399

I hope this helps.

Link to comment
Share on other sites

  • WHMCS Technical Analyst II

Hey @josepht

Thank you for your post!

Have you installed a fresh copy of the `six` theme and checked if the issue persists then?

To do this, click here.

Once you have downloaded version 7.5, extract it and locate the `six` theme at `/whmcs/templates/six`.

As I do not know if you have customized your six theme or not, please rename this to `seven` and then upload it to your `/templates` directory.

Once uploaded, switch to this `seven` theme and see if the issue still persists then.

If it does, please open a ticket with us, or, if you have one open, let me know the ticket ID so I can add these notes to it.

Please ensure we have access to your installation and WHMCS directory over FTP, which you can submit securely in the ticket as we will need that level of access to debug this.

Thanks!

 

Link to comment
Share on other sites

Hi Alex,

I can confirm that I was using the new versions of the six theme files (with the exception of a few minor cosmetic changes to a couple of the .tpl files (which have been manually merged into the v7.5 files from the live version of my template files using WinMerge). The same is true of the standard_cart files.

I had definitely not at any point changed any of the six or standard_cart javascript files from those that were released in v7.5.

For what it's worth, the script I'm seeing invoke that function is from standard_cart, and not six.
 

I've subsequently partially reverted the script file (or at least the sections of the file where that function was invoked in the context of the choose domain page) to the 7.4.2 version of the files (where the ajax request was simply sent to cart.php), as the error would have prevented my customers actually purchasing anything, and this has bypassed the issue for now.

I've got a ticket open with the following ID: JLE-961061

Link to comment
Share on other sites

Hello,

After recent update to v7.5 we're facing an issue with domain search form. When customer enters the domain name and clicks "Search", the form stucks:

image.png.8d89714e04eab2fa1686df5106b25e00.png

At the same time JS console shows an error:

image.png.fc609ca9a86c4bfce91b0b2267b38e42.png

We've applied a recently released hotfix for `common.tpl` but it didn't help. Any other ideas how to fix it?

Link to comment
Share on other sites

4 hours ago, josepht said:

Hi Alex,

I can confirm that I was using the new versions of the six theme files (with the exception of a few minor cosmetic changes to a couple of the .tpl files (which have been manually merged into the v7.5 files from the live version of my template files using WinMerge). The same is true of the standard_cart files.

I had definitely not at any point changed any of the six or standard_cart javascript files from those that were released in v7.5.

For what it's worth, the script I'm seeing invoke that function is from standard_cart, and not six.
 

I've subsequently partially reverted the script file (or at least the sections of the file where that function was invoked in the context of the choose domain page) to the 7.4.2 version of the files (where the ajax request was simply sent to cart.php), as the error would have prevented my customers actually purchasing anything, and this has bypassed the issue for now.

I've got a ticket open with the following ID: JLE-961061

Hi,

You can submit which files have been restored so that the domain finder works again?
I have the same problem and the ticket is waiting for a solution, the setting of the new version theme not sovled this problem.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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