Drush CC all returning "No Drupal site found, only 'drush' cache was cleared" I've tried other solutions, but none of them are specific to my setup. I just started using the new Linux subsystem featured in the recent Windows 10 update. I'm using WAMP x64 v3.0.6, and have successfully cloned my website and got it up and running. At the root of the Linux subsystem, I installed Drush globally with Composer, using the directions given on the .  Typing drush status returns the following when I run it in my default directory:  Drupal version         :  7.50  Site URI               :  http://default  Database driver        :  mysql  Database hostname      :  localhost  Database port          :  Database username      :  root  Database name          :  aerosphere  PHP executable         :  /usr/bin/php  PHP configuration      :  /etc/php5/cli/php.ini  PHP OS                 :  Linux  Drush script           :  /home/bob/.composer/vendor/drush/drush/drush.php  Drush version          :  7.1.0  Drush temp directory   :  /tmp  Drush configuration    :  Drush alias files      :  Drupal root            :  /mnt/c/wamp64/www/drupal-7.50  Site path              :  sites/default   But, as mentioned in the title, drush cc all returns No Drupal site found, only 'drush' cache was cleared.[warning] I assume it has something to do with adding a path to the .bashrc, but I don't know what to add. Any tips would be greatly appreciated!  My question is different from "", they're on a Mac and using MAMP, and I'm using WAMP on Windows. I've tried the solutions offered on that post, but the issue has not been resolved.  I'm obviously having issues connecting to MySQL as I get this when I run mysql command:     The program 'mysql' can be found in the following packages: * mysql-client-core-5.5 * mariadb-client-core-5.5 * mysql-client-core-5.6 * percona-xtradb-cluster-client-5.5      Try: sudo apt-get install .   So I've added these lines to my .bashrc file:  PATH="$HOME/.composer/vendor/bin:$PATH" export PATH="/mnt/c/wamp64/mysql/mysql5.7.14/bin:$PATH"   The top line was added to get drush working. I've checked multiple times, and I have the path correctly set, but it's still not working.
No Drupal Site Found when clearing cache I installed drush using composer following the instructions here:   When trying to run drush cc all I get this error:     No Drupal site found, only 'drush' cache was cleared.[warning] 'all'   cache was cleared. [success]   I added this line:  export PATH="/Applications/MAMP/bin/php/php5.6.2/bin:$PATH"   to my .bash_profile and restarted bash and MAMP. Still no luck. Any ideas?   This is my drush status:   Drupal version         :  7.36                                                               Site URI               :  http://default                                                     Database driver        :  mysql                                                              Database hostname      :  localhost                                                          Database port          :                                                                     Database username      :  root                                                               Database name          :  srod                                                     PHP executable         :  /usr/bin/php                                                       PHP configuration      :                                                                     PHP OS                 :  Darwin                                                             Drush script           :  /Users/srod/.composer/vendor/drush/drush/drush.php   Drush version          :  7.0-dev                                                            Drush temp directory   :  /tmp                                                               Drush configuration    :                                                                     Drush alias files      :                                                                     Drupal root            :  /Applications/MAMP/htdocs/srodsite                             Site path              :  sites/default      I'm running it from Drupal project folder.
How do I debug when the system freezes or when it crashes back to login? I am fairly new to Ubuntu and I was wonder what a good way is to debug when something crashes?   For example: I installed 11.04 and the default media player banshee makes my laptop crash after a few minutes of playing music. Since the system completely freezes and there is not error message it's hard to find out what is wrong.  Second problem I have is that sometimes the system crashes to login. I am suspecting it to be a Chromium or Flash but I am not 100% sure.  So anybody got some tips on how to debug stuff like this? Where do I get a SIS mirage 672 vga driver? I'm looking for a javascript that can limit the number of lines (by line I mean some text ended by user pressing enter on the keyboard) the user is able to enter in textarea. I've found some solutions but they simply don't work or behave really weird. The best solution would be a jquery plugin that can do the work - something like , but it should be able to limit text line count not character count. What is syntax highlighting and how does it work? I noticed that sometimes my code gets highlighted in different colors when rendered.   What is syntax highlighting? How does it work? Why isn't my code being highlighted correctly? How do I report a bug or request a new language? How do I use syntax highlighting? What languages are currently available on Stack Exchange? How to access the correct `this` inside a callback? Is it possible to identify the font used in a specific document/picture?  Answers to this question should identify:   Possible methods to do this (perhaps one answer per method) and adequately describe how to use it (as opposed to merely stating it); Ways of finding the identified fonts, if possible (free or not); and Any prerequisites associated with the method used, if required (for example, "In order to use method X, your document has to be in format Y").   This question is meant as an FAQ, based on an . Its aim is to facilitate the community with the general procedures involved in font identification. Similar cases are solved on a per-usage basis on 's  tag. Is setting a higher nice level for a process an effective way to reduce its impact on system load/CPU time? I have an rsync cron job which is pushing the server load and triggering monitor alerts.  If I set the job to be run with a high nice level, would that effectively reduce the impact it has on system load values? Is it "5–6 weeks are a lot of time" or "5–6 weeks is a lot of time"? I was just copyediting  and my native English speaker Sprachgefühl told me I had to correct the grammar of one sentence:     ... 5–6 weeks are a lot of time ...   by changing the are to is. But as I was doing so I started wondering why is it that in this case it seems that I have to make the verb disagree with the plural subject?  So is my feeling for English going bad or if I did the right thing, how could I explain this to somebody who's learning English for instance? Most efficient way to append arrays in C#? I am pulling data out of an old-school ActiveX in the form of arrays of doubles. I don't initially know the final number of samples I will actually retrieve.  What is the most efficient way to concatenate these arrays together in C# as I pull them  out of the system? Benefit of date in URL segments I was curious about the date in URL segments, is there any SEO point of benefit? For example the following URLs:  http://techcrunch.com/2013/06/18/netflix-will-launch-in-the-netherlands-later-this-year-as-its-international-expansion-slows/ http://tips-for-new-bloggers.blogspot.in/2007/02/adding-favicon-icon-to-blogger-url.html  https://community.jivesoftware.com/blogs/jivespace/2013/05/15/eol-of-the-html5-ipad-web-app   In all the above URLs there is date segment. The information of those blogs can be fetched via blog stub like "netflix-will-launch-in-the-netherlands-later-this-year-as-its-international-expansion-slows" so why to use that date part? Proving $\frac{\sin x}{x} =\left(1-\frac{x^2}{\pi^2}\right)\left(1-\frac{x^2}{2^2\pi^2}\right) \left(1-\frac{x^2}{3^2\pi^2}\right)\cdots$ How to exclude some files from filename expansion mechanism in bash? Generating correlated binomial random variables I was wondering if it might be possible to generate correlated random binomial variables following a linear transformation approach?  Below, I tried something simple in R and it produces some correlation. But I was wondering if there is a principled way to do this?  X1 = rbinom(1e4, 6, .5) ; X2 = rbinom(1e4, 6, .5) ;  X3 = rbinom(1e4, 6, .5) ; a = .5  Y1 = X1 + (a*X2) ; Y2 = X2 + (a*X3) ## Y1 and Y2 are supposed to be correlated  cor(Y1, Y2) I've seen documentation whereby an \alph command is put around the \begin{enumerate} somewhere, but I'm not entirely sure how that operates... Make locking posts more granular Selecting an ID with a colon in it with jQuery How to choose trace width for very high current PCB? I am currently designing a PCB layout for my team's high current, high voltage project and am having trouble with choosing my trace width.  The circuit is composed of 12 inductors placed in series with short traces connecting them together (about 5mm max length). We are feeding 10μs pulses at ~300A/1000V at a maximum rate of 10 pulses per second by discharching capacitor banks into the coils. The capacitors are recharged by an external source.  I have looked for resources on the subject, but nothing I could find applies to the level of current and voltage we are applying.  Is there a rule for determining trace width for very high current pulses? Grant group traversal rights on a folder Detection of the Electric Charge of a Black Hole By the "No Hair Theorem", three quantities "define" a black hole; Mass, Angular Momentum, and Charge. The first is easy enough to determine, look at the radius of the event horizon and you can use the Schwarzschild formula to compute the mass. Angular Momentum can be found using the cool little ergosphere Penrose "discovered". However, I don't know how to determine the charge of the black hole.   How can an electromagnetic field escape the event horizon of a Reissner-Nordström black hole? Is there any experiment we could theoretically do to a black hole to determine its charge? "To do this" or "For doing this" to start explaining something? Many questions have been asked and answered about "to + bare infinitive" vs "for + gerund" in the middle of a sentence.  However, when one wants to start explaining something, what is better? For instance:  "Now, let us focus on baking the bread.   To do this, start by turning the oven on.", or For doing this, start by turning the oven on."?   Are there even better expressions? I have not found anything concerning this situation, and I feel that the answers about the same problem but in the middle of a sentence do not apply here.