I am having an odd problem with my site, http://www.canastapedia.com . The two navigation menus are missing and when I tried to go to http://www.canastapedia.com/user to login the page could not be found. The different nodes are still there, and the links on the home page still work. I've viewed the source of the page and the div's for the two nav menus are still there but the stuff that is suppose to be printed out with PHP isn't there. I'm not really sure what is going on or what to do about it, since i can't even log in. Any suggestions anyone could give would be greatly appreciated.

Comments

cog.rusty’s picture

Interesting...

http://www.canastapedia.com -- works ok
http://www.canastapedia.com/user -- page not found
http://www.canastapedia.com/node -- page not found
http://www.canastapedia.com/node/1 -- works ok
http://www.canastapedia.com/node/2 -- works ok

What could have caused this... Check you URL aliases.

Also your custom error page settings, your default front page settings, your pathalias rules (if you are using it), your .htaccess file... Anything unusual with your setup?

AtomicKiwi429’s picture

The only way I know of to check the URL alias and such is through the admin interface and I can't log into the site, I do so through the /user page which can't be found right now. This was a default install that was working fine. I didn't touch it for several months and I came back and it was broken.

cog.rusty’s picture

It must be some internal settings (not .htaccess) because the problem appears with non-clean URLs as well.

I would go to the system table using phpMyAdmin and disable the path module and the pathalias module temporarily, (setting their "status" to 0) to see what happens. Or check their database tables.

trungonly’s picture

I know this topic is since 2007 but today now I ran into it. Looking somewhere I found this is because of the Views module that added a view with the same path admin/user/user that overwritten the user module. This is not good and made me crazy for a while. To solve problem, you just please delete this view or change its path to other than admin/user/user.

bzzzik’s picture

mm... i have the same problem on http://www.out-clinicaltrials.com/ :(
and i don't have any idea how it can be fixed...

cog.rusty’s picture

Have you set up any URL aliases for "node", "user" and " admin"? Or anything more generic?

bzzzik’s picture

nope, only aliases like "node/1" -> "news"..
and i've manually checked DB for 'drupal_url_alias' table - it contains only mine old entries

bzzzik’s picture

well, problem was in some drupal cached data...
i have truncated all drupal_cache* tables and site ran as usual..

maybe it is a some bug of drupal..

thanks for the helping :)

t10barba’s picture

i truncate the table cache (TRUNCATE cache;) but the problem persist. any other suggestion? please help.

bzzzik’s picture

try TRANCATE also for cache_content, cache_filter, cache_menu and cache_page tables

zeryn’s picture

I had the exact same problem. A site had been running for months and the client calls and says the menus are not displaying. I think the cron had not been run either. I log in and discover /user can't be found. After getting access to their server again I cleared the menu cache and it all works.

Thanks for posting...

glazer’s picture

Thanks for the suggestion, truncating all of the cache tables fixed the issue for me too.

Does anyone have any idea of how the cached data got corrupted, or what could be done to prevent this from happening again in the future?

AtomicKiwi429’s picture

Thanks to all for their suggestions and help. Truncating the cache tables also worked for me. thanks again.

ytt’s picture

mmmmm...Sounds like the .htaccess's issue. And is there a alias named "user"? And if you are using a customized theme, It may be the cause of this.

pcorbett’s picture

This happens maybe once a month to me on Drupal 5.10. To fix it, I just have to truncate the cache_page table. None of the other cache tables seem to affect this.

druvision’s picture

Thanks - fixed by clearing the cache. My standard SQL code is

delete from cache_block; delete from cache; delete from cache_content; delete from cache_filter; delete from cache_menu; delete from cache_page; delete from cache_views; delete from watchdog; delete from accesslog;

rikimaru0007’s picture

In phpMyAdmin, click your database name, then click Query
Copy/paste this code or Run this code (Remove open/close php tag)

db_query("TRUNCATE {cache_page}");

You can also use devel module. Install Devel module
then
http://www.yoursitename.com/devel/php (if Clean-Urls are enable)

natrium’s picture

it worked for me too!

thanx a lot

warmth’s picture

You just need... 404 Blocks (D5,D6) or 404 Navigation module (D7)!