Updated: Comment #104

Problem/Motivation

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:

  1. #7: Make sure you're not reaching the configured max_execution_time for PHP is not being reached.
  2. #25: Switch back to the default php.ini, restart Apache, and see if install works.
  3. #27: Make sure dependencies[] = field is defined in your install profile's .info file.
  4. #34: Using a different browser (e.g. use Chrome instead of Safari) during installation may help.
  5. #36: Switching the bundled jQuery to version 1.7.1 might fix the problem, at least for Safari users.
  6. #37, #42, #54: Dropping the entire database and installing again might fix the problem.
  7. #45: Limiting the database name length to < 8 characters may fix the problem.
  8. #57: Make sure the database user Drupal is using has all permissions for the database (GRANT ALL ON [db]).
  9. #59: Make sure your browser's cookies are enabled when performing an installation.
  10. #61: Restarting php-fpm fixed the problem.
  11. #66: Setting the $cookie_domain variable in settings.php fixed the problem.
  12. #82: The problem could be related to install.php not loading field.attach.inc at whatever bootstrap level it is running at.
  13. #88: Make sure the $base_url variable in settings.php is correct.
  14. #92: Ensuring the database name had only lowercase ASCII characters fixed the problem.
  15. #108: Make sure your Apache configuration doesn't do anything that might cause cookies to be dropped.

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.

Proposed resolution

None so far.

Remaining tasks

  • Figure out what's causing this issue.
  • Try to get a set of exact steps to reproduce the problem.

User interface changes

None.

API changes

None.

Original report by hyperviper

System Info:
Windows XP SP3
WAMP v2.0
Chrome 2.0.x
Web Root: D:\www
Installation Root: D:\www\wi

Reproduce:

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 :(

Comments

Strange, I've performed several D7 installations recently, all went smoothly.
Make sure your D7 files are to-date with latest CVS ?

Can you verify that field_attach_load() exists in the file modules/field/field.autoload.inc? It should be around line 60.

I just did a D7 install here, and it went absolutely smoothly.

Well, I've already completely deleted the installation so i cannot provide that data.

Status:Active» Fixed

Let's assume this is fixed then. If it resurfaces, it will be noticed big time anyway.

Same Problem

System Info:
Windows XP Pro SP3
WAMP v2.0
Firefox 3.0.10
Web Root: D:\wamp\www
Installation Root: D:\wamp\www\drupal7
Drupal version installed: 7.x-dev 2009-Jun-11

Cannot find file: modules/field/field.autoload.inc

Found the function function field_attach_load() in file modules/field/field.attach.inc line 397

Follows a list of the folder content

----------------------------------------------------------------------------------
C:\wamp\www\drupal7\modules\field>dir
Volume in drive C has no label.
Volume Serial Number is B845-09B6

Directory of C:\wamp\www\drupal7\modules\field

10/06/2009 11:16 p.m. .
10/06/2009 11:16 p.m. ..
06/06/2009 01:17 p.m. 29.214 field.api.php
06/06/2009 09:00 p.m. 39.461 field.attach.inc
28/05/2009 07:05 a.m. 26.838 field.crud.inc
02/06/2009 11:41 p.m. 9.152 field.default.inc
02/06/2009 10:47 a.m. 17.752 field.form.inc
10/06/2009 09:08 p.m. 586 field.info
05/06/2009 03:25 p.m. 15.449 field.info.inc
28/05/2009 07:05 a.m. 4.288 field.install
06/06/2009 01:17 p.m. 19.924 field.module
06/06/2009 09:00 p.m. 77.426 field.test
10/06/2009 11:16 p.m. modules
10/06/2009 11:16 p.m. theme
10 File(s) 240.090 bytes
--------------------------------------------------------------------------------------

Status:Fixed» Active

Status:Active» Fixed

Sorry for the hurried posting before digging into the details.

Finally I found that the problem was in the php configuration.

In the error log found the following during installation.

[10-Jun-2009 23:29:39] PHP Fatal error: Maximum execution time of 90 seconds exceeded in C:\wamp\www\drupal7\includes\database\database.inc on line 1691

There was message "an error ocurred" without any more details. It was quite inconspicuous to make one think it was a fatally flawed installation. Indeed, the installation proceeded to the user and password request, and then the message in the title appeared.

Solved by increasing PHP maximum execution time.

Then reinstalled smoothly

But how do I increase my maximum execution time? Mine is apparently set to 30 seconds. I get the same error, except mine says 30 seconds instead of 90.

EDIT: Nevermind I think I found it in the php.ini file: max_execution_time

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Status:Closed (fixed)» Active

I'm still getting this on 7.x-dev as of 4/19/2010. I upped memory to 128MB, turned off APC and xdebug, and still I get this error. I'm not doing anything special, running Ubuntu 9.10 PHP Version 5.2.10 Apache2. Drupal 6 sites installed and run fine.

When running D7 install it breaks out with an error on front-end saying AJAX load error: An AJAX HTTP request terminated abnormally. Debugging information follows. Path: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=minima...

This is browser independent, at least I tried on Firefox and Chrome and both produced the same result.

[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function field_attach_load() in /var/www/drupal-7.x-dev/includes/entity.inc on line 241, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 1. {main}() /var/www/drupal-7.x-dev/install.php:0, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 2. install_drupal() /var/www/drupal-7.x-dev/install.php:21, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 3. install_run_tasks() /var/www/drupal-7.x-dev/includes/install.core.inc:80, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 4. install_run_task() /var/www/drupal-7.x-dev/includes/install.core.inc:344, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 5. drupal_build_form() /var/www/drupal-7.x-dev/includes/install.core.inc:394, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 6. drupal_process_form() /var/www/drupal-7.x-dev/includes/form.inc:225, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 7. form_execute_handlers() /var/www/drupal-7.x-dev/includes/form.inc:636, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 8. install_configure_form_submit() /var/www/drupal-7.x-dev/includes/form.inc:1053, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 9. user_load() /var/www/drupal-7.x-dev/includes/install.core.inc:1738, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 10. user_load_multiple() /var/www/drupal-7.x-dev/modules/user/user.module:289, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 11. entity_load() /var/www/drupal-7.x-dev/modules/user/user.module:225, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 12. DrupalDefaultEntityController->load() /var/www/drupal-7.x-dev/includes/common.inc:6421, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 13. UserController->attachLoad() /var/www/drupal-7.x-dev/includes/entity.inc:130, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...
[Mon Apr 19 17:05:00 2010] [error] [client 127.0.0.1] PHP 14. DrupalDefaultEntityController->attachLoad() /var/www/drupal-7.x-dev/modules/user/user.module:271, referer: http://localhost/drupal-7.x-dev/install.php?q=install.php&profile=standa...

To further add to that, only 31 tables are created.

`actions`;
`authmap`;
`batch`;
`blocked_ips`;
`cache`;
`cache_bootstrap`;
`cache_form`;
`cache_menu`;
`cache_page`;
`cache_path`;
`date_formats`;
`date_format_locale`;
`date_format_type`;
`file_managed`;
`flood`;
`history`;
`menu_links`;
`menu_router`;
`queue`;
`registry`;
`registry_file`;
`role`;
`role_permission`;
`semaphore`;
`sequences`;
`sessions`;
`system`;
`url_alias`;
`users`;
`users_roles`;
`variable`;

Status:Active» Postponed (maintainer needs more info)

nowarninglabel,

Have you checked to see if you received a 'Maximum execution time' error? If so please post the number of seconds.

Nope, no max execution time error in the error logs, the results are returned pretty quickly, and I have my max. exec. times set at 90 seconds. This is definitely a weird issue, but it's obvious the installation is not getting through the process, and the reason it is stopping has to be the "AJAX error" described above, and then this field_attach_load() error is just a symptom of the installation failing at a certain point (all expected tables are not created).

Maybe I can try an installation in Firefox using Live HTTP Headers and see what these AJAX calls are trying to do. When did AJAX get into the install, and does anyone have a good place to start for me to find out about these new Javascript additions to the install process for D7, so I can try to debug?

Also, I am quite open to the idea that this may be platform specific. I installed D7 on Windows on a XAMPP stack using Firefox without a problem (though it was an earlier release). I've reproduced this problem on two Ubuntu boxes though. So, could be something related to the particular PHP settings with this Ubuntu LAMP setup.

Priority:Critical» Normal

I'm changing this to normal, not critical. Since I can only reproduce it on Ubuntu but not on Windows.

nowarninglabel,

Would you mind closing out this issue and creating a new one specifically for the instance you are encountering? -- Since it differs drastically from the original issue that was resolved. You are likely to get better support that way.

Status:Postponed (maintainer needs more info)» Closed (fixed)

Ok, although it is the same line and same error, and is in the installation portion, but yes it is a different resolution to this problem, since it is not max. exec time.

Priority:Normal» Critical
Status:Closed (fixed)» Active

Hate to reopen, but just downloaded rc1, stuck it into DAMP and got Fatal error: Call to undefined function field_attach_load() in /Users/david/Sites/D7/includes/entity.inc on line 320 after submitting the Configure site in install.php

DAMP? Seriously? Is that Drupal+Apache+MySql+PHP ? Talk about abusing an acronym.

Can you list the specifications of your setup? Things that will be important to know:

1. OS
2. PHP Version
3. MySQL Version
4. Apache Version

Also, in some cases knowing what version of Pecl has been important.

For example, I ran into a number of issues on my CentOS 5.2 server that have since been resolved. These issues were caused by my outdated version of perl regular expressions instead of anything else.

Priority:Normal» Critical
Status:Fixed» Postponed (maintainer needs more info)

DAMP,
1) Web sites or servers running the proprietary Darwin operating system [wikipedia.org]
2) The Acquia Drupal stack installer for Windows and Mac OS [acquia.com]
3) ...stands for (D)ragonFly + (A)pache + (M)ySQL + (P)ostgreSQL + PHP [vmware.com]

