In my Drupal site I got this error in google chrome console:

GET http://domain.com/file?mq8c07 404 (Not Found) 

But I can't find where this file is included, how can I find it?

  • 2
    What makes you think it's a javascript file?
    – Clive
    Jul 20, 2013 at 13:43
  • Its inside <script> tag in my html Jul 20, 2013 at 16:48
  • is it your domain.com or an external site? if external, a lot of these get added dynamically by the likes of google/facebook/twitter/sharing sites/etc via another set of js.
    – Jimajamma
    Jul 21, 2013 at 2:48
  • Its internal, When I logged out it goes away Jul 21, 2013 at 8:58

2 Answers 2


there is a lot of ways a javascript file may be included. Ex: theme.info | drupal_add_js etc. Try clear cache and if not work try to see if you delete any file or some module require any file.


The simple way is search this URL in your codes completly , if you reach bash command prompt you can do it by grep command .

  • 1
    It's good to also take a full SQL dump into a text .sql file, so grep could also look on a copy of your database. With php filter and full html filter, js may come from db as well as from code.
    – Mołot
    Nov 21, 2013 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.