I am trying to upgrade from 6.13 to 6.14 and am running into a problem. I followed all the instructions about backing up the sites folder and the database, then installed the new version and copied my sites folder back into the new installation, and then ran the upgrade.php script. When I try to view my page it is blank and I am getting this error in the httpd error log:
PHP Fatal error: Call to undefined function node_load() in /var/www/drupal-6.14/includes/menu.inc on line 410

Any ideas?

TIA,
Steve

Comments

Rene de Boer’s picture

I have the same problem (have increased memory and so on).

I updated the poormanscron and biblio modules.

Rene

pinklizad’s picture

Spent 2 days on this one, turned out to be something that noone else had found yet.
Get into your system table, and check that all your module's are point to their correct paths.
Mine turned out to be the node module, and for some reason its supposed path was /site/all/modules, not just /modules.
Hope that gives you some ideas!

sparkweb’s picture

Pinklizad-- Thanks for the post. I found I had the same problem. I am still learning what goes on deep inside Drupal and don't know if this could have happened by some error on its part -- don't think so. It seems to me that Drupal, probably through cron, picks up what is in the file system itself. I had recently moved a bunch of upgrades from a development site to the live site, and in the process may have made some error in putting them in the right place initially, and uploaded the modules folder into the modules folder, thereby creating modules/modules for many of the module files, when that is not where they should be.

Now, that said, I thought I had discovered my upload mistakes in the middle of doing them, and had corrected it, but maybe missed this one. Before I started getting the undefined function error, I had suddenly noticed this extra folder and deleted it. I don't know how else these files could have suddenly been duplicated into the wrong place other than by human error (mine), but hey, crazy shite happens. In any case, after that, Drupal could not longer find the files, and alas the errors.

Moral of the story, beware uploading files to the wrong place and not removing them, as Drupal will find them and you will screw yourself up.

I wonder if there is someone with deeper knowledge of the Drupal system to tell me if this is right.

Live and Learn!