My bet is #1, but until the answers come for what cosmicdreams asked in #19, this report needs more info.

Edited to add that the Acquia installer works for Mac too.

Status:Active» Postponed (maintainer needs more info)

Most recent Acquia stack.
OS X 1.6.x
Apache 2.2.16
Mysql 5.1.50
php 5.2.14

But now that I try to reproduce it at home I can't.

Priority:Critical» Normal
Status:Postponed (maintainer needs more info)» Fixed

Thanks for the further details... Feel free to reopen if you hit this again.

@#20 The DAMP Installer is multi-platform not just an installer for Windows.
It's pretty common Drupal knowledge what DAMP stands for .

Priority:Critical» Normal
Status:Postponed (maintainer needs more info)» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

On Ubuntu and maybe on other OS you can simply mouve your php.ini to php.ini.bak to retrieve the basic configuration of php, it works for me.

Or you can try to comment lines after lines ;)

Version:7.x-dev» 7.2

[Mon Jun 20 10:12:42 2011] [notice] child pid 5363 exit signal Segmentation fault (11)
[Mon Jun 20 10:13:06 2011] [error] [client 127.0.0.1] File does not exist: /srv/www/lib/php/drupal720/admin, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function field_attach_load() in /srv/www/lib/php/drupal720/includes/entity.inc on line 319, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 1. {main}() /srv/www/lib/php/drupal720/install.php:0, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 2. install_drupal($settings = *uninitialized*) /srv/www/lib/php/drupal720/install.php:26, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 3. install_run_tasks($install_state = array ('interactive' => TRUE, 'active_task' => 'install_configure_form', 'completed_task' => 'install_profile_modules', 'database_tables_exist' => TRUE, 'forms' => array (), 'installation_finished' => FALSE, 'locales' => array (0 => class stdClass { ... }), 'parameters' => array ('profile' => 'standard', 'locale' => 'en'), 'parameters_changed' => FALSE, 'profile_info' => array ('name' => 'Standard', 'description' => 'Install with commonly used features pre-configured.', 'version' => '7.2', 'core' => '7.x', 'dependencies' => array (...), 'files' => array (...), 'project' => 'drupal', 'datestamp' => '1306357016', 'distribution_name' => 'Drupal', 'hidden' => FALSE, 'php' => '5.2.4'), 'profiles' => array ('standard' => class stdClass { ... }, 'minimal' => class stdClass { ... }, 'testing' => class stdClass { ... }), 'server' => array (), 'settings_verified' => TRUE, 'stop_page_request' => FALSE, 'task_not_complete' => FALSE, 'tasks_performed' => array (0 => 'install_select_profile', 1 => 'install_select_locale', 2 => 'install_load_profile', 3 => 'install_bootstrap_full'))) /srv/www/lib/php/drupal720/includes/install.core.inc:79, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 4. install_run_task($task = array ('display_name' => 'Configure site', 'type' => 'form', 'display' => TRUE, 'run' => 3, 'function' => 'install_configure_form'), $install_state = array ('interactive' => TRUE, 'active_task' => 'install_configure_form', 'completed_task' => 'install_profile_modules', 'database_tables_exist' => TRUE, 'forms' => array (), 'installation_finished' => FALSE, 'locales' => array (0 => class stdClass { ... }), 'parameters' => array ('profile' => 'standard', 'locale' => 'en'), 'parameters_changed' => FALSE, 'profile_info' => array ('name' => 'Standard', 'description' => 'Install with commonly used features pre-configured.', 'version' => '7.2', 'core' => '7.x', 'dependencies' => array (...), 'files' => array (...), 'project' => 'drupal', 'datestamp' => '1306357016', 'distribution_name' => 'Drupal', 'hidden' => FALSE, 'php' => '5.2.4'), 'profiles' => array ('standard' => class stdClass { ... }, 'minimal' => class stdClass { ... }, 'testing' => class stdClass { ... }), 'server' => array (), 'settings_verified' => TRUE, 'stop_page_request' => FALSE, 'task_not_complete' => FALSE, 'tasks_performed' => array (0 => 'install_select_profile', 1 => 'install_select_locale', 2 => 'install_load_profile', 3 => 'install_bootstrap_full'))) /srv/www/lib/php/drupal720/includes/install.core.inc:342, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 5. drupal_build_form($form_id = 'install_configure_form', $form_state = array ('build_info' => array ('args' => array (...)), 'temporary' => array (), 'programmed' => FALSE, 'cache' => FALSE, 'no_redirect' => TRUE, 'rebuild' => FALSE, 'rebuild_info' => array (), 'redirect' => NULL, 'submitted' => TRUE, 'executed' => FALSE, 'method' => 'post', 'groups' => array ('site_information' => array (...), 'admin_account' => array (...), 'server_settings' => array (...), 'update_notifications' => array (...)), 'buttons' => array (0 => array (...)), 'input' => array ('site_name' => 'well-connected', 'site_mail' => 'support@well-connected.net', 'account' => array (...), 'site_default_country' => 'NZ', 'clean_url' => '0', 'date_default_timezone' => 'Pacific/Auckland', 'update_status_module' => array (...), 'form_build_id' => 'form-dTljyrhAndmguV2_LLBvy9_FpOSiEZqJeg_Ed_qwzyg', 'form_id' => 'install_configure_form', 'op' => 'Save and continue'), 'values' => array ('site_name' => 'well-connected', 'site_mail' => 'support@well-connected.net', 'account' => array (...), 'site_default_country' => 'NZ', 'date_default_timezone' => 'Pacific/Auckland', 'clean_url' => '0', 'update_status_module' => array (...), 'submit' => 'Save and continue', 'form_build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_id' => 'install_configure_form', 'op' => 'Save and continue'), 'complete form' => array ('site_information' => array (...), 'admin_account' => array (...), 'server_settings' => array (...), 'update_notifications' => array (...), 'actions' => array (...), '#form_id' => 'install_configure_form', '#type' => 'form', '#build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_build_id' => array (...), 'form_id' => array (...), '#id' => 'install-configure-form', '#method' => 'post', '#action' => '/lib/php/drupal720/install.php?profile=standard&locale=en', '#theme_wrappers' => array (...), '#tree' => FALSE, '#parents' => array (...), '#validate' => array (...), '#submit' => array (...), '#theme' => array (...), '#processed' => FALSE, '#defaults_loaded' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#array_parents' => array (...), '#validated' => TRUE), 'process_input' => TRUE, 'triggering_element' => array ('#type' => 'submit', '#value' => 'Save and continue', '#weight' => 15, '#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#limit_validation_errors' => FALSE, '#process' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => FALSE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-submit'), 'clicked_button' => array ('#type' => 'submit', '#value' => 'Save and continue', '#weight' => 15, '#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#limit_validation_errors' => FALSE, '#process' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => FALSE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-submit'))) /srv/www/lib/php/drupal720/includes/install.core.inc:392, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 6. drupal_process_form($form_id = 'install_configure_form', $form = array ('site_information' => array ('#type' => 'fieldset', '#title' => 'Site information', '#collapsible' => FALSE, 'site_name' => array (...), 'site_mail' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-site-information', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'admin_account' => array ('#type' => 'fieldset', '#title' => 'Site maintenance account', '#collapsible' => FALSE, 'account' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.001, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-admin-account', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), 'server_settings' => array ('#type' => 'fieldset', '#title' => 'Server settings', '#collapsible' => FALSE, 'site_default_country' => array (...), 'date_default_timezone' => array (...), 'clean_url' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.002, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-server-settings', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'update_notifications' => array ('#type' => 'fieldset', '#title' => 'Update notifications', '#collapsible' => FALSE, 'update_status_module' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.003, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-update-notifications', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'actions' => array ('#type' => 'actions', 'submit' => array (...), '#theme_wrappers' => array (...), '#process' => array (...), '#weight' => 100, '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-actions', '#validated' => TRUE), '#form_id' => 'install_configure_form', '#type' => 'form', '#build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_build_id' => array ('#type' => 'hidden', '#value' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', '#id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', '#name' => 'form_build_id', '#input' => TRUE, '#process' => array (...), '#theme' => 'hidden', '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.005, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), 'form_id' => array ('#type' => 'hidden', '#value' => 'install_configure_form', '#id' => 'edit-install-configure-form', '#input' => TRUE, '#process' => array (...), '#theme' => 'hidden', '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.006, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#name' => 'form_id', '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), '#id' => 'install-configure-form', '#method' => 'post', '#action' => '/lib/php/drupal720/install.php?profile=standard&locale=en', '#theme_wrappers' => array (0 => 'form'), '#tree' => FALSE, '#parents' => array (), '#validate' => array (0 => 'install_configure_form_validate'), '#submit' => array (0 => 'install_configure_form_submit'), '#theme' => array (0 => 'install_configure_form'), '#processed' => FALSE, '#defaults_loaded' => TRUE, '#required' => FALSE, '#attributes' => array (), '#title_display' => 'before', '#array_parents' => array (), '#validated' => TRUE), $form_state = array ('build_info' => array ('args' => array (...)), 'temporary' => array (), 'programmed' => FALSE, 'cache' => FALSE, 'no_redirect' => TRUE, 'rebuild' => FALSE, 'rebuild_info' => array (), 'redirect' => NULL, 'submitted' => TRUE, 'executed' => FALSE, 'method' => 'post', 'groups' => array ('site_information' => array (...), 'admin_account' => array (...), 'server_settings' => array (...), 'update_notifications' => array (...)), 'buttons' => array (0 => array (...)), 'input' => array ('site_name' => 'well-connected', 'site_mail' => 'support@well-connected.net', 'account' => array (...), 'site_default_country' => 'NZ', 'clean_url' => '0', 'date_default_timezone' => 'Pacific/Auckland', 'update_status_module' => array (...), 'form_build_id' => 'form-dTljyrhAndmguV2_LLBvy9_FpOSiEZqJeg_Ed_qwzyg', 'form_id' => 'install_configure_form', 'op' => 'Save and continue'), 'values' => array ('site_name' => 'well-connected', 'site_mail' => 'support@well-connected.net', 'account' => array (...), 'site_default_country' => 'NZ', 'date_default_timezone' => 'Pacific/Auckland', 'clean_url' => '0', 'update_status_module' => array (...), 'submit' => 'Save and continue', 'form_build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_id' => 'install_configure_form', 'op' => 'Save and continue'), 'complete form' => array ('site_information' => array (...), 'admin_account' => array (...), 'server_settings' => array (...), 'update_notifications' => array (...), 'actions' => array (...), '#form_id' => 'install_configure_form', '#type' => 'form', '#build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_build_id' => array (...), 'form_id' => array (...), '#id' => 'install-configure-form', '#method' => 'post', '#action' => '/lib/php/drupal720/install.php?profile=standard&locale=en', '#theme_wrappers' => array (...), '#tree' => FALSE, '#parents' => array (...), '#validate' => array (...), '#submit' => array (...), '#theme' => array (...), '#processed' => FALSE, '#defaults_loaded' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#array_parents' => array (...), '#validated' => TRUE), 'process_input' => TRUE, 'triggering_element' => array ('#type' => 'submit', '#value' => 'Save and continue', '#weight' => 15, '#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#limit_validation_errors' => FALSE, '#process' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => FALSE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-submit'), 'clicked_button' => array ('#type' => 'submit', '#value' => 'Save and continue', '#weight' => 15, '#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#limit_validation_errors' => FALSE, '#process' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => FALSE, '#required' => FALSE, '#att
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 7. form_execute_handlers($type = 'submit', $form = array ('site_information' => array ('#type' => 'fieldset', '#title' => 'Site information', '#collapsible' => FALSE, 'site_name' => array (...), 'site_mail' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-site-information', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'admin_account' => array ('#type' => 'fieldset', '#title' => 'Site maintenance account', '#collapsible' => FALSE, 'account' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.001, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-admin-account', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), 'server_settings' => array ('#type' => 'fieldset', '#title' => 'Server settings', '#collapsible' => FALSE, 'site_default_country' => array (...), 'date_default_timezone' => array (...), 'clean_url' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.002, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-server-settings', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'update_notifications' => array ('#type' => 'fieldset', '#title' => 'Update notifications', '#collapsible' => FALSE, 'update_status_module' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.003, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-update-notifications', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'actions' => array ('#type' => 'actions', 'submit' => array (...), '#theme_wrappers' => array (...), '#process' => array (...), '#weight' => 100, '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-actions', '#validated' => TRUE), '#form_id' => 'install_configure_form', '#type' => 'form', '#build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_build_id' => array ('#type' => 'hidden', '#value' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', '#id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', '#name' => 'form_build_id', '#input' => TRUE, '#process' => array (...), '#theme' => 'hidden', '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.005, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), 'form_id' => array ('#type' => 'hidden', '#value' => 'install_configure_form', '#id' => 'edit-install-configure-form', '#input' => TRUE, '#process' => array (...), '#theme' => 'hidden', '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.006, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#name' => 'form_id', '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), '#id' => 'install-configure-form', '#method' => 'post', '#action' => '/lib/php/drupal720/install.php?profile=standard&locale=en', '#theme_wrappers' => array (0 => 'form'), '#tree' => FALSE, '#parents' => array (), '#validate' => array (0 => 'install_configure_form_validate'), '#submit' => array (0 => 'install_configure_form_submit'), '#theme' => array (0 => 'install_configure_form'), '#processed' => FALSE, '#defaults_loaded' => TRUE, '#required' => FALSE, '#attributes' => array (), '#title_display' => 'before', '#array_parents' => array (), '#validated' => TRUE), $form_state = array ('build_info' => array ('args' => array (...)), 'temporary' => array (), 'programmed' => FALSE, 'cache' => FALSE, 'no_redirect' => TRUE, 'rebuild' => FALSE, 'rebuild_info' => array (), 'redirect' => NULL, 'submitted' => TRUE, 'executed' => FALSE, 'method' => 'post', 'groups' => array ('site_information' => array (...), 'admin_account' => array (...), 'server_settings' => array (...), 'update_notifications' => array (...)), 'buttons' => array (0 => array (...)), 'input' => array ('site_name' => 'well-connected', 'site_mail' => 'support@well-connected.net', 'account' => array (...), 'site_default_country' => 'NZ', 'clean_url' => '0', 'date_default_timezone' => 'Pacific/Auckland', 'update_status_module' => array (...), 'form_build_id' => 'form-dTljyrhAndmguV2_LLBvy9_FpOSiEZqJeg_Ed_qwzyg', 'form_id' => 'install_configure_form', 'op' => 'Save and continue'), 'values' => array ('site_name' => 'well-connected', 'site_mail' => 'support@well-connected.net', 'account' => array (...), 'site_default_country' => 'NZ', 'date_default_timezone' => 'Pacific/Auckland', 'clean_url' => '0', 'update_status_module' => array (...), 'submit' => 'Save and continue', 'form_build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_id' => 'install_configure_form', 'op' => 'Save and continue'), 'complete form' => array ('site_information' => array (...), 'admin_account' => array (...), 'server_settings' => array (...), 'update_notifications' => array (...), 'actions' => array (...), '#form_id' => 'install_configure_form', '#type' => 'form', '#build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_build_id' => array (...), 'form_id' => array (...), '#id' => 'install-configure-form', '#method' => 'post', '#action' => '/lib/php/drupal720/install.php?profile=standard&locale=en', '#theme_wrappers' => array (...), '#tree' => FALSE, '#parents' => array (...), '#validate' => array (...), '#submit' => array (...), '#theme' => array (...), '#processed' => FALSE, '#defaults_loaded' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#array_parents' => array (...), '#validated' => TRUE), 'process_input' => TRUE, 'triggering_element' => array ('#type' => 'submit', '#value' => 'Save and continue', '#weight' => 15, '#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#limit_validation_errors' => FALSE, '#process' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => FALSE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-submit'), 'clicked_button' => array ('#type' => 'submit', '#value' => 'Save and continue', '#weight' => 15, '#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#limit_validation_errors' => FALSE, '#process' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => FALSE, '#required' => FALSE, '#attributes' => array
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 8. install_configure_form_submit($form = array ('site_information' => array ('#type' => 'fieldset', '#title' => 'Site information', '#collapsible' => FALSE, 'site_name' => array (...), 'site_mail' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-site-information', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'admin_account' => array ('#type' => 'fieldset', '#title' => 'Site maintenance account', '#collapsible' => FALSE, 'account' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.001, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-admin-account', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), 'server_settings' => array ('#type' => 'fieldset', '#title' => 'Server settings', '#collapsible' => FALSE, 'site_default_country' => array (...), 'date_default_timezone' => array (...), 'clean_url' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.002, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-server-settings', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'update_notifications' => array ('#type' => 'fieldset', '#title' => 'Update notifications', '#collapsible' => FALSE, 'update_status_module' => array (...), '#collapsed' => FALSE, '#value' => NULL, '#process' => array (...), '#pre_render' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.003, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-update-notifications', '#groups' => array (...), '#attached' => array (...), '#ajax_processed' => FALSE, '#validated' => TRUE), 'actions' => array ('#type' => 'actions', 'submit' => array (...), '#theme_wrappers' => array (...), '#process' => array (...), '#weight' => 100, '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-actions', '#validated' => TRUE), '#form_id' => 'install_configure_form', '#type' => 'form', '#build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_build_id' => array ('#type' => 'hidden', '#value' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', '#id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', '#name' => 'form_build_id', '#input' => TRUE, '#process' => array (...), '#theme' => 'hidden', '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.005, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), 'form_id' => array ('#type' => 'hidden', '#value' => 'install_configure_form', '#id' => 'edit-install-configure-form', '#input' => TRUE, '#process' => array (...), '#theme' => 'hidden', '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#weight' => 0.006, '#processed' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#name' => 'form_id', '#ajax_processed' => FALSE, '#sorted' => TRUE, '#validated' => TRUE), '#id' => 'install-configure-form', '#method' => 'post', '#action' => '/lib/php/drupal720/install.php?profile=standard&locale=en', '#theme_wrappers' => array (0 => 'form'), '#tree' => FALSE, '#parents' => array (), '#validate' => array (0 => 'install_configure_form_validate'), '#submit' => array (0 => 'install_configure_form_submit'), '#theme' => array (0 => 'install_configure_form'), '#processed' => FALSE, '#defaults_loaded' => TRUE, '#required' => FALSE, '#attributes' => array (), '#title_display' => 'before', '#array_parents' => array (), '#validated' => TRUE), $form_state = array ('build_info' => array ('args' => array (...)), 'temporary' => array (), 'programmed' => FALSE, 'cache' => FALSE, 'no_redirect' => TRUE, 'rebuild' => FALSE, 'rebuild_info' => array (), 'redirect' => NULL, 'submitted' => TRUE, 'executed' => FALSE, 'method' => 'post', 'groups' => array ('site_information' => array (...), 'admin_account' => array (...), 'server_settings' => array (...), 'update_notifications' => array (...)), 'buttons' => array (0 => array (...)), 'input' => array ('site_name' => 'well-connected', 'site_mail' => 'support@well-connected.net', 'account' => array (...), 'site_default_country' => 'NZ', 'clean_url' => '0', 'date_default_timezone' => 'Pacific/Auckland', 'update_status_module' => array (...), 'form_build_id' => 'form-dTljyrhAndmguV2_LLBvy9_FpOSiEZqJeg_Ed_qwzyg', 'form_id' => 'install_configure_form', 'op' => 'Save and continue'), 'values' => array ('site_name' => 'well-connected', 'site_mail' => 'support@well-connected.net', 'account' => array (...), 'site_default_country' => 'NZ', 'date_default_timezone' => 'Pacific/Auckland', 'clean_url' => '0', 'update_status_module' => array (...), 'submit' => 'Save and continue', 'form_build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_id' => 'install_configure_form', 'op' => 'Save and continue'), 'complete form' => array ('site_information' => array (...), 'admin_account' => array (...), 'server_settings' => array (...), 'update_notifications' => array (...), 'actions' => array (...), '#form_id' => 'install_configure_form', '#type' => 'form', '#build_id' => 'form-HCvdFtJ_MNVy-tAfAjMe6Nn0smwdnrrqQAv8_tyqc1I', 'form_build_id' => array (...), 'form_id' => array (...), '#id' => 'install-configure-form', '#method' => 'post', '#action' => '/lib/php/drupal720/install.php?profile=standard&locale=en', '#theme_wrappers' => array (...), '#tree' => FALSE, '#parents' => array (...), '#validate' => array (...), '#submit' => array (...), '#theme' => array (...), '#processed' => FALSE, '#defaults_loaded' => TRUE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#array_parents' => array (...), '#validated' => TRUE), 'process_input' => TRUE, 'triggering_element' => array ('#type' => 'submit', '#value' => 'Save and continue', '#weight' => 15, '#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#limit_validation_errors' => FALSE, '#process' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => FALSE, '#required' => FALSE, '#attributes' => array (...), '#title_display' => 'before', '#id' => 'edit-submit'), 'clicked_button' => array ('#type' => 'submit', '#value' => 'Save and continue', '#weight' => 15, '#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#executes_submit_callback' => TRUE, '#limit_validation_errors' => FALSE, '#process' => array (...), '#theme_wrappers' => array (...), '#defaults_loaded' => TRUE, '#tree' => FALSE, '#parents' => array (...), '#array_parents' => array (...), '#processed' => FALSE, '#required' => FALSE, '#attributes' => array (...), '#
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 9. user_load($uid = 1, $reset = *uninitialized*) /srv/www/lib/php/drupal720/includes/install.core.inc:1818, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 10. user_load_multiple($uids = array (0 => 1), $conditions = array (), $reset = FALSE) /srv/www/lib/php/drupal720/modules/user/user.module:346, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 11. entity_load($entity_type = 'user', $ids = array (0 => 1), $conditions = array (), $reset = FALSE) /srv/www/lib/php/drupal720/modules/user/user.module:271, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 12. DrupalDefaultEntityController->load($ids = array (0 => 1), $conditions = array ()) /srv/www/lib/php/drupal720/includes/common.inc:7442, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 13. UserController->attachLoad($queried_users = array (1 => class stdClass { public $uid = '1'; public $name = 'placeholder-for-uid-1'; public $pass = ''; public $mail = 'placeholder-for-uid-1'; public $theme = ''; public $signature = ''; public $signature_format = NULL; public $created = '1308521545'; public $access = '0'; public $login = '0'; public $status = '1'; public $timezone = NULL; public $language = ''; public $picture = NULL; public $init = ''; public $data = FALSE; public $roles = array (...) }), $revision_id = FALSE) /srv/www/lib/php/drupal720/includes/entity.inc:203, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en
[Mon Jun 20 10:19:29 2011] [error] [client 127.0.0.1] PHP 14. DrupalDefaultEntityController->attachLoad($queried_entities = array (1 => class stdClass { public $uid = '1'; public $name = 'placeholder-for-uid-1'; public $pass = ''; public $mail = 'placeholder-for-uid-1'; public $theme = ''; public $signature = ''; public $signature_format = NULL; public $created = '1308521545'; public $access = '0'; public $login = '0'; public $status = '1'; public $timezone = NULL; public $language = ''; public $picture = NULL; public $init = ''; public $data = FALSE; public $roles = array (...) }), $revision_id = FALSE) /srv/www/lib/php/drupal720/modules/user/user.module:317, referer: http://localhost/lib/php/drupal720/install.php?profile=standard&locale=en

Status:Closed (fixed)» Fixed

I had same problem with custom installation profile.

Problem solved by adding dependency for Field module in profile .info file.

dependencies[] = field

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Version:7.2» 7.7
Priority:Normal» Critical
Status:Closed (fixed)» Needs work

I am getting the same type of problem when trying to install Drupal 7.7.

url: install.php?profile=standard&locale=en

Fatal error: Call to undefined function field_attach_load() in /mnt/hgfs/www/drupal-7.7/includes/entity.inc on line 320

Any ideas?

Thanks

Title:Fatal error: Call to undefined function field_attach_load() in D:\www\wi2\modules\user\user.module on line 270Fatal error: Call to undefined function field_attach_load() in /home/htdocs/drupal7/includes/entity.inc on line 320
Status:Closed (fixed)» Active

I have the same issue too,
I got this error after running the update.php script.
When I go the homepage or any other page I get just white page with this error!

Fatal error: Call to undefined function field_attach_load() in /home/htdocs/drupal7/includes/entity.inc on line 320

@catch,
I don't know how you can make the status of this post fixed or closed, since the problem is still exists in Drupal 7.7.

This has to be fixed, and it is a critical issue!!!

Regards,
Ciril

Status:Active» Closed (fixed)

@Ciril, I marked this one fixed, because there is a different core issue dealing with that error, the bug fixed here was something completely different and re-opening issues for completely different bug reports does not help them get fixed.

Please look at #1171756: Fatal error: Call to undefined function field_attach_load() - prevent installer from continuing through a failed installation

closing again.

I just got this error ... very weird.

I managed to resolve it by changing the version of MySQL that I was using, I'm not 100% sure on this but when I was connecting to MySQL 5.1.49-1ubuntu8.1 (Ubuntun 10.10) from my dev web server, I got the error. However, when I connected to 5.0.51a-24+lenny5 (debian lenny) ... I seem to not get the error.

I'm not saying it's definitely the db (and it seems very strange if it is) ... but seems to be the changing factor. Super weird.

Version:7.7» 7.x-dev
Status:Closed (fixed)» Active
StatusFileSize
new130.47 KB
new77.61 KB

I've reproduced this error with Drupal 7.10 and 7.9 on CentOS.

It appears this is related to a bug in the browser. I'm attaching two pictures to demonstrate the UI diff. When running the installer from Safari it fails with this error and when running from chrome it runs correctly.

edit -

You can see in the pictures the first being chrome and the second safari, that the installer believes it's installing a sqlite db when using safari.

If that is the case, we can assume the problem occurs somewhere in here (d7, includes/install.core.inc)

<?php
  $drivers
= drupal_get_database_types();
 
$drivers_keys = array_keys($drivers);
 
$form['driver'] = array(
   
'#type' => 'radios',
   
'#title' => st('Database type'),
   
'#required' => TRUE,
   
'#default_value' => !empty($database['driver']) ? $database['driver'] : current($drivers_keys),
   
'#description' => st('The type of database your @drupal data will be stored in.', array('@drupal' => drupal_install_profile_distribution_name())),
  );
  if (
count($drivers) == 1) {
   
$form['driver']['#disabled'] = TRUE;
   
$form['driver']['#description'] .= ' ' . st('Your PHP configuration only supports a single database type, so it has been automatically selected.');
  }
 
// Add driver specific configuration options.
 
foreach ($drivers as $key => $driver) {
   
$form['driver']['#options'][$key] = $driver->name();
   
$form['settings'][$key] = $driver->getFormOptions($database);
   
$form['settings'][$key]['#prefix'] = '<h2 class="js-hide">' . st('@driver_name settings', array('@driver_name' => $driver->name())) . '</h2>';
   
$form['settings'][$key]['#type'] = 'container';
   
$form['settings'][$key]['#tree'] = TRUE;
   
$form['settings'][$key]['advanced_options']['#parents'] = array($key);
   
$form['settings'][$key]['#states'] = array(
     
'visible' => array(
       
':input[name=driver]' => array('value' => $key),
      )
    );
  }
 
$form['actions'] = array('#type' => 'actions');
 
$form['actions']['save'] = array(
   
'#type' => 'submit',
   
'#value' => st('Save and continue'),
   
'#limit_validation_errors' => array(
      array(
'driver'),
      array(isset(
$form_state['input']['driver']) ? $form_state['input']['driver'] : current($drivers_keys)),
   ),
   
'#submit' => array('install_settings_form_submit'),
  );
 
$form['errors'] = array();
 
$form['settings_file'] = array('#type' => 'value', '#value' => $settings_file);
  return
$form;
}
?>

I fixed this by updating the bundled jquery to version 1.7.1

I also tested Drupal-7.0 and it exhibits the problem as well. Apparently a change in Safari is causing this.

I solved it simply by droping the current database, create a new one and start the install.php script from scratch. I think it might have to do with something not being configured correctly when initially trying to install. For instance, if you'd been stuck on the Database configuration screen (which I was) due to perhaps, permission errors and eventually made it to configure your site that might be a cause for this error.

I'm on a Windows server with PHP 5.2.6 and MySQL 5.5.15 using Drupal 7.12 install from a ZIP file. Installed it on Firefox, but the problem started with Chrome (doesn't mean it has to do with browsers though)

Hope it helps.

Edit: I've noticed something else that might be of help. When I initially tried to install, I got stuck on the database configuration page and I saw that my prefix for tables 'drupal_' was there with some tables and with some not. Meaning the script got stuck somewhere trying to create the tables. Eventually I got through the config page of the DB and that got me to the user configuration page on which I got the error. Perhaps it had to do with half of the tables not having the expected prefix.

Version:7.x-dev» 8.x-dev
Priority:Critical» Normal
Status:Active» Postponed (maintainer needs more info)

We need steps to reproduce this issue, starting from "Install Drupal core."

1) Install drupal core.
2) cp default.settings.php settings.php
3) chmod a+w settings.php
4) mkdir files
5) chmod a+w files
6) mysql
7) create database drupal_voip7;
8) grant all on drupal_voip7 to drupal@'localhost';
9) Open Safari Version 5.1.2 (7534.52.7)
10) Open the default directory of the site http://example.com/
11) Get redirected to http://example.com/install.php
12) Don't click anything -- Use default profile (Standard) -- don't click radio button
13) Click 'Save and continue'
14) Get redirected to http://example.com/install.php?profile=standard
15) Don't click anything -- Use the default language (English built-in) -- don't click the radio button
16) Click 'Save and continue'
17) Get redirected to http://voip7.stage.mycrux.net/install.php?profile=standard&locale=en
18) Output here:
OK
Web server Apache/2.2.3 (CentOS)
OK
PHP 5.3.8
OK
PHP register globals Disabled
OK
PHP extensions Enabled
OK
Database support Enabled
OK
PHP memory limit -1 (Unlimited)
OK
File system Writable (public download method)
Warning
Unicode library Standard PHP
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.
OK
Settings file The ./sites/default/settings.php file exists.
OK
Settings file The settings file is writable.

