cluster Posted February 13, 2018 Share Posted February 13, 2018 (edited) I'm unable to enter a new transaction, the search function of the Related Client textfield does not work. I can enter anything, but no client is found. > start typing to search clients How can the problem be solved? WHMCS 7.4.2 PHP 7.0x Browser Chrome Edited February 13, 2018 by cluster Link to comment Share on other sites More sharing options...
brian! Posted February 13, 2018 Share Posted February 13, 2018 using which admin template - v4, Blend or a custom? if memory serves, that dropdown will use selectize.js, so it's possibly a js conflict somewhere - but i'm not seeing it in my v7.4.2 or the online demo (using Firefox and Chrome). Link to comment Share on other sites More sharing options...
cluster Posted February 13, 2018 Author Share Posted February 13, 2018 hmm, this should be the default admin template, where can I change that? Link to comment Share on other sites More sharing options...
brian! Posted February 13, 2018 Share Posted February 13, 2018 3 minutes ago, cluster said: hmm, this should be the default admin template, where can I change that? click the "My Account" link at the top of the admin homepage and that should take you to the page (myaccount.php) to change templates. Link to comment Share on other sites More sharing options...
cluster Posted February 13, 2018 Author Share Posted February 13, 2018 (edited) Thanks Brian, I tried w/ both but nothing changed no other templates installed ... <link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600" rel="stylesheet"> <link href="templates/blend/css/all.min.css?v=bd3b83" rel="stylesheet" /> <script type="text/javascript" src="templates/blend/js/scripts.min.js?v=bd3b83"></script> ... <script>function getClientSearchPostUrl() { return '/clients/admin/search/client'; }</script> <script type="text/javascript" src="../assets/js/AdminClientDropdown.js"></script> Edited February 13, 2018 by cluster Link to comment Share on other sites More sharing options...
brian! Posted February 13, 2018 Share Posted February 13, 2018 I wonder if it's linked to the Friendly URL settings - have you changed them recently... your question was niggling me as it reminded me of a similar question - I think it was the above thread.. Link to comment Share on other sites More sharing options...
cluster Posted February 13, 2018 Author Share Posted February 13, 2018 strange ... so far, nothing has been changed w/ the URL settings ... maybe the PHP version? I use PHP 7.0.x Link to comment Share on other sites More sharing options...
cluster Posted February 13, 2018 Author Share Posted February 13, 2018 Header always append X-Frame-Options SAMEORIGIN Header set X-XSS-Protection "1; mode=block" Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure or maybe this apache settings? Link to comment Share on other sites More sharing options...
brian! Posted February 13, 2018 Share Posted February 13, 2018 i'm running the same PHP version on the dev... online demo is using PHP5.6 - dread to suggest that it might be worth opening a ticket with Support. Link to comment Share on other sites More sharing options...
cluster Posted February 13, 2018 Author Share Posted February 13, 2018 thank you Brian! Link to comment Share on other sites More sharing options...
cluster Posted February 16, 2018 Author Share Posted February 16, 2018 (edited) the whmcs rewrite part was missing in the .htaccess, after adding this part it works ... but now my phone number issue is back, if I submit a domain registration via registrar module it cuts of the country code numbers, in database it shows the complete phone number but it does not work for the API anymore ... f.ex. +33 9999999 is now formated as +9999999 also the country code number is now missing in the order emails 'phonenumber' => preg_replace('/\./', ' ', "+".$params["phonenumber"]), 2 days ago before I have added the htaccess code it worked well, RewriteBase is disabled because whmcs is running in it's own subfolder, it makes no change if disabled or not. # RewriteBase is set to "/" so rules do not need updating if the # installation directory is relocated. It is imperative that # there is also a RewriteCond rule later that can effectively get # the actual value by comparison against the request URI. # # If there are _any_ other RewriteBase directives in this file, # the last entry will take precedence! #RewriteBase / # Redirect directories to an address with slash RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] # Send all remaining (routable paths) through index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Determine and use the actual base RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$ RewriteRule ^.*$ %2index.php [QSA,L] </IfModule> ### END - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### Edited February 16, 2018 by cluster Link to comment Share on other sites More sharing options...
Recommended Posts