Download & Extend

Install broken - cant create account #1

Project:Drupal core
Version:7.x-dev
Component:install system
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (duplicate)
Issue tags:Needs tests

Issue Summary

When I try to make clean setup the last step is broken!

Because validation and submit handlers trying to retrieve data from $form_state['values']['account'] which is never found

AttachmentSizeStatusTest resultOperations
install-account.patch1.39 KBIdleFailed: Failed to install HEAD.View details | Re-test

Comments

#1

Well then we definitely need tests for this, because Testing Bot is happily passing atm.

But could you post steps for how to reproduce this problem?

#2

Status:needs review» needs work

The last submitted patch failed testing.

#3

How to write test case if install.php is broken?

#4

Status:needs work» needs review

Right now all testing bots say for all issues Failed: Failed to install HEAD

Because there's no possibility to install drupal at all

#5

This one caused by #471234: Installer: Configure site text cleanup

-  $form['admin_account']['account']['#tree'] = TRUE;

#6

Steps to reproduce: install drupal. ;-)

The patch resolved it for me, though I haven't reviewed the code. This is the error without the patch:

  • Notice: Undefined index: account in install_configure_form_validate() (line 1123 of Sites/7-drupal/drupal/install.php).
  • You must enter a username.
  • Notice: Undefined index: account in install_configure_form_validate() (line 1126 of /Sites/7-drupal/drupal/install.php).
  • You must enter an e-mail address.
  • All necessary changes to ./sites/default and ./sites/default/settings.php have been made, so you should remove write permissions to them now in order to avoid security risks. If you are unsure how to do so, please consult the online handbook.

#7

Status:needs review» closed (duplicate)

Oh, son of a...! :\

Will fix in the other issue.

nobody click here