19) Click the link 'proceed with installation'
20) Get redirected to: http://example.com/install.php?profile=standard&locale=en&continue=1
21) Don't click anything -- Use the default database type (MySQL, MariaDB, or equivalent) -- don't click the radio button
22) Click with mouse in the box labeled 'Database Name*'
23) Enter via keyboard - drupal_voip7
24) Click with mouse in the box labeled 'Database username *'
25) Enter via keyboard - drupal
26) Click with mouse in the box labeled 'Database password'
27) Enter via keyboard command+v copy and paste function - A password with upper and lower case letters, numbers and exactly 1 @ symbol.
28) Notice but do not click - Advanced options field set is listed twice and is not a hyper link, also a field named 'Database File*' is visible with a default value.
29) Click 'Save and continue'
30) Get redirected to: http://example.com/install.php?profile=standard&locale=en&continue=1&op=...
31) Notice a blank content area and the status bar never appears.

Status:Postponed (maintainer needs more info)» Active

I resolved the mbstring error in step 18 of comment #39 and it had no effect.

I saw a few symptoms posted above same as myself :

1. Fatal error: Call to undefined function field_attach_load()
2. only 31 tables are created.

and one other thread may also be related
/admin/config blank page

My solution :
1. check that it is a clean installation
if you failed installing for the first time, clean your database before installing the second time
2. make sure your php version is 5.3+ but should not be php6+

