Hi,
I am using Drupal 7. I have upgraded it from Drupal 6 a month ago. I am using References, Node References, User References modules. Earlier when I used to upload any content, it automatically used to generate this URL www.mysite.com/node/41210 (41210 is the node id of the content) and when I used to go to the URL, it used to show that particular content. Last week I have added some tables in the database, and now when I open the old content, it is getting opened successfully, but when I generate and new content and try to open that, it gives me this error.
Page not found
The requested page "/node/42393" could not be found....
When I try to look it in the database. It exists in the node table.
I am not sure what the problem is. I have tried to find out and was unsuccessful.
Can anyone help Please?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | menu_router table.jpg | 54.9 KB | Yet Another User |
| #3 | node table.jpg | 96.99 KB | Yet Another User |
Comments
Comment #1
Yet Another User commentedComment #2
fgmI doubt this can have anything to do with References. You should probably check your menu_router table to see if the node/% entry exists and check each of its callbacks to debug what's happening.
Alternatively, you could also do a backup, delete all node/user-reference fields and disable References to see if this fixes the problem. If it does not, it will mean References has nothing to do with the problem and you must look elsewhere.
Comment #3
Yet Another User commentedComment #4
Yet Another User commentedHi,
Thanks for your reply,
I have attached a screenshot of the node table showing the existing node id (content) and menu_router table in the above comment.
When a content is saved in Drupal, how and where does the address gets generated?
How do I find out which module or table is responsible for the error?
You can see in the attachment file node_table.jpg that nid = 42393 exists, but
www.mysite.co.uk/node/42393 says
The requested page "/node/42393" could not be found...
Please help.
Thanks
Comment #5
fgmThe menu_router entry you need is the one for 'node/%', not for 'node'. For more details, I suggest you look at the documentation for the menu system: a 404 like you describe comes from the menu system. https://api.drupal.org/api/drupal/includes!menu.inc/group/menu/7
Comment #6
Yet Another User commented