Copied my live site to my local computer. From Windows server 2008 to Windows 7. Took a backup of the database via mysqldump
. Restored the database on the dev-db-server. Now I'm trying to get my local copy up-n-running. Browsing index.php gives me
Fatal error: Call to undefined function node_load() in C:\inetpub\wwwroot\my_drupal\includes\menu.inc on line 577
My hunch is that I have missed some web server settings allowing parent path or similar?
I have installed PHP and 5.3.13 and URL Rewriter via Web Platform Installer. According to CHANGELOG.TXT
I'm running Drupal 7.0
However phpinfo();
works fine.
Edit / Update: I tried to narrow down the error. Following code fails on line 3. If I change the path on line 2 to something wrong the require_once will fail. Apparently IIS is able to find bootstrap.inc
, but bootstrap.inc
cannot find user_access()
define('DRUPAL_ROOT', getcwd());
require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);