Version:8.x-dev» 7.12

I got this same error on Mac OS X with Zend Server (PHP 5.3.9-ZS5.6.0) / MySQL 5.1.54, for apple-darwin9.8.0 (i386) / drupal-7.12. It was a fresh install, using Chrome. Note that I would change this from Normal => Critical, to new user it's gotta be very disappointing after reading about the coolness of drupal getting an error on first install. I do this regularly so I'm not surprised, but for a new user it's another story.

Here's the error on browser:

https://img.skitch.com/20120220-pqrftfhieangk77qcpdb6rwd2k.jpg

This is what access and error log say:

==> drupal-access_log <==
127.0.0.1 - - [20/Feb/2012:10:37:57 -0600] "POST /install.php HTTP/1.1" 302 -
127.0.0.1 - - [20/Feb/2012:10:37:57 -0600] "GET /install.php?profile=minimal HTTP/1.1" 200 3999
127.0.0.1 - - [20/Feb/2012:10:37:59 -0600] "POST /install.php?profile=minimal HTTP/1.1" 302 -
127.0.0.1 - - [20/Feb/2012:10:37:59 -0600] "GET /install.php?profile=minimal&locale=en HTTP/1.1" 200 60491
127.0.0.1 - - [20/Feb/2012:10:38:00 -0600] "GET /?q=system%2Ftimezone%2FCST%2F-21600%2F0&date=Mon+Feb+20+2012+10%3A38%3A00+GMT-0600+(CST) HTTP/1.1" 200 18

