By ctmiller on
I am getting this error Call to undefined function node_load() in /var/webs/ted/includes/menu.inc on line 408 when I am trying to run drupal 6.6. When I try to run update.php I am given a white screen of death.
Any ideas ?
I am getting this error Call to undefined function node_load() in /var/webs/ted/includes/menu.inc on line 408 when I am trying to run drupal 6.6. When I try to run update.php I am given a white screen of death.
Any ideas ?
Comments
Too little information. What
Too little information. What Drupal version? Is this a new installation? An upgrade? Did the site work before? What did you do?
more information
Drupal build is 6.60.
I upgraded the site to drupal 6.60. Everything was working fine. I updated all of my modules to the current ones that worked fine.
I added token, imce and path auto back then enabled them. Everything was fine. Ran update. Everything worked.
Then suddenly poof and I start getting the error message above. I tried dumping the database to a clean drupal a brand new drupal 6.60 with no modules just the core. I then imported and set drupal to run off of the fubared installation and I get the same error message on it.
Yes the drupal installation the plain jane one worked before I updated the new stuff.
Modules I have panels but am not using it to do anything yet. Also installed and have been working fine are advanced help, calendar,cck,contemplate,date,devel,email,event(not enabled),global,redirect,iconizer,image,imceimage,img assist,lightbox2,links,nicemenu,panels,pathauto,token,views and webform.
I am running a custom version of the zen theme I created which has been working for quite a while.
Also, in which data structure are my nodes actual content stored. If I could pull my pages data itself I could at least reroll a fresh drupal install my theme and modules one at a time time till they are back up and then all I would have to recreate would be the nodes where I could pop the data back in them.
The actual content is in the
The actual content is in the node_revisions table.
The node_load() function reported as missing should be in modules/node/node.module. A short check list:
- The node module should be enabled. It is one of the required modules and Drupal doesn't let you disable it, but anyway check the 'system' table to see if its 'status' is 1.
- The modules/node/node.module file should be undamaged, with permissions to be readable by apache.
- The file should be exactly in that location under Drupal to work. That is hardcoded. Also make sure that there are no duplicate Drupal installations under /modules or /sites/all/modules or /sites/default modules which contain a "node.module" file, which Drupal finds first but can't use.
- Try switching to Garland, just in case.
Thanks for the quick reply
Checked the above list. Node module is enabled. It is in the proper location. Reinstalled the same build I am using in the server as a blank test site. IE i took the drupal I used to update to 6.60 installed it in another server account I created it worked fine. Checked the systems table. It is enabled.
Can't switch to Garland. If I try to go to admin I get this.
Call to undefined function user_access() in /var/webs/ted/includes/menu.inc on line 447.
Something in the database is screwed I believe. I have no idea what that is not letting drupal work right.
Obviously the problem is
Obviously the problem is more general, because user_access() is in user.module. Besides the 'status', also check the paths of node.module and user.module in the 'system' table.
To force-change the theme, you can edit your sites/default/settings.php file and add these at the end:
(If settings.php and its containing directory are write-protected you may need to chmod them first.)
Another possibility is that some code, maybe in a php block, in a php page, in the theme, or in a module changes the current working directory with a
chdir()and, as a result, statements such as include('./some-file') fail. Or, maybe php'sinclude_pathvariable does not contain the "." path (check it by running phpinfo() ), so include('some-file') fails as well.Or some code causes Drupal to not initialize and not load the modules correctly. I don't know...
How much is your php memory limit? (http://drupal.org/node/207036). Because Drupal 6 has higher requirements, try 64M to be sure.
nothing yet will keep trying
Tried setting the themes per above still cant get in admin or run site.
Checked data everything looks like its there
Memory limit is set to 128 meg.
Tried disabling modules in the database.
Still no love :(
Were the paths of
Were the paths of system.module and user.module correct in the system table in the database?
Found the problem
I had stored the drupal 6.6 update in the directory under drupal 6.6. Drupal picked up the path to this directory and used it to store as the path to my modules. Therefore, when I deleted the drupal 6.60 directory when done poof my site went. Ah, at least I know now not to store any of the stuff anywhere near where drupal can use it.
I'm in the same boat.
Any ideas what I can delete/restore to make Drupal look only where it's supposed to find the appropriate system files??? I removed the Drupal615 directory but I think that's what may have broken it in the first place!
Thanks!
Call to undefined function node_load() in drupal 7
Hello friends,
i am facing a problem"Call to undefined function node_load() in /home/content/p/r/e/preetek/html/lexiconc/kuoni/windpower/uat/includes/menu.inc on line 579" with drupal 7, If their is any solution please told me. thanks in advance.
got this error
Got this errorr too and a wpof:(