Voting starts in March for the Drupal Association Board election.
Updated: Comment #104
In certain circumstances, the following error (or something similar) may be displayed during the installation process:
Fatal error: Call to undefined function field_attach_load() in ~\modules\user\user.module on line 270
This error seems to be caused by a problem during the Drupal system installation, causes installation to fail after only creating 31 database tables, and will make requests to the front page of the site display a 'Page not found' error. This seems to happen as a result of various different configuration problems, browser issues, etc. Some of the things you should try to change before throwing your hands up in frustration:
- #7: Make sure you're not reaching the configured
max_execution_timefor PHP is not being reached.
- #25: Switch back to the default php.ini, restart Apache, and see if install works.
- #27: Make sure
dependencies = fieldis defined in your install profile's .info file.
- #34: Using a different browser (e.g. use Chrome instead of Safari) during installation may help.
- #36: Switching the bundled jQuery to version 1.7.1 might fix the problem, at least for Safari users.
- #37, #42, #54: Dropping the entire database and installing again might fix the problem.
- #45, #141: Limiting the database name length to < 8 characters may fix the problem.
- #57: Make sure the database user Drupal is using has all permissions for the database (
GRANT ALL ON [db]).
- #59: Make sure your browser's cookies are enabled when performing an installation.
- #61: Restarting php-fpm fixed the problem.
- #66: Setting the
$cookie_domainvariable in settings.php fixed the problem.
- #82: The problem could be related to install.php not loading field.attach.inc at whatever bootstrap level it is running at.
- #88: Make sure the
$base_urlvariable in settings.php is correct.
- #92: Ensuring the database name had only lowercase ASCII characters fixed the problem.
- #135: If it's an install in an existing Drupal directory, temporarily move all the modules in sites/all/modules out of the Drupal tree while installing.
- #137: Disable the php opcache module before proceeding with installation
- #161: Make sure the PHP variables
= 0and then reinstall Drupal.
As you can see, there are a TON of different things that can cause this issue. The root cause is installation fails during module installation, and won't ever continue past that point until the database is dropped and recreated again.
None so far.
- Figure out what's causing this issue.
- Try to get a set of exact steps to reproduce the problem.
User interface changes
Original report by hyperviper
Windows XP SP3
Web Root: D:\www
Installation Root: D:\www\wi
During the installation, after entering the DB information (db name, user, password, etc) the following error appears:
Fatal error: Call to undefined function field_attach_load() in D:\www\wi2\modules\user\user.module on line 270
This bug is critical since i cannot move forward with installing drupal :(