127.0.0.1 - - [20/Feb/2012:10:38:00 -0600] "GET /admin/config/search/clean-urls/check HTTP/1.1" 200 15
127.0.0.1 - - [20/Feb/2012:10:38:21 -0600] "POST /install.php?profile=minimal&locale=en HTTP/1.1" 200 154
127.0.0.1 - - [20/Feb/2012:10:38:21 -0600] "GET /favicon.ico HTTP/1.1" 404 191
127.0.0.1 - - [20/Feb/2012:10:40:47 -0600] "POST /install.php?profile=minimal&locale=en HTTP/1.1" 200 154
127.0.0.1 - - [20/Feb/2012:10:40:48 -0600] "GET /favicon.ico HTTP/1.1" 404 191

==> drupal-error_log <==
[Sun Feb 19 18:18:10 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function field_attach_load() in /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/includes/entity.inc on line 320, referer: http://drupal/install.php?profile=standard&locale=en
[Sun Feb 19 18:18:10 2012] [error] [client 127.0.0.1] File does not exist: /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/favicon.ico
[Sun Feb 19 18:18:59 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function field_attach_load() in /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/includes/entity.inc on line 320, referer: http://drupal/install.php?profile=standard&locale=en
[Sun Feb 19 18:18:59 2012] [error] [client 127.0.0.1] File does not exist: /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/favicon.ico
[Sun Feb 19 18:19:31 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function field_attach_load() in /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/includes/entity.inc on line 320, referer: http://drupal/install.php?profile=standard&locale=en
[Sun Feb 19 18:19:31 2012] [error] [client 127.0.0.1] File does not exist: /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/favicon.ico
[Mon Feb 20 10:38:21 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function field_attach_load() in /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/includes/entity.inc on line 320, referer: http://drupal/install.php?profile=minimal&locale=en
[Mon Feb 20 10:38:21 2012] [error] [client 127.0.0.1] File does not exist: /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/favicon.ico
[Mon Feb 20 10:40:48 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function field_attach_load() in /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/includes/entity.inc on line 320, referer: http://drupal/install.php?profile=minimal&locale=en
[Mon Feb 20 10:40:48 2012] [error] [client 127.0.0.1] File does not exist: /Users/eromero/Documents/Aptana Studio 3 Workspace/drupal/favicon.ico

Version:7.12» 8.x-dev

Version:8.x-dev» 7.12

If the database name is restricted in length to 7-characters, it seems to work properly (you may only be able to use lower-case alphabetic-characters, numerals, and the under-score character...). This is a MySQL thing that used to be fixed, I thought... I didn't do enough research to prove this is the fix, but changing the database name to fit these requirements worked for me.

Hope this helps!

Version:7.12» 8.x-dev

#45: Can you reproduce that with a fresh install? I seem to be able to install with db name of greater than 7 characters, e.g, the drupal_voip7 as suggested in #39. Though it's possible you are on to something, you just need to confirm the cases.

Also, this needs to be fixed in 8.x first (assuming we can nail down the cause) and then backported to 7.x, so please leave the version number on 8.x

So far I have been able to reproduce this issue consistently on my test server which is behind cloudflare. The two fixes are:

1) Update JQuery in misc/jquery.js to the latest version before running the installer.

2) Disable all of cloudflare's features before running the installer.

I also had this problem today.

Installing D7.12 on Linux, Apache 2.2.17, MySQL 5.1.61-log, PHP 5.2.16. (Wesh hosting)

I first got the error when installing using Firefox and doing Standard install. Tried it again in IE, same thing. Then I deleted all the tables in my database, and went back and did a Minimum install in IE - this time it worked fine.

The reason I tried both Firefox and IE is because of this similar problem installing D6:

http://drupal.org/node/203187#comment-5487354

I have researched this and related issues - often collectively referred to as "The 31 Tables Problem", because it interrupts the table creation process before all 73 or so tables are loaded. See this comment for a semi-exhaustive list of things that have helped people work through this issue. If your fix does not appear in my list, contact me and I will add it to the comment.

Version:8.x-dev» 7.2
Priority:Normal» Critical
Status:Postponed (maintainer needs more info)» Active
Issue tags:-Needs steps to reproduce

Same problem. Fresh standard install. Database name is 6 characters. No cloudflare. Using chrome browser. Error message on Site config. page. (Had trouble and spent some time on the the database config. page.) This is my second time to install drupal, so am a newbie. Should I delete all and reinstall?

Deleted all files. Reinstalled. Used Firefox browser instead of Chrome. Same result.

Please leave on d8

Status:Active» Postponed (maintainer needs more info)
Issue tags:+Needs steps to reproduce

The steps to reproduce in #39 are wonderful and detailed, except they don't work. :\ At least not here. I did all of those steps with the following exceptions:

- Before step 8) I added a step 7.5) which was CREATE USER 'drupal'@'localhost' IDENTIFIED BY 'UPPERlower123@'.
- I also changed step 8) slightly to grant all on drupal_voip7.* to drupal@'localhost'; because the command as written only grants access to a table, not an entire database.
- I did not see the output at step 18) because my multibyte support is set up fine.
- Also, 28) did not happen; the field set was only there once.

