bigrob Posted October 24, 2013 Share Posted October 24, 2013 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. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted October 24, 2013 Share Posted October 24, 2013 Hey Bigrob, Welcome to the forums -> any chance in getting the affected URL? 0 Quote Link to comment Share on other sites More sharing options...
bigrob Posted October 24, 2013 Author Share Posted October 24, 2013 (edited) 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 October 24, 2013 by Infopro Removed Login Details 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 24, 2013 Share Posted October 24, 2013 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 0 Quote Link to comment Share on other sites More sharing options...
bigrob Posted October 25, 2013 Author Share Posted October 25, 2013 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 :{ 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 25, 2013 Share Posted October 25, 2013 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. 1 Quote Link to comment Share on other sites More sharing options...
bigrob Posted October 25, 2013 Author Share Posted October 25, 2013 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 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.