sahostking Posted November 21, 2013 Share Posted November 21, 2013 Just completed the upgrade bit noticed now that search box in top right corner doesn't work. Can't search for client. Logged and and back in restarted browser still nothing. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
asep Posted November 21, 2013 Share Posted November 21, 2013 same problem with me, can't search domain/client and also couldn't close the ticket when click close status 0 Quote Link to comment Share on other sites More sharing options...
asep Posted November 21, 2013 Share Posted November 21, 2013 Now Its working. Clear tempates_c and clear browser cache 0 Quote Link to comment Share on other sites More sharing options...
sahostking Posted November 21, 2013 Author Share Posted November 21, 2013 Now Its working.Clear tempates_c and clear browser cache Thanks I tested and it's now working. Seems with every update we must be sure to clear cache before testing. 0 Quote Link to comment Share on other sites More sharing options...
wellis Posted November 21, 2013 Share Posted November 21, 2013 Thanks I tested and it's now working. Ok so I am not getting this fix. I have a folder called templates_c in the remote server. In that folder is one file called index.php. There is no cached file in that folder to delete or clear. Can someone please clarify what you mean by clearing the templates_c file? Thanks 0 Quote Link to comment Share on other sites More sharing options...
wellis Posted November 21, 2013 Share Posted November 21, 2013 I only have an index file in the templates_c folder. There are no cached files to clear. What am I missing? Can someone explain what they mean but clear templates_C ? I did clear the browser but to no avail.. any help is appreciated. Thanks 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted November 21, 2013 Share Posted November 21, 2013 I cleared the template cache and still had the issue. It appears the browser cache was the culprit. After clearing that, it works. 0 Quote Link to comment Share on other sites More sharing options...
wellis Posted November 21, 2013 Share Posted November 21, 2013 Not for me. I have cleared the cache in the browser and search box does not work. What about the clearing of the templates_c folder? I have one folder with an index.php file in it with one line of code in it. Am I suppose to delete the index.php file? How do you clear the cache of a folder? What am I missing here? Can someone please answer me? Thanks 0 Quote Link to comment Share on other sites More sharing options...
merlinpa1969 Posted November 21, 2013 Share Posted November 21, 2013 I tried using the utilities-> system -> clear template files and I get an error Invalid file. Please contact support. I had to go in and manually dump the temp files Wellis, look in your configure.php file if the templates_c folder has been moved it will show in that file where it is 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted November 21, 2013 Share Posted November 21, 2013 Delete everything except the index.php file. It sounds like your template cache is already cleared. 0 Quote Link to comment Share on other sites More sharing options...
Troy Posted November 21, 2013 Share Posted November 21, 2013 Any search in the smart search field shows "Invalid Token" for me after the update. None of the suggested fixes here has helped. 0 Quote Link to comment Share on other sites More sharing options...
leckley Posted November 21, 2013 Share Posted November 21, 2013 Confirmed working in IE, however does not appear to work at all in Chrome. 0 Quote Link to comment Share on other sites More sharing options...
FrankAU Posted November 21, 2013 Share Posted November 21, 2013 yes it works in chrome after clearing templates_c 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted November 22, 2013 Share Posted November 22, 2013 Is the delete button in the right place for you? 0 Quote Link to comment Share on other sites More sharing options...
gerrybakker Posted November 22, 2013 Share Posted November 22, 2013 If you have created a custom "Admin" template based on the V4 template then you need to copy over the new V4 "head.js" to your custom template folder. You also need to replace the old search box code in your "header.tpl" from a previous version with the new code that matches that head.js code. For me I replaced this in the "header.tpl" file in my custom admin template: <input type="text" id="intellisearchval" /> <img src="images/icons/delete.png" alt="Cancel" width="16" height="16" class="absmiddle" id="intellisearchcancel" /> </div> with: <form id="frmintellisearch"> <input type="hidden" name="intellisearch" value="1" /> <input type="hidden" name="token" value="{$csrfToken}" /> <input type="text" id="intellisearchval" name="value" /> </form> <img src="images/icons/delete.png" alt="Cancel" width="16" height="16" class="absmiddle" id="intellisearchcancel" /> Which I found in the new V4 template - 0 Quote Link to comment Share on other sites More sharing options...
Troy Posted November 22, 2013 Share Posted November 22, 2013 Good find gerrybakker. I was using the SwiftModders admin theme and their code is going to have to be adjusted similarly to get it working again. 0 Quote Link to comment Share on other sites More sharing options...
Si Posted November 22, 2013 Share Posted November 22, 2013 OK, it turns out the intellisearch issue is a swiftmodders issue for me. Moved away from sm to v4 theme until there is a fix. Thanks for this thread. Was doing my head in. 0 Quote Link to comment Share on other sites More sharing options...
Troy Posted November 22, 2013 Share Posted November 22, 2013 OK, it turns out the intellisearch issue is a swiftmodders issue for me. Moved away from sm to v4 theme until there is a fix. Thanks for this thread. Was doing my head in. I opened a ticket to alert them about it, so hopefully a quick fix can be done. 0 Quote Link to comment Share on other sites More sharing options...
sohouk Posted November 22, 2013 Share Posted November 22, 2013 I have a folder called templates_c in the remote server. In that folder is one file called index.php. There is no cached file in that folder to delete or clear. Can someone please clarify what you mean by clearing the templates_c file? Thanks That sounds like you are looking at the wrong templates_c folder. For security it is recommended that the templates_folder is moved outside of the main public structure. See here However, the default install puts one in the whmcs/templates folder which could be confusing and is probably the one you are looking at. However, your problem does not stop there. The facility to empty the template cache (which would have emptied the correct one) got broken in the upgrade to 5.2.13 so you have to empty the cache manually Trevor 0 Quote Link to comment Share on other sites More sharing options...
imtiax Posted November 23, 2013 Share Posted November 23, 2013 I am also having the same problem with search not working, I hope they release a patch soon. I use it alot. 0 Quote Link to comment Share on other sites More sharing options...
merlinpa1969 Posted November 23, 2013 Share Posted November 23, 2013 What version of admin template are you using? 0 Quote Link to comment Share on other sites More sharing options...
CN-Jeremy Posted November 24, 2013 Share Posted November 24, 2013 I opened a ticket to alert them about it, so hopefully a quick fix can be done. Swiftmodder's issued a update this morning. Login and download version 3.0.3 and it will fix the problems. Also delete your templates_c cache. 0 Quote Link to comment Share on other sites More sharing options...
wellis Posted November 25, 2013 Share Posted November 25, 2013 I found the templates_c folder in the root directory above the public_html.. but clearing that still did not fix the issue. The search box says invalid token. Also when you go to submit an answer to a support ticket it says that there is already a response to that ticket when there isn't. When will WHMCS start testing this stuff before they post a patch? Everytime we patch something it breaks other things. 0 Quote Link to comment Share on other sites More sharing options...
sol2010 Posted November 25, 2013 Share Posted November 25, 2013 Also have the same issue as Wellis. Upgraded, emptied templates_c, cleared cookies and cache, still get invalid token all over the place! Even tried a complete fresh install, but the same result. Thankfully, this is on my test site. 0 Quote Link to comment Share on other sites More sharing options...
BryanB Posted November 25, 2013 Share Posted November 25, 2013 Oddly, I have 2 sites running 5.2.13 and one has this issue, the other doesn't. I'm getting "invalid token" when using the search box at the top right of the header (in both blend and V4) and also when trying to insert a predfined reply in a support ticket. Emptied templates_c, cleared cache and still no luck. 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.