I'm on Safari Version 5.1.5 (6534.55.3), PHP 5.3.6, MySQL 5.5.9, Drupal 7.12.

Moving back to postponed (needs more info) and re-tagging.

Version:7.2» 8.x-dev
Priority:Critical» Normal
Status:Active» Postponed (maintainer needs more info)
Issue tags:+Needs steps to reproduce

I fixed this by dropping the database and recreating it.

worked for me to --- just drop and recreate the database -- weird, but works.

Me too. Just droping the database and creating againg worked.

Version:8.x-dev» 7.14
Status:Postponed (maintainer needs more info)» Needs review

Had the same issue. Installer omitted the "Install profile" phase of the installation.
There was only 32 tables in the database.

In the documentation for creating MySQL-tables there directions to grant privileges to database user: GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password';

It seems this step is wrong.

So fed up by now I issued GRANT ALL ON databasename.* etc.

This solved the issue. I assume GRANT ALL is not necessary, but don't have the time to check which privileges the user needs right now.

This was my first post here, so sorry if I do something incorrect.

- Pasi

Version:7.14» 8.x-dev
Status:Needs review» Postponed (maintainer needs more info)

Please provide steps on how to recreate this bug.

Version:8.x-dev» 7.12
Status:Postponed (maintainer needs more info)» Active

We got the same error when we are installing Drupal 7.12 (Pressflow) on Windows XP system. After Googling for some time and trying installation couple of times, we noticed that Borwser Cookies (Firefox 12.0) were disabled. And this was the main reason for this error in our case.

We enabled the Browser Cookies and installaion worked perfectly fine. It might be helpful to some of you!

Same problem
Following standard installation procedure: http://drupal.org/documentation/install/developers

Fatal error: Call to undefined function field_attach_load() in /var/www/drupal-7.13/includes/entity.inc on line 320

Ubuntu 12.04
PHP 5.3.10-1ubuntu3.2 with Suhosin-Patch
mysql 5.5.24
apache 2.2.22

Version:7.12» 7.14

Got same issue on Ubuntu 12.04, php 5.4, mysql 5.5, nginx 1.0.

But I recovered by restarting php-fpm.

Fatal error: Call to undefined function field_attach_load() in /opt/development/test/includes/entity.inc on line 320

Confirmed that deleting the database and creating a new one fixed this problem.

Sounds like from #59 that having cookies disabled causes this?

Let's have someonne try to reproduce this by trying to install with cookies disabled. If it's reproducible, add an issue summary explaining that.

Xjm - This time I tried installing latest Drupal 7.14 on Linux (ubuntu) in Google Chrome Version 20.0.1132.47. I disabled the cookies from settings->privacy->cookies and selected 'Block sites from setting any data'.

It worked fine till the stage of 'Set up database'. But when I click 'Save and continue' after giving database details, I get 'The requested page "/drupal714/" could not be found.' error on next page. And when I checked my database, there are 31 tables gets created. The name of last table is 'variable'.

The same problem is coming when I install Drupal 7.14 on Linux (ubuntu) in Firefox 14.0.1.

But this time, I am not getting any Fatal error like before.

I also had that problem cause I forgot to change the cookie-domain within an additional domain-folder besides the default. After deleting the DB and setting the cookie- and the base-url everything worked fine.

The best item to see if the install works ok is that the site-name is filled with the domain-name if it works. If not it´s empty.

Today I got similar error.
To fix this issue follow below steps
1. Find out php.ini file on you machine. On windows machine it will be under php directory.
2. Open php.ini file and find line having 'max_execution_time'
3. Increased time execution for ex. max_execution_time = 90;
4. Drop database created in earlier installation and create new database
5. Delete existing drupal directory from your htdocs
6. Start fresh drupal installation by taking new drupal installation directory.

Status:Closed (duplicate)» Active

Hello,

Reproducing bug with:

  • Ubuntu 12.04
  • PHP 5.3.10-1ubuntu3.2 with Suhosin-Patch (cli)
  • MySQL Ver 5.5.24-0ubuntu0.12.04.1

But, ONLY when trying to install minimal profile. Didn't get any problem with standard profile.
Cookies where enabled from the beginning on my Firefox.

David

Version:7.14» 7.15

If you have phpmyadmin install on the linux, this would help to resolve this issue. I install phpmyadmin. I look around a lot of sites suggested to do this.

Steps
1. Login into phpmyadmin
2. Go databases
3. whatever the name of your database which was created in the install, check it and drop the database.
4. Re create the database and start the install.php(you should be able to do an install)

This should help. It help me to solve my install issues. I hope this helps everyone.

Priority:Normal» Critical

I just saw this bug on Dreamhost (Debian 5.09, PHP 5.3+, MySQL 5.1.56). Dropping the database and re-creating it, as described by others above, fixed the problem.

As a Drupal novice, I'd like not to have to work around bugs like this to get a basic install running. I'd describe this as critical.

Priority:Critical» Normal

I just ran into this issue too. In my case, having Javascript disabled during the install process is what got me to the PHP Fatal error:

Call to undefined function field_attach_load() in /path/to/site/includes/entity.inc on line 320, referer: http://sitename.dev/install.php?profile=standard&locale=en

Dropping and recreating the database, then rerunning the install process from the beginning fixed the issue for me too. It would be nice of the install process would detect and warn users that Javascript is required.

Version:7.15» 8.x-dev
Status:Active» Postponed (maintainer needs more info)
Issue tags:+needs backport to D7

It would be nice of the install process would detect and warn users that Javascript is required.

JavaScript is not required by the installer; with JavaScript turned off, I can install Drupal fine. If you're testing this as a developer and switching back and forth between JavaScript and no JavaScript it's possible you're running into #608826: Install breaks without Javascript enabled if you have has_js cookie set (if that's still an issue)...

Also, changing status - this issue still needs clear steps to reproduce, and we should assume it affects Drupal 8 too until proven otherwise. It also still sounds like a lot of this may be a duplicate of #791004: Installer does not warn the user that cookies must be enabled with the correct cookie domain (and fails when they aren't), as was mentioned above.

StatusFileSize
new37.06 KB

I try to install Drupal8 with cookies disable. After installation, i will redirect to user login page. See the attachment after installation.

But drupal8 get installed. Once i try to login i got the following error.

