By redaccion on
Hi,
I'm creating a new website with drupal and have a problem. When I acces to the home, "http://www.example.com" recieve this:
Default front page
The requested page could not be found."
But I can access to all the other pages of the site:
"http://www.example.com/admin/*",
"http://www.example.com/user",
"http://www.example.com/users*",
Even I can access to the home with this:
I access to Home › Administer › Site configuration > Site information and by default, the "Default front page" is "node". I change it to "node/1" for example, and nothing happend... still recieve Default front page... The requested page could not be found."
Pls, helpme¡¡¡
Comments
Nobody help ???
Nobody help ???
could be alot of things. Is
could be alot of things. Is the index.php file in the root?
Yes... it's there... I
Yes... it's there...
I install the System as the Installation.txt say... and giveme the error... then delete all the files. After that I use the "Fantastico De Luxe" and nothing... giveme the same error...
I've another Web with drupal from 2 years, and this never happend before...
I've CPanel with ASmallOrange.net...
Are you sure you only
Are you sure you only removed the installation files? You could have inadvertently removed a file that supposed to be there. Here is what the default root directory for drupal should have:
-rw-r--r-- 1 apache apache 262 Aug 9 2006 cron.php
drwx------ 2 apache apache 4.0K Oct 22 15:30 includes
-rw-r--r-- 1 apache apache 980 Dec 5 11:33 index.php
drwxr-xr-x 3 apache apache 4.0K Oct 22 15:30 misc
drwxr-xr-x 35 apache apache 4.0K Oct 22 15:30 modules
drwxr-xr-x 3 apache apache 4.0K Oct 22 15:30 profiles
-rw-r--r-- 1 apache apache 1.6K Dec 5 11:32 robots.txt
drwxr-xr-x 2 apache apache 4.0K Oct 22 15:30 scripts
drwxr-xr-x 4 apache apache 4.0K Oct 22 15:30 sites
drwxr-xr-x 7 apache apache 4.0K Oct 22 15:30 themes
-rw-r--r-- 1 apache apache 25K Feb 3 2008 update.php
-rw-r--r-- 1 apache apache 352 Dec 10 2005 xmlrpc.php
I didn't delete any file...
I didn't delete any file... I've all the files in the list and more... this is the list
includes
misc
modules
profiles
scripts
sites
themes
.htaccess
CHANGELOG.txt
COPYRIGHT.txt
cron.php
data.sql
fantversion.php
index.php
INSTALL.mysql.txt
INSTALL.pgsql.txt
install.php
INSTALL.txt
LICENSE.txt
MAINTAINERS.txt
robots.txt
update.php
UPGRADE.txt
xmlrpc.php
is the whole drupal gone or
is the whole drupal gone or just where the node should be?
looks like it might be under admin/settings/site-information
do you have the default front page set to a node that has been deleted?
edit: nm obviously didn't read whole comment, i don't see how to delete this
my default front page is
my default front page is "node"...
=S
Same problem here - It just happened suddently
I am getting a page not found on my home installation, although home_url/node/ works fine.
It all just started happening suddently around the same time as this post. It's like a time bomb bug went off within Drupal or something...?
url redirection? permissions
url redirection?
permissions change?
caching?
I think you should look in this direction.
time bomb
I had the same problem -- my front page suddenly said "Page Not Found" for no reason. It displayed after I logged in, but it wouldn't display for anonymous users. Non-front pages worked fine.
I "fixed" it by disabling caching (under Site configuration > Performance ). Not the greatest solution, but at least new visitors aren't getting an error.
Cache exclude
If you have a problem with caching but it's for only one or two pages you could use the cache exclude module; http://drupal.org/project/cacheexclude
It comes in handy on a few Drupal projects I have done and still allows the benefit of caching for most of the site.
Thanks!
Your hint that caching may have something to do with it was very helpful to me. I just had to "clear" the cache to make it work again. Many thanks!
tried this too
Disabling caching also worked for me too. I actually had it disabled before, as I always manually cache my pages. I did an update and deleted a few modules that were not in use and then the "page not found" error showed up. As soon as I disabled caching as per your comment, it worked fine. No error :)
Same problem here
1. if I access mydomain.com: I get the header and footer of the theme but in between "The requested page could not be found"
2. if I access mydomain.com/node: I get the normal landing page
if I change the default front page to any other alias, I still am in situation 1
(I run a multisite setup and my other website does not have this problem)
Refering to the Grakhul's post:
1. I think url redirection is not an issue since I can see the header and footer of the theme, also all other pages display correctly
2. I checked permissions but cannot find any issue
3. I cleared the cache but still have the same problem
I appreciate all the suggestions but I'm still puzzled.
It's my fault as usual ;-)
Every time I think there might be a Drupal bug causing a problem, the error turns out to be caused by myself ;-)
Which is good news, I can solve it myself and continue to trust Drupal.
My problem was caused by a rewrite rule I have in the .htaccess file of my website root dir!! (because drupal is installed in a sub directory)
what was that rule?
Hi,
i'm having the same issue. What is the rule you changed?
thanks
Same issue on Front page
I have the same issue on Front page with "page not found" title error message. (http://www.gavinhe.com/videsign/), and futher worse, the primary list is gone. I totally have no idea what happened? I just clicked at the back end to add some sub-primary lists and when I logged out to see the result of my action. it happened there. I can't see primary list as both user and administrator, other pages not finished yet, I had copied page.tpl.php into page-front.tpl.php as a new template for my home page. what's the cause to this issue? any can help ?
<front> Page Not found
Could you please explain in details like what is the error you made in .htaccess file and how you resolve it?
My Solution
I had a client that came to me with this problem. I went to their site home page and it had the header area and footer area, but between them the words "Page Not Found" came up. All of the content had disappeared which had been working fine for years.
In an attempt to find a fix, I went through and tried all the potential solutions on this forum topic as well as several others to no avail. I even started to go into their database to compare it against an old backup to see if I could spot a problem.
Finally, I figured it out. The name of the home page had been inadvertently changed. If you have PathAuto set up, then on the edit page of the home page under 'URL path settings' you will see a checkbox for 'Automatic Alias.' Normally this remained unchecked, and the page name was set manually, so it had never changed in the past.
Someone had checked the box (or it potentially became checked because the computer my client was using to edit the page had crashed just prior to the problem occurring), so the name of the page had changed automatically and nobody had noticed this at first. The problem became apparent because most home pages are simply named 'node' and set to go to 'node' in the Site Information section of the site. That's why some people are able to add 'node' to www.example.com (www.example.com/node) and see the home page. But this didn't work for us because the home page name had been manually changed when the site was originally built. That led us to the solution.
When the site was designed, a number of blocks were created and pointed to the custom home page name. As a result, when the page name changed, these blocks didn't show up. So, when we pulled up the site or clicked any 'home' link, the page didn't exist anymore as it was defined in the Site Information. Therefore, the 'Page Not Found' message showed up.
To fix the problem, we simply re-named the home page back to the original custom name, unclicked the 'Automatic Alias' checkbox so the name wouldn't automatically change again, and then all the page content (blocks) showed up, and the home page began working fine just as before. To prevent this from happening again, I instructed the client about keeping the Automatic Alias checkbox unchecked.
Hope this helps someone with the same problem! Cheers!!
Simple fix.
I was getting of the same page errors as mentioned above. I could see the template, side bars, header and footer BUT no content because it said " Page Not Found" after I updated Drupal. Thank you to Sparky 88 I was able to catch a hint as to what the problem was with my website. If you are having all of the issues like everyone above and have checked your database setup and have no red errors besides the "Page Not Found Error". Try going to your Drupal Site > Log in> Configuration> Site Information > Scroll down to Default Front Page and double check the path. The goal is to tell Drupal which page you want to be your front page, if its the default front page you cant see make sure its blank. If you want to re-route your front page then make suitable changes(similar to forwarding). Hope this helps.