Devel “devel.toolbar.settings_form” does not exist even though the route exists

After updating my core with 8.6.15 and devel with 8.2 version, I am facing the following error: Route "devel.toolbar.settings_form" does not exist.

    The website encountered an unexpected error. Please try again later. </br></br><em class="placeholder">Symfony\Component\Routing\Exception\RouteNotFoundException</em>:  Route "devel.toolbar.settings_form" does not exist. in <em class="placeholder">Drupal\Core\Routing\RouteProvider-&gt;getRouteByName()</em>  (line <em class="placeholder">201</em> of <em class="placeholder">core/lib/Drupal/Core/Routing/RouteProvider.php</em>). <pre class="backtrace">Drupal\Core\Routing\UrlGenerator-&gt;getRoute(&#039;devel.toolbar.settings_form&#039;) (Line: 271) 

How to stop headphones activating Voice Control (even though it’s disabled) when unpausing music?

I use a pair of in-ear, noise-cancelling Sennheiser headphones with my iPhone 6S. I don’t know exactly which model they are, but something like the CX 5.00i isn’t far off. The headphones have a little inline remote control which I use a lot to pause and play songs.

The trouble is that about half the time I do so – particularly if a song has been paused for more than about 30 seconds, and particularly if I’m moving rather than standing still – hitting the button on the remote doesn’t restart the music like it’s supposed to, but instead activates Voice Control (with that VERY loud ‘dun-dun’ sound rendering me half deaf every time).

I have Voice Control disabled as described in the answer to this question, and long-clicking the home button on the actual phone doesn’t activate it. I also have Siri completely disabled.

It seems to be a fairly common issue that Voice Control randomly activates itself while music is playing, but in my case, of course, music isn’t playing when this happens. I’ve only been able to find a few other cases where unpausing is specifically mentioned: there’s a post in a MacRumors thread (no answer in the thread) and a previous question here (which doesn’t mention whether Voice Control has been disabled and also has no answers).

I’ve tried changing to the standard Apple headphones – no change. Unpausing using the headphone remote still activates Voice Control if I wait more than 30 or so seconds or neglect to stand completely still.

Why/how does this happen? How do my headphones manage to activate Voice Control when it is otherwise disabled as much as it can be? And more importantly, is there a way to stop it?

Magento 2 EE remove url trailing slash though htaccess

I am using below code in htaccess to remove trailing slash in urls. But after adding this code my admin panel stops working and shows error – Too many redirects.

remove trailing slash

RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{THE_REQUEST} \s(.+?)/+[?\s] RewriteRule ^(.+?)/$ /$ 1 [R=301,L]

Please provide a solution.

Can I enter the UK with short term study visa even though my course is over?

I was enrolled in a student exchange program for a two-week internship at a university in the UK, but unfortunately my visa’s processing got delayed, and I received my passport with visa too late and missed the course. I hold a Palestinian passport.

Now I’m thinking to use my visa to enter the UK again this summer ,to attend a conference. I’m afraid that I would get rejected since my visa was approved for study, and the course that I was attending has finished.

Is there a risk in attempting, or I can enter the uk with no troubles? I do have the visa, but it’s a short-term study visa, Type C.

Chromebook needs to alway authenticate though ADFS

Not sure if this is the best place to post this but if not i’ll delete the question.

We are experimenting with Chromebooks. I’ve set up SSO and ADFS so that the user has to log in using our ADFS.

The problem is that the user only needs to do this once. Once he has done this the Chromebook asks to create a local password en from that point on the local password is required to log in.

I am searching for a way for users to always log in using our ADFS server. As i was told this can only be done by using the password sync but i find that hard to believe since it also works the first time a user logs on.

I’ve tried changing serveral settings where the password age equals 0 but that does not seem to work either

Is there anyone who know how to fix this, or is it even possible?



Excel document opening in web view even though default is to open in program

I have a document library with one Excel spreadsheet in it. The document library’s settings are such that the spreadsheet should be opening in each client’s Excel program, not in Excel Web View. I have one user, however, who is unable to open the spreadsheet because it opens in Web View for him and the document has properties that aren’t supported by Web View. The option for him to open in Excel itself does not work–nothing happens. It needs to open in Excel by default, not Web View, for this user. The user is using IE 11 and does have Office 2010 installed. I’m out of ideas. What could the cause be?

Mongo count query taking long time though index is being used

The following count query is taking lot more time than expected though index is being used and keysExamined , docsExamined are also less

query = {'indxed_field': 'x',  'a': 'test',  'b': {'$  ne': True},  'c': {'$  gte': 100},  'd': 2} 

the query time is varying from 10-30 secs for different values mentioned there.Following is the explain output of same query with find (to get explain)

    {u'$  clusterTime': {u'clusterTime': Timestamp(1554365186, 14),       u'signature': {u'hash': Binary('xxxxxxxxxxxxxx', 0),        u'keyId': 0L}},      u'executionStats': {u'allPlansExecution': [],       u'executionStages': {u'advanced': 16917,        u'alreadyHasObj': 0,        u'docsExamined': 26218,        u'executionTimeMillisEstimate': 11263,        u'filter': {u'$  and': [{u'a': {u'$  eq': u'test'}},          {u'b': {u'$  eq': 2}},          {u'c': {u'$  gte': 100}},          {u'$  nor': [{u'd': {u'$  eq': True}}]}]},        u'inputStage': {u'advanced': 26218,         u'direction': u'forward',         u'dupsDropped': 0,         u'dupsTested': 0,         u'executionTimeMillisEstimate': 40,         u'indexBounds': {u'indxed_field': [u'["x", "y"]']},         u'indexName': u'indxed_field_1',         u'indexVersion': 1,         u'invalidates': 0,         u'isEOF': 1,         u'isMultiKey': False,         u'isPartial': False,         u'isSparse': False,         u'isUnique': False,         u'keyPattern': {u'indxed_field': 1},         u'keysExamined': 26218,         u'multiKeyPaths': {u'indxed_field': []},         u'nReturned': 26218,         u'needTime': 0,         u'needYield': 0,         u'restoreState': 567,         u'saveState': 567,         u'seeks': 1,         u'seenInvalidated': 0,         u'stage': u'IXSCAN',         u'works': 26219},        u'invalidates': 0,        u'isEOF': 1,        u'nReturned': 16917,        u'needTime': 9301,        u'needYield': 0,        u'restoreState': 567,        u'saveState': 567,        u'stage': u'FETCH',        u'works': 26219},       u'executionSuccess': True,       u'executionTimeMillis': 11271,       u'nReturned': 16917,       u'totalDocsExamined': 26218,       u'totalKeysExamined': 26218},      u'ok': 1.0,      u'operationTime': Timestamp(1554365186, 14),      u'queryPlanner': {u'indexFilterSet': False,       u'namespace': u'xxxxxxxxxxxx',       u'parsedQuery': {u'$  and': [{u'indxed_field': {u'$  eq': u'x'}},         {u'a': {u'$  eq': u'test'}},         {u'b': {u'$  eq': 2}},         {u'c': {u'$  gte': 100}},         {u'$  nor': [{u'd': {u'$  eq': True}}]}]},       u'plannerVersion': 1,       u'rejectedPlans': [],       u'winningPlan': {u'filter': {u'$  and': [{u'a': {u'$  eq': u'test'}},          {u'b': {u'$  eq': 2}},          {u'c': {u'$  gte': 100}},          {u'$  nor': [{u'd': {u'$  eq': True}}]}]},        u'inputStage': {u'direction': u'forward',         u'indexBounds': {u'indxed_field': [u'["x", "y"]']},         u'indexName': u'indxed_field_1',         u'indexVersion': 1,         u'isMultiKey': False,         u'isPartial':   False,     u'isSparse': False,     u'isUnique': False,     u'keyPattern': {u'indxed_field': 1},     u'multiKeyPaths': {u'indxed_field': []},     u'stage': u'IXSCAN'},    u'stage': u'FETCH'}},  u'serverInfo': {u'gitVersion': u'xxxxxxxxxxxxxxxxxxxxxxxx',   u'host': u'xxxxxxxxxxxxxxxxxxxxx',   u'port': 27017,   u'version': u'x.x.x'}} 

And I did a count query in one shell and collected the db.currentOp() output in another shell, that is mentioned below

{     "inprog" : [         {             "host" : "xxxxxxxxxx",             "desc" : "conn69767",             "connectionId" : 69767,             "client" : "",             "appName" : "MongoDB Shell",             "clientMetadata" : {                 "application" : {                     "name" : "MongoDB Shell"                 },                 "driver" : {                     "name" : "MongoDB Internal Client",                     "version" : "4.0.2"                 },                 "os" : {                     "type" : "Linux",                     "name" : "Ubuntu",                     "architecture" : "x86_64",                     "version" : "16.04"                 }             },             "active" : true,             "currentOpTime" : "2019-04-05T11:56:58.102+0000",             "opid" : 13776192,             "lsid" : {                 "id" : UUID("xxxxxxxxxxxx"),                 "uid" : BinData(0,"xxxxxxxxx")             },             "secs_running" : NumberLong(5),             "microsecs_running" : NumberLong(5141567),             "op" : "command",             "ns" : "my_collection",             "command" : {                 "count" : "my_collection",                 "query" : {                     "indxed_field" : "x",                     "a" : "test",                     "b" : {                         "$  ne" : true                     },                     "c" : {                         "$  gte" : 190                     },                     "d" : 2,                     "is_deleted" : {                         "$  ne" : true                     }                 },                 "fields" : {                  },                 "lsid" : {                     "id" : UUID("xxxxxxxxxxx")                 },                 "$  clusterTime" : {                     "clusterTime" : Timestamp(1554465406, 5),                     "signature" : {                         "hash" : BinData(0,"xxxxxxxxx"),                         "keyId" : NumberLong(0)                     }                 },                 "$  readPreference" : {                     "mode" : "secondaryPreferred"                 },                 "$  db" : "mydb"             },             "planSummary" : "IXSCAN { indxed_field: 1 }",             "numYields" : 260,             "locks" : {                 "Global" : "r",                 "Database" : "r",                 "Collection" : "r"             },             "waitingForLock" : false,             "lockStats" : {                 "Global" : {                     "acquireCount" : {                         "r" : NumberLong(261)                     }                 },                 "Database" : {                     "acquireCount" : {                         "r" : NumberLong(261)                     }                 },                 "Collection" : {                     "acquireCount" : {                         "r" : NumberLong(261)                     }                 }             }         }     ],     "ok" : 1,     "operationTime" : Timestamp(1554465418, 1),     "$  clusterTime" : {         "clusterTime" : Timestamp(1554465418, 1),         "signature" : {             "hash" : BinData(0,"xxxxxxxx"),             "keyId" : NumberLong(0)         }     } } 

I was bit unclear at lockStats section. Any Ideas why the query is taking more time.

why the entry is requried in the hosts file for the SQL connecting even though setting in DNS in Server 2012 R2

why the entry with fully qulified name is requried in the hosts file for the SQL connecting even though it is set in DNS. Our LAN; 1. 2 servers installed Server 2012 R2, they are named as SQL1 and SQL2 and they are in teh same domain. 2. SQL 2016 Standard installed in each server 3. A separate DSN server in the same LAN The problem, SQL2 sever can connect to SQL1 from SSMS, but SQL1 cannot connect to SQL2. The problem is fixed by adding a entry with IP address and fully qualified name in the hosts file in SQL1 server.

it makes me confused. We have a dedicated DNS that has a similar function with hosts in windows. Why SQL uses hosts, instead of DNS, to connect the remote? What would be incorrect configuration that cause this issue? Would this configuration be made in SQL, Windows Server, DNS, Domain or others? Please advise. Thanks John