Notice: Use of undefined constant FIELD_LOAD_CURRENT - assumed 'FIELD_LOAD_CURRENT' in Drupal\Core\Entity\DatabaseStorageController->loadByProperties() (line 241 of core/lib/Drupal/Core/Entity/DatabaseStorageController.php).

After give the Data Base details during installation, i will redirect to the user login page. I didn't give any admin users details. So i can't login through any user account.

I don't know whether D8 installs fine or not.

Thanks & Regards
Sarav.

I've confirmed the same results that sarav.din33 found. From a fresh, empty database, I ran the installer. It prompted for DB information, then when I clicked finish, it went straight to the login page sarav.din33 has in his screenshot above. I did not get the Notice sarav.din33 mentions above. I also poked around the database, it created the schema for a number of tables, but it didn't get installed far enough for a drush uli to work.

I get this error

Fatal error: Call to undefined function field_attach_load() in \includes\entity.inc on line 320

@ramsundarrp,

can you please list out the steps to reproduce the above error. Which browser and durpal version(7/8) did you try it?

I have this problem too but I am usenig SQL lite. I wonder if it has a simalar issue.

I started getting this error today and it seemed to be related to Safari. I could not reproduce in other browsers.

I am on OS X Version 10.8.2, Build 12C60 using Safari Version 6.0.2 (8536.26.17)

I just had this problem in Firefox with using Drupal 8 on PostgreSQL. I dropped and recreated the database and it worked. The database had been empty of relations, so I don't know what is different between an empty DB and one that is freshly created.

I can't get it to reproduce, but I see it in D 7.18 when I try to install from an existing code base. I archived all the non-core files and the problem persists, but a fresh install doesn't show it.

This is using MAMP 2.1.1.

Poking around, it seems that install.php requires includes/entity.inc, which in turn calls field_attach_load(). However, entity.inc never requires modules/field/field.attach.inc. Since it's a module, I'm assuming it's not loaded at whichever bootstrap level the install script is using at the time.

So either a few more require_once() needed, or perhaps a dependency problem that only surfaces under very weird circumstances.

Version:8.x-dev» 7.x-dev
Status:Postponed (maintainer needs more info)» Closed (duplicate)
Issue tags:-needs backport to D7, -Needs steps to reproduce

I experienced this and found it is a duplicate of #608826: Install breaks without Javascript enabled if you have has_js cookie set

This is not an issue with Drupal 8. Steps to reproduce in D7:

0. Use a browser with javascript enabled
1. Install a site
2. Drop the database tables
3. Disable javascript
4. Install the site again

After the db credentials page, the batch runs just an iteration and only system, user and bartik are installed.

Version:7.x-dev» 7.18
Status:Closed (duplicate)» Needs review

Pretty sure it's not a duplicate... I don't see anything in that other issue about the field_attach_load() error or how to reproduce or fix it. Also I never turned off javascript while installing and I got the error.

I'm getting it as well with Drupal 7.19...

Fatal error: Call to undefined function field_attach_load() in /home/smsprepa/public_html/includes/entity.inc on line 321

Version:7.18» 7.19

Hello.

I "succeeded by mistake" to produce this bug during an install that was blocked during the database setup step. The "Install profile" was then skipped: a refresh on install.php lead to "Configure site".

By deleting the whole database and restarting the install from scratch, the bug was solved. This issue, if I am right, comes from the fact that field is not activated because the "Install profile" step was skipped.

Hopes it can help you.

Best regards,
Julien Thomas.

Same error here.
Fatal error: Call to undefined function field_attach_load() in ../drupal7/includes/entity.inc on line 320

Resolution:
I dropped all 32 tables in the database due to partial install and restarted installation. It succeeded with no problem.

Steps to Reproduce:
I copied the settings.php from sites/SiteA to sites/SiteB.
I changed the www redirect where it said SiteA to SiteB
I ran the installation at SiteB/install.php and it told me that Drupal was already installed plus the URL was now SiteA/install.php?profile=minimal (etc.)
After a few minutes of confusion and checking that DNS and symlinks were correct, I returned to the settings.php and change the baseurl from SiteA.com to SiteB.com.
Re-ran installation and got the above error.

Bottom line:
Careless user error on my part corrupted the install with the wrong base URL.

Suggestion:
Perhaps there could be a check to make sure the domains match and give a warning.

Status:Needs review» Active

Setting back to active as there is no patch here to review.

Thinking about this problem, it seems like the solution here that would cover the disparate scenarios presented would be a simple check which checks that all the database tables that we expected to create during install are actually populated in the database, if not then we throw a warning and a link to re-start the installation. Thoughts?

Me too.
Emptying the database and reinstalling Drupal worked.

XP SP2
Fresh install of XAMP and fresh D7 install

Strange.

******* I noticed that whenever my MySQL database name contains any upper-case letters, after a short while it will revert to all-lower-case-letters and BAM!! the error (seems to me that it can't locate it's original database. LOL)

So I decided to go for a name for my database with all-lower-case-letters, and it works!! *********

StatusFileSize
new91.66 KB

Edit/Resolution: I was able to resolve the below issue by editing settings.php line 281 to have $base_url include https://(domain). Though I haven't had a chance to test it in a multi-site setting yet, I don't believe there will be a problem. Would there be any way of indicating that this change would need to be made via the errors thrown? This took us nearly three weeks to figure out.

I'm not sure if what I'm seeing is related to this issue or not, but the symptoms are the same.

We are unable to install Drupal 7.21, receiving the following error in the error.log consistently:

PHP Fatal error: Call to undefined function field_attach_load() in /var/www/[redact]/includes/entity.inc on line 321, referer: https://[redact]/install.php?profile=standard&locale=en

and the following error in the browser consistently (see attached):

An AJAX HTTP request terminated abnormally. Debugging information follows. Path: http://[redacted]/install.php?profile=standard&locale=en&id=1&op=do StatusText: ResponseText: ReadyState: 4

Note: The Error Page (link): http://[redact]/install.php?profile=standard&locale=en&id=1&op=finished (Completely blank)

This error is thrown almost immediately (.5-1 second) after entering the database details and continuing to the next (progress bar) screen.

The issue seems to be spawning from the fact that Drupal is attempting to perform a HTTP AJAX request, as opposed to a HTTPS request. Due to our network setup (see below), all web traffic to the end user is done via HTTPS and all traffic between the NetScaler is done via HTTP.

In addition to the above errors, only the following tables are created in the database:

actions
authmap
batch
blocked_ips
cache
cache_bootstrap
cache_form
cache_menu
cache_page
cache_path
date_format_locale
date_format_type
date_formats
file_managed
file_usage
flood
menu_links
menu_router
queue
registry
registry_file
role
role_permission
semaphore
sequences
sessions
system
url_alias
users
users_roles
variable

No max execution error message is thrown, though I've attempted to increase both it and the memory_limit in php.ini with no results.

I've attempted to set the $base_url in settings.php to include https:// before the install with no results.

I've attempted to continue with the installation after the error is thrown by navigating back to install.php - When I do this, it has me select my type of install (full) and language (english). After this, it skips directly to the "Configure site" step. After entering in the details here and clicking next, it takes me to a completely blank page. If, from here, I attempt to navigate to the site it displays the Drupal 404 page.

The only workaround I've found for this is as follows:

  1. Set up a SOCKS proxy via SSH to the web server using "ssh -D 8080 gaddie.3@[redacted web server]
  2. Set my web browser to use localhost:8080 as the SOCKS proxy
    • It's important to note that you must remove "localhost" and "127.0.0.1" from the "No Proxy For" list in FireFox.
  3. Change my HOSTS file to have our domain resolve to 127.0.0.1

