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 '13 at 13:43
  • Its inside <script> tag in my html – Mohammad Ali Akbari Jul 20 '13 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 '13 at 2:48
  • Its internal, When I logged out it goes away – Mohammad Ali Akbari Jul 21 '13 at 8:58

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.

| improve this answer | |

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

| improve this answer | |
  • 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 '13 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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