Jump to content

WHMCS drop down menu randomly stopped working


bigrob

Recommended Posts

Firstly this is my first post in the WHMCS forum so I take this opportunity to say hello to you all!!

 

I have little issue with WHMCS drop down menu in the client area as it does not appear anymore and just links to #. I updated jquery.js but still having the same problem, I be grateful if anyone could tell me what my problem is as some clients cannot access there services at the moment.

 

Thanks.

Link to comment
Share on other sites

yes sorry I did post but think it didnt like the fact I had a link in it its bigrobsweb.co.uk/clientarea.php

 

username: - Removed -

password: - Removed -

 

its a test account

 

cheers for responding to me so quickly

Edited by Infopro
Removed Login Details
Link to comment
Share on other sites

when you say you updated jquery, do you mean you just reuploaded the file ?

 

I ask because if I view the site in Chrome Developer Tools, i'm getting "Uncaught ReferenceError: jQuery is not defined" and its pointing to whmcs.js - but I don't think the issue lies in that file as it looks the same as mine to me.

 

what might be worth checking out is your version of jquery itself...

 

<script type="text/javascript" src="templates/FastHosting/html/js/jquery-1.3.2.min.js"></script>

<script type="text/javascript" src="templates/FastHosting/html/js/jquery.easing.1.3.js"></script>

that version is 4.5 years old, so you may need to update to a later version... as a test, perhaps replace the above top line with a link to a version at google...

 

http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js

Link to comment
Share on other sites

when you say you updated jquery, do you mean you just reuploaded the file ?

 

I ask because if I view the site in Chrome Developer Tools, i'm getting "Uncaught ReferenceError: jQuery is not defined" and its pointing to whmcs.js - but I don't think the issue lies in that file as it looks the same as mine to me.

 

what might be worth checking out is your version of jquery itself...

 

 

that version is 4.5 years old, so you may need to update to a later version... as a test, perhaps replace the above top line with a link to a version at google...

 

http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js

 

Thanks for helping I am grateful but am afraid it didn't work :{

Link to comment
Share on other sites

Thanks for helping I am grateful but am afraid it didn't work :{

it didn't work when I edited it in Firefox here either, but I hoped it might work when editing the real files! :)

 

the quick fix to get this working is to edit the following line:-

 

<script src="templates/FastHosting/js/whmcs.js"></script>

you need to add... type="text/javascript" .... to it

 

<script type="text/javascript" src="templates/FastHosting/js/whmcs.js"></script>

making that change gets the site working for me locally in firefox - so it should work for you when you edit header.tpl on the live site.

 

the long fix is that you should log into your clientarea, view source, copy it and paste it into the html validator (Validate by Direct Input) at http://validator.w3.org/

 

the site shows 30 errors, including a missing ">" on one of the meta lines (probably also in header.tpl), i'd suggest fixing those two things and then running the code through the validator again.

 

you don't have to fix everything it says, as making the above changes should make the site work, but just to ensure there are no other missing/broken elements.

Link to comment
Share on other sites

it didn't work when I edited it in Firefox here either, but I hoped it might work when editing the real files! :)

 

the quick fix to get this working is to edit the following line:-

 

 

you need to add... type="text/javascript" .... to it

 

 

making that change gets the site working for me locally in firefox - so it should work for you when you edit header.tpl on the live site.

 

the long fix is that you should log into your clientarea, view source, copy it and paste it into the html validator (Validate by Direct Input) at http://validator.w3.org/

 

the site shows 30 errors, including a missing ">" on one of the meta lines (probably also in header.tpl), i'd suggest fixing those two things and then running the code through the validator again.

 

you don't have to fix everything it says, as making the above changes should make the site work, but just to ensure there are no other missing/broken elements.

 

Thanks for all your help its now working again I owe you one big time thanks so much :D

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