Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By baronmunchowsen on
For some reason, every second or third page that is appearing in my recent hits statistics page is 'Page not found'. However, when I'm browsing around the site I'm not seeing any 'Page not Found' messages.
4 Mar 2007 - 18:27 Page not found /
4 Mar 2007 - 18:27 Access log settings admin/logs/settings
4 Mar 2007 - 18:27 Access log settings admin/logs/settings
4 Mar 2007 - 18:25 Page not found /
4 Mar 2007 - 18:25 Top pages in the past 1 hour admin/logs/pages
4 Mar 2007 - 18:25 Page not found /
4 Mar 2007 - 18:25 Top referrers in the past 1 hour admin/logs/referrers
4 Mar 2007 - 18:25 Page not found /
4 Mar 2007 - 18:25 Top referrers in the past 1 hour admin/logs/referrers
4 Mar 2007 - 18:25 Page not found /
4 Mar 2007 - 18:25 Access log settings admin/logs/settings
4 Mar 2007 - 18:25 Access log settings admin/logs/settings
4 Mar 2007 - 18:25 Page not found /
4 Mar 2007 - 18:25 Access log settings admin/logs/settings
4 Mar 2007 - 18:24 Page not found /
And on the 'top pages' statistics page, 'Page not found' is the most popular:
95 Page not found / 313 ms 30 sec
10 Access control admin/user/access 1238 ms 12 sec
Any ideas?
Comments
could be a few different
could be a few different things. A bad link. An old link that is no longer available. A page from a website that was crawled by search bots and has now been moved.
some more investigation about where the page not founds are coming from would be in order.
the / seems to be the problem, and will take some double checking of links on your part to figure out just where the path is that is referring to /
Thanks for the help. Here
Thanks for the help. Here are few more details for you:
I'm positive that it's not search robots or anything like that as it's on a development server at present. I'm also the only person using the site.
I logged in as a user 'Dolly', and from the homepage, I clicked one of my primary links 'why_bother' and then back to the homepage. In another browser, where I was logged in as the administrator 'Olly' I checked the 'Recent Hits' log and got the following:
Thus it would seem that drupal is doing something inbetween me requesting pages which is generating the 'page not found' link, rather than somebody clicking a bad link?
I have the exact same
I have the exact same problem. Every link I click on my test site also returns a page not found with: http://www.mysite.com// as the page in question.
That's refreshing to know
It's always good to know that someone's in the same boat!
What version of drupal are you using? Mine is Drupal 5.1.
Have you found a solution? I'm still looking.
I've not been able to
I've not been able to reproduce this.
do either of you or both of you ? have a $base_url set in settings.php ?
I didn't have a $base_url specified
I have enabled one in my settings.php file and it has not resolved the issue.
I do have a number of domains pointing at the same site:
www.example.com
www.example.co.uk
etc.
Is this likely to make a difference? I can't see why it would, but hey - what do I know!
Thanks for your help.
I'm glad to come across this
I'm glad to come across this thread, because a site i just launched has 'page not found' as the top hits. I noticed when i hit the homepage, this 'mysterious' page also increments by +1 in hits.
I can't offer much insight into the problem, except that an old live site running 4.6 also has the same problem, so somewhere along the lines - drupal is reading something as an error. Could it be something syntax related within the page structure or the phptemplate engine, that just throws a benign error and drupal has a generic catch all?
Same here
Just to keep up with this discussion and not making a new one, I'm experiencing a similar if not the same problem. Here's what I get:
--
Billy | Major: Accounting | CityTech@CUNY | Student Block.
Any update on this problem?
I'd really appreciate any suggestion. Just wanted to update: I've installed the path_redirect module; thought that it'll redirect all the taxonomy/*/all to their proper pages- it didn't - instead it said that the page will be redirecting to itself [infinite loop], so now I'm lost.
--
Billy | Major: Accounting | CityTech@CUNY | Student Block.
I'm experiencing a similar
I'm experiencing a similar problem, except it's only this single slash thing:
Page not found
/
hovering over it, the link is: http:///
I have base_url set and this is the only issue.
Modern Jurist: A Site For Lawyers
I figured out what was
I figured out what was causing my errors....did you at one time run a different codebase other than drupal and have URLs starting with an underscore? Thats what was doing it for me...google was indexing trying to find old pages like mysite.com/_here/rhejk.html and was getting 404s. For some reason that borks Drupal and it doesnt log the actual url, just a slash.
Either way, here's how to figure it out. Check the IP of those page not founds, if it's google, sign up for their webmaster tools and wait a couple days and it will give you a list of the URLs causing 404s - I clicked them and the message showed up in the logs just like that Page not found /.
As long as the pages listed don't really exist then just dont worry about it, as it will eventually be dropped by the index.
Modern Jurist: A Site For Lawyers
I figured it out as well, although a different problem
I got the same symptom (Page Not Found error in my 'Recent Hits' log showed up almost every other entry). The page listed was just '/' and so it didn't provide any help. However, after looking at the 'Top Page Not Found errors' log I noticed the top message was "modules/location/location.css." Doing a search showed me that the location.css file does not exist in that location and the reference to the file should be removed. It is discussed in http://drupal.org/node/124314. Removing the reference fixed my problems.
Nice work. I had the same
Nice work.
I had the same problem seeing "/" and Page not found errors for it.
Thanks to your lead I checked on the TOp Page not found errors: "admin/logs/page-not-found" and mine was coming from a photoframe module I am not even using, so I disabled it.
No more 404 in my logs (at least not from this).
Thanks!
Same thing here, the top 404
Same thing here, the top 404 errors helped me figure out that mine was coming from a missing favicon.ico..