AndrewMKP Posted December 16, 2008 Share Posted December 16, 2008 I have a few outstanding problems since the update to v3.8.1. First is my htaccess file, I have removed the .txt and it is now in effect however I need to edit the code as my knowledgebase articles are now pointing to mywhmcs/knowledgebase/catnumber/articlename.html when in fact it should go to mywhmcs/knowledgebase[b][u].php[/u][/b]/catnumber/articlename.html but after a few hours of fidling around with the htaccess code still cant resolve this issue. Another is my clientareahomepage.tpl is no longer displaying sparkys mod which has the cpanel and webmail login built in. Another is my footer.tpl is not showing on my pages although nothing seems to have changed, our file is there however it doesn't appear that its being called upon from whmcs, which correct me if I'm wrong but should add the footer.tpl automatically? This update has caused so many problems I just want to downgrade now I am seriously fustrated with this update, the readme.txt file we got with the update assumes everyone knows everything about WHMCS and essentially lets the community fix all the outstanding issues themselves, I.E sparky helping everyone etc, I'm sorry but any other software it doesn't work like that at all, a proper update file should be detailed. And I know some who are reading this say, why didn't you get the WHMCS team to update your WHMCS? Well reason is my fellow friends is that they dont cover templates, my interpretation is that they overwrite them which for us is a lot of custom coding. Anyway, I am quite capable of updating files should proper and standard documentation be current. Any help would be greatly appreciated. Thank you to anyone in advance who can help with this matter. Kind Regards, Andrew. 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted December 16, 2008 Share Posted December 16, 2008 Have you created a support ticket regarding your htaccess file? What have they said about it? If you grant the team FTP access they'll be able to take a look and no doubt fix it for you. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted December 16, 2008 WHMCS CEO Share Posted December 16, 2008 when in fact it should go to mywhmcs/knowledgebase.php/catnumber/articlename.html No, it should not go to that url. How it is by default is correct. Another is my clientareahomepage.tpl is no longer displaying sparkys mod which has the cpanel and webmail login built in. Must have been overwritten if it's no longer showing. Another is my footer.tpl is not showing on my pages although nothing seems to have changed, our file is there however it doesn't appear that its being called upon from whmcs, which correct me if I'm wrong but should add the footer.tpl automatically? Correct, check that you have no errors in the template and that it's present in the custom template folder. the readme.txt file we got with the update assumes everyone knows everything about WHMCS and essentially lets the community fix all the outstanding issues themselves, The readme contains the exact steps needed to do to upgrade and update a custom template. Any issues you get after following that are due to user error and normally the community can help but if you don't want help from the community, just open a ticket and you'll get help from us. The forums are here for other users to assist you. Matt 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 17, 2008 Share Posted December 17, 2008 Another is my clientareahomepage.tpl is no longer displaying sparkys mod which has the cpanel and webmail login built in. Log into your clientarea on my site and you can download it again from there. 0 Quote Link to comment Share on other sites More sharing options...
AndrewMKP Posted December 17, 2008 Author Share Posted December 17, 2008 Its displaying it, just not correctly sparky, as in the images are not showing nor the login button etc. Thank you Matt for confirming its correct however could anyone provide a sample of what exactly the htaccess file should look like? I cannot see any errors myself in the template and the footer.tpl is present in the folders. Any further ideas why this is not showing? And yes, hence why I am posting here asking for the communities assistance. Matt I would have to disagree that it provides the 'exact' steps but it does provide steps granted. But for a WHMCS first time upgrade virgin it wasn't exactly detailed in my opinion. Any help would be appreciated. Andrew. 0 Quote Link to comment Share on other sites More sharing options...
yamaharr1 Posted December 17, 2008 Share Posted December 17, 2008 If you are using a custom theme you have to update the knowledgebase.tpl files as mentioned in the upgrade files. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 17, 2008 Share Posted December 17, 2008 If you are using a custom theme you have to update the knowledgebase.tpl files as mentioned in the upgrade files. Hi, he is using the new knowedgebase tpl files I am looking now to try and find a problem for him. 0 Quote Link to comment Share on other sites More sharing options...
yamaharr1 Posted December 17, 2008 Share Posted December 17, 2008 Yes this is a bit strange because I am having a problem with the knowledgebase also, I have a custom template but no changes to the knowledgebase areas and when I go to the knowledgebase I can see the cats and the headers but if I click on an article it is a blank screen. I have tried with and without SEO ticked but same result. Now if I take the templates out of the portal and overwrite my files the articles show but obviously they are not formatted to my design. I cleared out the cache but that didn't help. I have also matched up my temple files and the template files from the upgrade in the portal and they are identical but yet mine will not show. 0 Quote Link to comment Share on other sites More sharing options...
yamaharr1 Posted December 17, 2008 Share Posted December 17, 2008 I have switched back to the portal theme and everything is working but once I switch back to my custom theme I lose the knowledgebase and I lose my footer links so there must be something in the upgrade not recognizing the custom templates. Is AndrewMKP using a custom template? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 17, 2008 Share Posted December 17, 2008 I have found Andrews problem and it may also help some others. In his htaccess for the knowledgebase was # Knowledgebase#RewriteRule ^knowledgebase.php/([0-9]+)/[a-z0-9_-]+\.html$ ./knowledgebase.php?action=displayarticle&id=$1 [L,NC] #RewriteRule ^knowledgebase.php/([0-9]+)/([^/]*)$ ./knowledgebase.php?action=displaycat&catid=$1 [L,NC] I changed it to what its supposed to be as below and now it works fine # KnowledgebaseRewriteRule ^knowledgebase/([0-9]+)/[a-z0-9_-]+\.html$ ./knowledgebase.php?action=displayarticle&id=$1 [L,NC] RewriteRule ^knowledgebase/([0-9]+)/([^/]*)$ ./knowledgebase.php?action=displaycat&catid=$1 [L,NC] RewriteRule ^knowledgebase$ ./knowledgebase.php [L,NC] 0 Quote Link to comment Share on other sites More sharing options...
AndrewMKP Posted December 17, 2008 Author Share Posted December 17, 2008 Thanks Sparky. Yeah it was that orignially but still failed so thought I would tweak it 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 17, 2008 Share Posted December 17, 2008 Thanks Sparky. Yeah it was that orignially but still failed so thought I would tweak it It would have failed because the base href line was not in your header.tpl Am looking at fixing your footer now 0 Quote Link to comment Share on other sites More sharing options...
yamaharr1 Posted December 17, 2008 Share Posted December 17, 2008 I have the proper info in the .htaccess as mentioned above but I still can not see my footer my knowledgebase articles or get the SEO friendly url's. 0 Quote Link to comment Share on other sites More sharing options...
AndrewMKP Posted December 17, 2008 Author Share Posted December 17, 2008 What solved the footer problem Sparky? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted December 17, 2008 Share Posted December 17, 2008 What solved the footer problem Sparky? There was no custom code there at all. I had to create it for you. 0 Quote Link to comment Share on other sites More sharing options...
AndrewMKP Posted December 17, 2008 Author Share Posted December 17, 2008 Thanks Sparky, it was there before, must have missed it out or something. Anyhow would you care to ellaborate on what solved the knowledgebase issue for some users above? Regards, Andrew. 0 Quote Link to comment Share on other sites More sharing options...
yamaharr1 Posted December 17, 2008 Share Posted December 17, 2008 I found mine also it was my custom template I had to copy all of the templates from the portal and then add my header and footer and everything worked out ok. 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.