0

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?

4
  • 2
    What makes you think it's a javascript file?
    – Clive
    Commented Jul 20, 2013 at 13:43
  • Its inside <script> tag in my html Commented 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
    Commented Jul 21, 2013 at 2:48
  • Its internal, When I logged out it goes away Commented Jul 21, 2013 at 8:58

2 Answers 2

0

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.

2

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
  • 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
    Commented Nov 21, 2013 at 9:30

Your Answer

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

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