This setup bypasses the NetScaler and makes it so HTTPS isn't required. Using this method, I'm able to complete the setup successfully over HTTP. Unfortunately, there are some problems with this workaround:

  • Your web server must be listening on port 80 (you can't specify port numbers via your HOSTS file).
    • This poses a problem, as we have multiple sites running on different ports on our web server since it's behind the NetScaler
  • You must use this workaround any time you want to install a new site, making this an unusable work-around for our production environment.

Any help would be greatly appreciated. I'm at a loss on this one.

---Additional Information---

PHP 5.3.3 (cli) (built: Jun 25 2012 04:41:23)
MySQL Server version: 5.0.95-log Source distribution
Server version: Apache/2.2.15 (Unix)
Linux 2.6.32-279.el6.x86_64 #1 x86_64 x86_64 x86_64 GNU/Linux

Our server is set up behind a Citrix NetScaler load balancer that enforces SSL through Content switching so that:

*Any requests made to http://example.com are automatically redirected to https://example.com.
*Any requests made to https://example.com are forwarded through to the web server via HTTP, then the NetScaler forwards the response back to the requester via HTTPS (SSL Offloading).

In the end, the path that all HTTP traffic takes is as such:
User -(443)> NetScaler -(80)> Web Server -(80)> NetScaler -(443)> User

StatusFileSize
new19.88 KB
new81.67 KB

I'm having the same issue with 7.20 and 7.22.
Is there any issue with MySQL 5.5.14 ?

Thx,

I had my settings.php file cookie set as the final live domain instead of the test server location.

That was all about cookie (maybe smth else like execution time).
Fixed by
1. Add
php_flag session.auto_start off
php_flag session.cookie_secure off
to .htaccess
2. drop-create new DB
3. set php.ini file:
max_execution_time = 300
session.auto_start = 0
session.cookie_secure = 0

by the way, installed with MSSQLSE DB

Version:7.19» 8.x-dev
Issue tags:+needs backport to D7

Just chiming in along with @sarav.din33 to indicate that this is still an issue in Drupal 8, so I'm going to bump this issue to D8 for now.

I get a nice critical error when getting to core/install.php?langcode=en&profile=standard

Issue tags:-needs backport to D7

denmorru's recipe in #96 worked like a charm for me

Version:8.x-dev» 7.22
Priority:Normal» Major

Experiencing this as well on 7.22. Set the priority to be major, since this is happening on my first run of the system! It's just a bummer that the first thing you run into when you finally decide to try it out is an error you now have to first solve before you can even try it out.

Fatal error: Call to undefined function field_attach_load() in /Users/.../includes/entity.inc on line 321

This happened right after I installed it. I ran through the guide and on the final step, I got this error. URL: /install.php?profile=minimal&locale=en

The database has been successfully created, but the index page just gives me a "Page not found" wrapped in a Drupal design.

---Additional Information---

Mac OSX v. 10.8.4
XAMPP v. 1.7.3
PHP v. 5.3.1
MySQL Server v. 5.1.44

Title:Fatal error: Call to undefined function field_attach_load() in /home/htdocs/drupal7/includes/entity.inc on line 320Fatal error: Call to undefined function field_attach_load() in /home/htdocs/drupal7/includes/entity.inc on line 321
Assigned:Unassigned» andlil

Thanks Julien !

I have tried every thing 7.22, 7.21, 7.17 and 6.28 with different adding in files , change file attribut etc.
Installed from another PC different OS, differnt IE and even tried with chrome.

Nothing help but one can see that during installatiion steps something is wrong with time for each step. Unfinished and jumps over things.

I have also created new DBs nothing helps exept :

Keep the DB but drop the content - tables and installations gets correct with transfering files. I have never seen it Before since the last two Days. Thanks andlil

Version:7.22» 8.x-dev
Issue tags:-Needs issue summary update+needs backport to D7

@andlil, did you mean to assign yourself to this issue?

Hallo Mile23 !

I´m a new user to drupal and the drupal forum.

I just wanted to send my thanks to the user who gave me a hint what the problem was and its reason to it.

Its a formhandler och server issue, with sending and receiving information from the installation form.

The final solution is for the big guys to fix.
regards andlil

Argh. I'm hitting this now, too... I can install the same codebase/profile on a local environment (MAMP), and on a CentOS virtualbox, but on the live server, the install fails with this error. I've done literally hundreds of Drupal installs on linux/mac/windows/etc. without running into this issue.

I've checked and made sure cookies are enabled, JS is enabled, PHP's settings are correct (plenty of memory, long timeout, cookies the same), and Drupal's settings are the same. But no ability to complete installation (it seems to stop at some point during the system module install and redirect to /).

I'll post back here once I've figured out what's going wrong.

Issue summary:View changes

Made the issue summary an actual issue summary. Wow.

Assigned:andlil» Unassigned

Just spent half an hour updating the issue summary. I think I've encapsulated all the various fixes people found. Still haven't found the issue on my end, but I'm guessing it has to do with vhosts or PHP configuration.

Updating tags.

Title:Fatal error: Call to undefined function field_attach_load() in /home/htdocs/drupal7/includes/entity.inc on line 321Fatal error: Call to undefined function field_attach_load() in includes/entity.inc on line 321 during install

Updating title.

Version:8.x-dev» 7.x-dev

That function doesn't exist anymore in D8, so it seems like a D7 thing. Is this is a fresh vanilla install ?

After a bunch more debugging and troubleshooting, I found there were two problems causing this issue on my site:

  • Apache's virtualhost configuration was set to have the wrong ServerName. I don't know how this happened, or how it still allowed the virtualhost to work for some things, but not others, but this got the install to go further (but not complete).
  • We had the Apache directive Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure in our httpd config. Since I was running the install through http and not https, it seems cookies set by the installer weren't getting stored, and therefore install failed.

Disabling the Set-Cookie header fixed the problem and made it so we could get the install to complete.

Issue summary:View changes

Updated issue summary formatting.

I had this problem on an installation and found this forum topic.

I dropped the drupal db and restarted from /drupal/install.php and its working now.

I figured out what I did differently. I believe I had clicked a 'Save and Continue' button twice. I'm running on Wampserver and things seem slow. However I'm running on an old laptop atm. My second install attempt has just completed successfully. This time waiting for each page to reload proper.

Thanks to geerlingguy. I had the problem with an unusual domain name, and it was cured by deleting the www alias in the apache conf file. No idea why.

I also had this problem. In my case, it was the virtual host configuration on the Apache server.

The default configuration for the virtual host contained the directives:

               RequestHeader unset Cookie
               Header unset Set-Cookie

I commented these out, restarted Apache, and the installation worked properly.

I experienced this problem for 2-3 hours today while trying to install Drupal on my local machine: Mac OS X Mavericks, MAMP 2.2, PHP 5.5.3, Drupal 7.23

Everything was working fine until yesterday (I used to install drupal many times).
Today I updated MAMP and I experienced this frustrating error. I tried many of the solutions proposed on this page without success.
Finally I decided to use PHP 5.2 .17 instead of 5.5 and everything is working OK again.

Was it some bad configuration of PHP 5.5 or what? I don't know, I am very frustrated by this problem and by wasting a lot of time for stupid problems like this.

@gjigandi - In my experience, Drupal 7 works great on PHP 5.2/5.3/5.4 (though there are some warnings logged in 5.4 with certain contrib modules)... but few people have tested D7 with 5.5 yet, so there may be some strange bugs encountered. I haven't installed 5.5 anywhere, so I can't be of much help :(

I run several sites on php5.5 as do others. It is true I have been hit by this problem on php 5.5 once, but I cannot see any reason for this issue being related to the php version. Many of the people in this thread are experienced Drupallers, who have been hit by the bug for over four years, since well before php 5.5 was in use. Nobody has been able to reliably fix it; and with the most highly skilled core devs, whose input is really needed on this tough problem, more interested in Drupal 8, it may never be fixed.

@John_B - I've read through the thread in its entirety, and tried pretty much every suggestion in two or three different environments (Apache/PHP combos, Mac and Linux), and the most common thread I've found is either cookie problems (sometimes related to the browser, other times related to Apache/vhost/settings.php configuration), or javascript problems.

The best fix would probably be for Drupal to somehow detect if cookies are not working properly, or if the domain is messed up, then show a warning in the hook_requirements() phase.

Issue summary:View changes

Added note about comment #108.

Hello, after more than a few days of fighting with this exact bug/issue, I thought I'd chime in with my experience:

The PHP5.5 that is shipping on Ubuntu 13.10 breaks Drupal 7 (I have not tried with d8). Even after installing php5-json to fix ajax errors, You will get this error when trying to install websites. None of the listed solutions at the top of the page worked for me.

Reverting to Ubuntu 13.04 (and hence, PHP5.4) was the only thing that solved my issue, as I do not know enough about the inner workings of PHP5.5 to understand what was going so wrong.

That is more likely to be Ubuntu's move to Apache 2.4, which requires slightly different syntax than 2.2 for setting up virtual hosts. But if incorrect (or even correct) Apache 2.4 configuraton caused the error that would also be interesting.

I agree with #108. I just reproduced this by turning cookies off. The installer is dependent on cookies for passing hidden values it seems. So you should get a warning, i think, and not an execution error when cookies are turned off.

I did the same thing as #112 suggested and reverted back to PHP 5.2.17 instead of PHP 5.5. That did the trick.

If I understood, the only way is to revert back to an oldest PHP version?..

I think that is oversimplifying the thread. My interpretation of the above posts is that that worked for some people and not others. Maybe re-read the thread from the top, and notice the dates of the posts, because my interpretation when I read the therad is that the problem started way before PHP 5.5 was available.

I also think the problem comes from there...

I certainly had this problem before PHP 5.5 was available. I think I was on 5.3.

I'm hitting it today, installing drupal on a my personal VPS.

Fatal error: Call to undefined function field_attach_load() in /var/sites/mydomain.com/includes/entity.inc on line 316

Althought the maximum execution time is set to 90 (and previously to 30) something seems not working as expected. Installation hangs sometimes at different steps.
I'm trying with stable 7.26 version.

Same problem as #116. It turns out to be the opcode cache (OPcache). Either disable it or use this patch: https://drupal.org/comment/8158395#comment-8158395

OPcache is built-in and enabled by default with PHP 5.5.0 and later. It is also available separately for PHP 5.2 - 5.4, which could explain #123.

It is likely that when I had this problem the opcode cache was on.

#125 the patch worked like a charm, thanks a lot!

#125 the patch worked ... thank you

On Ubuntu 12.04, php 5.5.9, nginx 1.1.19 for Drupal 7.26