Why do I get 'Page not found' on all nav bar items?

I expect a simple staightforward answer to do with admin settnigs, (which I've been playing with along with ten extra modules, or more!)

Comments

chueewowee’s picture

A sample link is:

./drupal-4.5.2/?q=?q= (for home)

./drupal-4.5.2/?q=?q=blog (for blog)

-----------------------------------------------------
"It's never too late to have a happy childhood."

chueewowee’s picture

The Tracker returns 'Page not found' too, for recent posts. I have to go to a menu item to pick up a post.
-----------------------------------------------------
"It's never too late to have a happy childhood."

neofactor’s picture

Point us to the site.. or is it local host?

If local.. what theme are you running?
Are the nav links auto generated or did you include them yourself?

Is your local site running at http://localhost/drupal-4.5.2/?

The double ?q=?q= makes me think you are adding your own links to the primary link area and you simple are putting in... ?q=blog instead of a link like /drupal-4.5.2/?q=blog

chueewowee’s picture

Thanks for your reply ,

I've ran Kubrizk and Friends electric, Manji (and I think chameleon). It is on localhost (a test site).

The configuration for primary links in the current theme, Friend's Electric is eg.Home: ?q=

I hade tried front_page, but switched it off. Perhaps I need to clear a table, but front-page doesn't have one.

-----------------------------------------------------
"It's never too late to have a happy childhood."

Steven’s picture

The links you enter in the navigation bars should be Drupal paths, i.e. without the ?q=. Drupal will add this automatically depending on your clean URL setting.

--
If you have a problem, please search before posting a question.

chueewowee’s picture

OK thanks, I have to look into drupal paths, but I did just do a quick check on one, and removed the ?q= sign. It works now. I hadn't changed it myself, but it was a result of me attempting to write a path following the instructions for home page in the general (site-wide) settings. Although I subsequently removed the sign "?q=" and replaced it with "node", this has obviously been written into all themes config wholesale , but not been updated!

Anyway You have helped me to solve the problem fairly swiftly, and I am grateful.

If you know a good page explaining Drupal paths, do let me know.

Regards, John

-----------------------------------------------------
"It's never too late to have a happy childhood."

feelsourceenergy’s picture

I had this same issue after upgrading. I went into all nodes not found in phpMyAdmin database and changed all the "uid" fields from "0" to "1." This brought all of my pages and images back.