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:
- #7: Make sure you're not reaching the configured
max_execution_time
for PHP is not being reached. - #25: Switch back to the default php.ini, restart Apache, and see if install works.
- #27: Make sure
dependencies[] = field
is defined in your install profile's .info file. - #34: Using a different browser (e.g. use Chrome instead of Safari) during installation may help.
- #36: Switching the bundled jQuery to version 1.7.1 might fix the problem, at least for Safari users.
- #37, #42, #54: Dropping the entire database and installing again might fix the problem.
- #45, #141: Limiting the database name length to < 8 characters may fix the problem.
- #57: Make sure the database user Drupal is using has all permissions for the database (
GRANT ALL ON [db]
). - #59: Make sure your browser's cookies are enabled when performing an installation.
- #61: Restarting php-fpm fixed the problem.
- #66: Setting the
$cookie_domain
variable in settings.php fixed the problem. - #82: The problem could be related to install.php not loading field.attach.inc at whatever bootstrap level it is running at.
- #88: Make sure the
$base_url
variable in settings.php is correct. - #92: Ensuring the database name had only lowercase ASCII characters fixed the problem.
- #108: Make sure your Apache configuration doesn't do anything that might cause cookies to be dropped.
- #135: If it's an install in an existing Drupal directory, temporarily move all the modules in sites/all/modules out of the Drupal tree while installing.
- #137: Disable the php opcache module before proceeding with installation
- #161: Make sure the PHP variables
session.auto_start
andsession.cookie_secure
are= 0
and then reinstall Drupal.
As you can see, there are a TON of different things that can cause this issue. The root cause is installation fails during module installation, and won't ever continue past that point until the database is dropped and recreated again.
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.
Related Issues
- #791004: Installer does not warn the user that cookies must be enabled with the correct cookie domain (and fails when they aren't)
- #608826: Install breaks without Javascript enabled if you have has_js cookie set
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 :(
Comment | File | Size | Author |
---|---|---|---|
#94 | FirefoxScreenSnapDrupal001.png | 81.67 KB | pascalli |
#94 | FirefoxScreenSnapz015.png | 19.88 KB | pascalli |
#93 | Screen Shot 2013-03-22 at 3.40.28 PM.png | 91.66 KB | gaddie.3 |
#75 | afterinstall_cookie.png | 37.06 KB | sarav.din33 |
#34 | Screen Shot 2012-01-26 at 3.40.28 PM.png | 77.61 KB | ben.bunk |
Comments
Comment #1
yched CreditAttribution: yched commentedStrange, I've performed several D7 installations recently, all went smoothly.
Make sure your D7 files are to-date with latest CVS ?
Comment #2
brianV CreditAttribution: brianV commentedCan 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.
Comment #3
hyperviper CreditAttribution: hyperviper commentedWell, I've already completely deleted the installation so i cannot provide that data.
Comment #4
yched CreditAttribution: yched commentedLet's assume this is fixed then. If it resurfaces, it will be noticed big time anyway.
Comment #5
Sancho Panza CreditAttribution: Sancho Panza commentedSame 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
--------------------------------------------------------------------------------------
Comment #6
Sancho Panza CreditAttribution: Sancho Panza commentedComment #7
Sancho Panza CreditAttribution: Sancho Panza commentedSorry 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
Comment #8
prolific_one CreditAttribution: prolific_one commentedBut 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
Comment #10
coderintherye CreditAttribution: coderintherye commentedI'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...
Comment #11
coderintherye CreditAttribution: coderintherye commentedTo 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`;
Comment #12
codycraven CreditAttribution: codycraven commentednowarninglabel,
Have you checked to see if you received a 'Maximum execution time' error? If so please post the number of seconds.
Comment #13
coderintherye CreditAttribution: coderintherye commentedNope, 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?
Comment #14
coderintherye CreditAttribution: coderintherye commentedAlso, 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.
Comment #15
coderintherye CreditAttribution: coderintherye commentedI'm changing this to normal, not critical. Since I can only reproduce it on Ubuntu but not on Windows.
Comment #16
codycraven CreditAttribution: codycraven commentednowarninglabel,
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.
Comment #17
coderintherye CreditAttribution: coderintherye commentedOk, 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.
Comment #18
dstolHate 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.phpComment #19
cosmicdreams CreditAttribution: cosmicdreams commentedDAMP? 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.
Comment #20
bcn CreditAttribution: bcn commentedDAMP,
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.
Comment #21
dstolMost 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.
Comment #22
bcn CreditAttribution: bcn commentedThanks for the further details... Feel free to reopen if you hit this again.
Comment #23
coderintherye CreditAttribution: coderintherye commented@#20 The DAMP Installer is multi-platform not just an installer for Windows.
It's pretty common Drupal knowledge what DAMP stands for .
Comment #25
claidiere CreditAttribution: claidiere commentedOn 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 ;)
Comment #26
Roland Heymanns CreditAttribution: Roland Heymanns commented[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
Comment #27
anantagati CreditAttribution: anantagati commentedI had same problem with custom installation profile.
Problem solved by adding dependency for Field module in profile .info file.
Comment #29
Mikey Bunny CreditAttribution: Mikey Bunny commentedI 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
Comment #30
catchThat's being dealt with in #1171756: Fatal error: Call to undefined function field_attach_load() - prevent installer from continuing through a failed installation.
Comment #31
Bright Web Design CreditAttribution: Bright Web Design commentedI 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!
@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
Comment #32
catch@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.
Comment #33
AndrewBoag CreditAttribution: AndrewBoag commentedI 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.
Comment #34
ben.bunk CreditAttribution: ben.bunk commentedI'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.
Comment #35
coderintherye CreditAttribution: coderintherye commentedIf that is the case, we can assume the problem occurs somewhere in here (d7, includes/install.core.inc)
Comment #36
ben.bunk CreditAttribution: ben.bunk commentedI 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.
Comment #37
Nehbur CreditAttribution: Nehbur commentedI 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.
Comment #38
xjmWe need steps to reproduce this issue, starting from "Install Drupal core."
Comment #39
ben.bunk CreditAttribution: ben.bunk commented1) 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.
Comment #40
xjmComment #41
ben.bunk CreditAttribution: ben.bunk commentedI resolved the mbstring error in step 18 of comment #39 and it had no effect.
Comment #42
kwongkkt CreditAttribution: kwongkkt commentedI 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+
Comment #43
foxteck CreditAttribution: foxteck commentedI 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
Comment #44
xjmComment #45
kaela CreditAttribution: kaela commentedIf 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!
Comment #46
coderintherye CreditAttribution: coderintherye commented#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
Comment #47
ben.bunk CreditAttribution: ben.bunk commentedSo 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.
Comment #48
lucyconnuk CreditAttribution: lucyconnuk commentedI 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.
Comment #49
lucyconnuk CreditAttribution: lucyconnuk commentedThe reason I tried both Firefox and IE is because of this similar problem installing D6:
http://drupal.org/node/203187#comment-5487354
Comment #50
royce.williams CreditAttribution: royce.williams commentedI 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.
Comment #51
pixelgarden-1 CreditAttribution: pixelgarden-1 commentedSame 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.
Comment #52
marcingy CreditAttribution: marcingy commentedPlease leave on d8
Comment #53
webchickThe 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.
Comment #54
jorluiseptor CreditAttribution: jorluiseptor commentedI fixed this by dropping the database and recreating it.
Comment #55
jtchem CreditAttribution: jtchem commentedworked for me to --- just drop and recreate the database -- weird, but works.
Comment #56
jgsantos CreditAttribution: jgsantos commentedMe too. Just droping the database and creating againg worked.
Comment #57
pasi.jarnstedt CreditAttribution: pasi.jarnstedt commentedHad 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
Comment #58
marcingy CreditAttribution: marcingy commentedPlease provide steps on how to recreate this bug.
Comment #59
amitgoyal CreditAttribution: amitgoyal commentedWe 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!
Comment #60
sobi3ch CreditAttribution: sobi3ch commentedSame problem
Following standard installation procedure: http://drupal.org/documentation/install/developers
Ubuntu 12.04
PHP 5.3.10-1ubuntu3.2 with Suhosin-Patch
mysql 5.5.24
apache 2.2.22
Comment #61
rogical CreditAttribution: rogical commentedGot 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
Comment #62
swamptrunk CreditAttribution: swamptrunk commentedConfirmed that deleting the database and creating a new one fixed this problem.
Comment #63
xjmSounds 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.
Comment #64
amitgoyal CreditAttribution: amitgoyal commentedXjm - 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.
Comment #65
Zgear CreditAttribution: Zgear commentedSee #791004: Installer does not warn the user that cookies must be enabled with the correct cookie domain (and fails when they aren't)
Comment #66
drupal a11y CreditAttribution: drupal a11y commentedI 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.
Comment #67
drupal a11y CreditAttribution: drupal a11y commentedThe 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.
Comment #68
dinesh kudtarkar CreditAttribution: dinesh kudtarkar commentedToday 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.
Comment #69
David Stosik CreditAttribution: David Stosik commentedHello,
Reproducing bug with:
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
Comment #70
hvedam CreditAttribution: hvedam commentedIf 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.
Comment #71
cliotropic CreditAttribution: cliotropic commentedI 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.
Comment #72
marcingy CreditAttribution: marcingy commentedComment #73
Matt V. CreditAttribution: Matt V. commentedI 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:
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.
Comment #74
David_Rothstein CreditAttribution: David_Rothstein commentedJavaScript 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.
Comment #75
sarav.din33 CreditAttribution: sarav.din33 commentedI 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.
Comment #76
disasm CreditAttribution: disasm commentedI'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.
Comment #77
ramsundarrp CreditAttribution: ramsundarrp commentedI get this error
Fatal error: Call to undefined function field_attach_load() in \includes\entity.inc on line 320
Comment #78
sarav.din33 CreditAttribution: sarav.din33 commented@ramsundarrp,
can you please list out the steps to reproduce the above error. Which browser and durpal version(7/8) did you try it?
Comment #79
jamiemarchant CreditAttribution: jamiemarchant commentedI have this problem too but I am usenig SQL lite. I wonder if it has a simalar issue.
Comment #80
highermath CreditAttribution: highermath commentedI 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)
Comment #81
Liam MorlandI 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.
Comment #82
Mile23I 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.
Comment #83
jonhattanI 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.
Comment #84
Mile23Pretty 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.
Comment #85
endou_kenji CreditAttribution: endou_kenji commentedI'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
Comment #86
Mile23Comment #87
JulienThomas CreditAttribution: JulienThomas commentedHello.
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.
Comment #88
benlotter CreditAttribution: benlotter commentedSame 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.
Comment #89
vadym.kononenko CreditAttribution: vadym.kononenko commentedhttp://drupal.org/node/481758#comment-4662644 - works for me.
Comment #90
coderintherye CreditAttribution: coderintherye commentedSetting 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?
Comment #91
FreeXenon CreditAttribution: FreeXenon commentedMe too.
Emptying the database and reinstalling Drupal worked.
XP SP2
Fresh install of XAMP and fresh D7 install
Strange.
Comment #92
g4.music CreditAttribution: g4.music commented******* 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!! *********
Comment #93
gaddie.3 CreditAttribution: gaddie.3 commentedEdit/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:
and the following error in the browser consistently (see attached):
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:
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:
must remove "localhost" and "127.0.0.1" from the "No Proxy For" list in FireFox.
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:
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
Comment #94
pascalli CreditAttribution: pascalli commentedI'm having the same issue with 7.20 and 7.22.
Is there any issue with MySQL 5.5.14 ?
Thx,
Comment #95
deanflory CreditAttribution: deanflory commentedI had my settings.php file cookie set as the final live domain instead of the test server location.
Comment #96
denmorru CreditAttribution: denmorru commentedThat 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
Comment #97
mgiffordJust 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
Comment #98
bdimofte CreditAttribution: bdimofte commenteddenmorru's recipe in #96 worked like a charm for me
Comment #99
dnlmzw CreditAttribution: dnlmzw commentedExperiencing 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
Comment #100
andlil CreditAttribution: andlil commentedThanks 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
Comment #101
Mile23@andlil, did you mean to assign yourself to this issue?
Comment #102
andlil CreditAttribution: andlil commentedHallo 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
Comment #103
geerlingguy CreditAttribution: geerlingguy commentedArgh. 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.
Comment #103.0
geerlingguy CreditAttribution: geerlingguy commentedMade the issue summary an actual issue summary. Wow.
Comment #104
geerlingguy CreditAttribution: geerlingguy commentedJust 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.
Comment #105
geerlingguy CreditAttribution: geerlingguy commentedUpdating tags.
Comment #106
geerlingguy CreditAttribution: geerlingguy commentedUpdating title.
Comment #107
swentel CreditAttribution: swentel commentedThat function doesn't exist anymore in D8, so it seems like a D7 thing. Is this is a fresh vanilla install ?
Comment #108
geerlingguy CreditAttribution: geerlingguy commentedAfter a bunch more debugging and troubleshooting, I found there were two problems causing this issue on my site:
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.
Comment #108.0
geerlingguy CreditAttribution: geerlingguy commentedUpdated issue summary formatting.
Comment #109
pnDev CreditAttribution: pnDev commentedI 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.
Comment #110
John_B CreditAttribution: John_B commentedThanks 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.
Comment #111
charlesj CreditAttribution: charlesj commentedI 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:
I commented these out, restarted Apache, and the installation worked properly.
Comment #112
gjigandi CreditAttribution: gjigandi commentedI 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.
Comment #113
geerlingguy CreditAttribution: geerlingguy commented@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 :(
Comment #114
John_B CreditAttribution: John_B commentedI 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.
Comment #115
geerlingguy CreditAttribution: geerlingguy commented@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.
Comment #115.0
geerlingguy CreditAttribution: geerlingguy commentedAdded note about comment #108.
Comment #116
patrickavella CreditAttribution: patrickavella commentedHello, 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.
Comment #117
John_B CreditAttribution: John_B commentedThat 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.
Comment #118
Eleine CreditAttribution: Eleine commentedI 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.
Comment #119
bwoods CreditAttribution: bwoods commentedI did the same thing as #112 suggested and reverted back to PHP 5.2.17 instead of PHP 5.5. That did the trick.
Comment #120
LexAngel CreditAttribution: LexAngel commentedIf I understood, the only way is to revert back to an oldest PHP version?..
Comment #121
John_B CreditAttribution: John_B commentedI 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.
Comment #122
LexAngel CreditAttribution: LexAngel commentedI also think the problem comes from there...
Comment #123
Liam MorlandI certainly had this problem before PHP 5.5 was available. I think I was on 5.3.
Comment #124
scislaghi CreditAttribution: scislaghi commentedI'm hitting it today, installing drupal on a my personal VPS.
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.
Comment #125
rjb CreditAttribution: rjb commentedSame 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.
Comment #126
Liam MorlandIt is likely that when I had this problem the opcode cache was on.
Comment #127
lprancourt CreditAttribution: lprancourt commented#125 the patch worked like a charm, thanks a lot!
Comment #128
andreid CreditAttribution: andreid commented#125 the patch worked ... thank you
On Ubuntu 12.04, php 5.5.9, nginx 1.1.19 for Drupal 7.26
Comment #129
genfoch01 CreditAttribution: genfoch01 commentedRJB,
Thanks that was exactly my problem. Disabled and the install ran without any issues. Now if I had just seen this 18 hours ago! RJB +1 beer!
Ubuntu 14.04, php 5.5.9, Apache 2.4.7
What are the implications of Disabling vs using the patch?
GF
Comment #130
rjb CreditAttribution: rjb commentedThanks!
The problem is that the cache does not account for cached (PHP-) files being overwritten, like Drupal writing settings.php. After writing this file, the old (cached) version of this file is still being used, which causes many issues. As far as I know, this is the only case that Drupal rewrites a PHP file. The patch causes the cache to be cleared after writing this file.
If there are other cases where a cached file is being overwritten, then the patch is not sufficient. In that case it is better to disable the cache.
Comment #131
suzanne.aldrich CreditAttribution: suzanne.aldrich commentedThe 31 Tables Problem. This is another reason why Drupal can't have nice things. We need a decent installation user experience if the web is to be run by Drupal. This core bug was started on June 4, 2009 at 2:16am, and has now reached over 130 comments, with a number of duplicate issues and discussions (see https://drupal.org/node/1171756#comment-5842376). Most people, after seeing these fatal errors, will give up and move on. This is how to never win. When your bugs start getting names, has your CMS jumped the shark?
Comment #132
genfoch01 CreditAttribution: genfoch01 commentedI don't remember Drupal 6 having this issue when I installed it. I am guessing ( because I am not a developer or coder etc ) that this is an artifact of trying to automate the install process for drupal 7? as I remember having to manually copy the settings php file for drupal 6. it may not have been an issue except for php caching the settings file. I'm unclear if that has always been php behavior or if that's new with the latest php code.
Comment #133
John_B CreditAttribution: John_B commented@suzanne.aldrich I recently saw an issue which has been open for over 10 years. What is the solution?
The present issue will probably never be 'fixed' because the thread contains multiple issues. However, a major one is the opcode cache issue, which has been fixed for D8 https://drupal.org/node/779482. One of us ought to head over there and work on applying the fix to Drupal 7. But these days no one seems much interested in D7, because effort is going into Drupal 8.
Comment #134
FrancescoB CreditAttribution: FrancescoB commentedJust had the same error and someway solved it: in my case I had entered the wrong database data ( don't rememeber if name, username or password), and I got a blank page after clicking the "save and continue" button. I then restarted again typing the setup.php URL directly, but after the initial step the installation skipped the database-related step (where it ask for database name, user name and passowrd ) and went directly to the site data step. I don't remember seing the "progress bar" either. Then after I clicked the Save and Continue button in the site data step, I got another blank page, and in the apache2 log there was the error reported in the issue.
I solved as indicated by dropping and recreating the database.
So I guess the error occurs when you restart the installation procedure after a failure that leaves an unclean situation.
Comment #135
Jeff Veit CreditAttribution: Jeff Veit commentedSame problem... I had a working installation, dropped all the tables so I could run a test on a new install, started the install.. BAM!!
Fix was to temporarily move all the modules I already had downloaded out of sites/all/modules directory during the install, then move them back afterwards.
Comment #136
Jeff Veit CreditAttribution: Jeff Veit commentedComment #137
ayduns CreditAttribution: ayduns commentedOn a clean Ubuntu 14.04 Server build, I had the same problem. Disabling opcache worked for me:
... do the install ...
See explanation by @rjb in #130
Comment #138
DocDJ-forum CreditAttribution: DocDJ-forum commentedField_attach_load problem: I deleted the tables form the DB, but KEPT the DB itself. AFter clicking to complete the "select language", I gave it a LOT of time and it finally went to the site configuration screen. Previously, it just hung there, so I clicked it a 2nd time (bad idea). After completing site config, I also gave it a good bit of time to refresh the screen and my site actually appeared (no content yet, since it's new).
Thanks for posting the list of possible fixes. Maybe this one qualifies???
regards to all,
DJ
Comment #139
mglamanSteps to reproduce: attempt reinstalling on a site that has a partial database install and is missing the registry table. Breaks autoloading, I'm assuming.
Comment #140
Talkless CreditAttribution: Talkless commentedI can confirm #137 - installation fails in Ubuntu 14.04.1 unless opcache is disabled.
Comment #141
sylvaticus CreditAttribution: sylvaticus commentedlike in #45 changing the db name to less the 8 characters solved this issue (I did already dropped several times the DB).
It MUST be a client side error as:
1) I first installed drupal without problems, as normal;
2) for some unrelated problems I had to reinstall Drupal on the same location and got this issue;
3) as I could not get the fix I rolled back a 24-hour snapshot on the server;
4) even if the server was on the same state as in (1) I got the error !
5) I finally changed name of the db shortening to less than 8 characters (just changing the db user and name wasn't enought) and it finally worked
Comment #142
ElliotFriend CreditAttribution: ElliotFriend commentedI can also add that #137 worked for me. The installation was on Linux Mint 17 (based on Ubuntu 14.04).
Comment #143
ElliotFriend CreditAttribution: ElliotFriend commentedComment #144
supadits CreditAttribution: supadits commented#137: Disable the php opcache module before proceeding with installation
Work for me
My Environment
- CentOS 6.5 64bit
- Directadmin Custombuild 2 with php55, php-fpm, zend opcache
Disable opcache by
# vi /usr/local/php55/lib/php.ini
add
opcache.enable=0
save file
# service httpd restart
# service php-fpm55 restart
do the installation
then remove the
opcache.enable=0 from php.ini
restart httpd and php-fpm
Comment #145
sylvaticus CreditAttribution: sylvaticus commentedComment #146
FanisTsiros CreditAttribution: FanisTsiros commentedNone of the above 16 solutions in Issue summary worked!
But no 17 comment #137 (Disabling the php opcache module) also worked for me finaly!
This is in a dedicated server running Debian Wheezy with php 5.5.17 (nginx, php-fpm and mysql).
Also, with php opcache module enabled i had no issues installing drupal 8.0.0. beta 1. This is only a drupal 7 issue.
Comment #147
SpenserJ CreditAttribution: SpenserJ commentedAnother confirmation that this happens in PHP 5.5 with Opcache enabled (default in my installation).
Software:
* Nginx 1.4.6
* PHP 5.5.18
* Drupal 7.32
Comment #148
Anonymous (not verified) CreditAttribution: Anonymous commented#137 worked for me on an ubuntu 14.04 from digitalocean
Comment #149
Fabulous CreditAttribution: Fabulous commentedFor #137 there is a patch that you can apply on Drupal core and no need to disable opcode module or any others opcode cache that you can have : https://www.drupal.org/node/779482#comment-9393137 . I aksed if it's possible to include it in the core directly because it can solve lots of installation problems.
Comment #150
2pha#137 disabling opcache fixed it for me.
Comment #151
ovidenov CreditAttribution: ovidenov commented#137 disabling opcache fixed it for me also !
Good job
Comment #152
mgiffordOk, but how do we fix this?
What we have suggested in #137 is a functional workaround but it seems that the problem still exists.
Might be worth changing the issue summary.
Comment #153
joelpittetNot sure if this is a solution but could be invalidate opcache on the settings.php file?
@see http://php.net/manual/en/function.opcache-invalidate.php
Comment #154
SpenserJ CreditAttribution: SpenserJ commented#149 has solved the issue for me on a fresh install. @joelpittet (#153), looks like adding opcache_invalidate to the bootstrap has reached RTBC with https://www.drupal.org/node/779482#comment-9393137
Comment #155
sbaynham CreditAttribution: sbaynham commentedI had this issue recently with a custom module I was writing. The issue there is that I was running some debug code that included user_load before field_attach and all its friends had been loaded, directly in the body of a module (Dirty, I know. I was in a hurry).
Could this be something to do with it?
Comment #156
MustangGB CreditAttribution: MustangGB commentedPerhaps it's best to mark as a duplicate for the opcache causes, and for anything else create it as a new issue.
Duplicate of #779482: Installation failure when opcode cache is enabled
Comment #157
John_B CreditAttribution: John_B commentedI can see the logic. However, this has been a live issue since long before php included opcache by default. We are fudging the fact that the Drupal 7 installer has been subject to periodic failures (which are not rare) for close on 5 years. Still, this thread is not going get that rather serious situation fixed, so I am leaving it as closed, as fixing it is beyond me, and those who maybe could fix it are busy on D8.
Comment #158
David_Rothstein CreditAttribution: David_Rothstein commentedI just committed #779482: Installation failure when opcode cache is enabled to Drupal 7 which should fix the cause of a lot of these problems.
It sounds like a lot of others are already covered by these two issues:
#791004: Installer does not warn the user that cookies must be enabled with the correct cookie domain (and fails when they aren't)
#608826: Install breaks without Javascript enabled if you have has_js cookie set
(Note that two of the three issues linked to above affect/affected Drupal 8 also, by the way.)
So closing this as a duplicate probably makes sense.
If there are reproducible steps to run into this problem that don't involve any of the above three issues, I would say the best thing to do is create a new issue, dedicated to that particular problem, with the steps to reproduce explained in as much detail as possible, and link to it here. This issue is all over the place because the "call to undefined function" error is a symptom rather than an actual root problem.
About the only reason to reopen this issue, if someone wants to, would be if there's a way to make the failure in these situations more graceful... so for example if a better error message can be given to the user in this case, ideally one that helps pinpoint what actually went wrong in the installation, that would be nice.
Comment #159
geerlingguy CreditAttribution: geerlingguy as a volunteer commentedThere are still a number of other potential causes for this problem, still... but I see your point :)
I just ran into a new (to me) one: if I am installing via Drush (or UI) and I already have caching enabled in settings.php (e.g.
$conf['cache'] = TRUE;
), then for some reason that also causes this bug. See #1331924: Setting certain configuration values in settings.php (e.g. conf=1) can make Site-install fail.Comment #160
joshua.albert CreditAttribution: joshua.albert commentedI ran across this when installing open restaurant on xampp - I dropped the database, and increased the max_execution_time to 1000 and re-installed. No more problems.
Comment #161
annajonna CreditAttribution: annajonna as a volunteer commentedThis error has appeared repeatedly on my test server. In my tests, the first condition is to create a clean install that fails on one of the following conditions:
session.auto_start = 1
is setsession.cookie_secure = 1
is set and you not using HTTPSBoth cases crash the install, but it can be continued by calling the install.php script again and try to continue the install.
Now If you continue the Install, it crashes with the above error message:
Call to undefined function field_attach_load()
Comment #162
annajonna CreditAttribution: annajonna as a volunteer commentedComment #163
nitin.k CreditAttribution: nitin.k as a volunteer and commentedMost of the people face this issue because the referenced module is not loaded or invoked. So I came up with simple solution and that worked for me instead looking and fixing issue for every module.
This above function should be kept at the right place from where the problem is getting generated. Hope it saves time of someone.
Comment #164
isantolinSame error on Drupal setup
[Sat Feb 11 21:27:00.600010 2017] [:error] [pid 1594] [client 201.6.143.56:33268] PHP Fatal error: Call to undefined function field_attach_load() in /home/ignacio/www/includes/entity.inc on line 354, referer: http://host.com/install.php?profile=standard&locale=en
- PHP 5.5.9-1ubuntu4.20, Apache version 2.4.7, MySQL 5.5.54-0ubuntu0.14.04.1
- PHP 7.0.13, MySQL 5.7.17-0ubuntu0.16.04.1, Apache 2.4.18
Anyone can fix?
Comment #165
cilefen CreditAttribution: cilefen commentedRead #158 and the issue summary. The comment you typed would be improved by including the things you investigated and ruled out that are documented on this issue.
Comment #166
isantolin@cilefen i tried with all the recipes on the top of that issue without success. I only do a successful install on Ubuntu 16.10 (PHP 7.0+44, MySQL 5.7.17-0ubuntu0.16.10.1, Apache 2.4.18) With the same configuration than Ubuntu 16.04 (PHP 7.0.13, MySQL 5.7.17-0ubuntu0.16.04.1, Apache 2.4.18) without success. But i need Ubuntu 16.04 because is LTS
Comment #167
cilefen CreditAttribution: cilefen commentedLet's leave this one closed as per #158 and return to the new issue you opened, #2845175: Fatal error: Call to undefined function field_attach_load() in entity.inc on line 354 during installation
Comment #168
amir0220 CreditAttribution: amir0220 commentedhttps://www.drupal.org/node/1171756#comment-5319218
#30 on above link worked for me!!!
just set the $base_url to your drupal installation dir path
Comment #169
donquixote CreditAttribution: donquixote as a volunteer commentedAn issue with so many possible causes indicates one thing: insufficient error checking and reporting.
#2918160: Improve error checking and reporting for incomplete / failed installations
E.g. I just had a situation where:
drush dl drupal-7.x, then attempt to install with drush si (and failed), then attempting to install via web UI, and failed with the error as described above. Each time I deleted the database and restored the original settings.php.
Then I downloaded drupal again, this time with git. And now the site installation worked without problems (via web UI).
I am sure that at some point in my first attempt I did something wrong, which caused the problem as described in this issue.
But the real problem is that Drupal fails to tell us what is really wrong.
With better error checking and reporting we would have more specific issues / bug reports instead of this vague summary of symptoms.