Hey guys,

I'm trying Drupal 8 on a Linux box, I just tried to install a new theme to it and got this:

The website encountered an unexpected error. Please try again later.
Drupal\Core\Form\EnforcedResponseException: in Drupal\Core\Form\FormBuilder->buildForm() (line 349 of core/lib/Drupal/Core/Form/FormBuilder.php).

It asked me to give it my FTP credentials, which I did and it gave me that message.

Any ideas?

Thanks.

CommentFileSizeAuthor
#6 FTP.jpg17.83 KBjfha73

Comments

jfha73 created an issue. See original summary.

cilefen’s picture

Status: Active » Closed (duplicate)
jfha73’s picture

Status: Closed (duplicate) » Active

Not duplicated, I gave themes and modules folders 777 permissions, also the user I'm logging in via FTP has 777 access to them.

cilefen’s picture

Just so you know, #2545880: Module install via FTP upload fails with WSOD when the destination sites/default is unwritable lists the same error during the same action, so according to the policies of this issue queue, this is a duplicate issue. You may actually receive less help by leaving this issue open. I am not going to fight you on this, but discussions should proceed on #2545880: Module install via FTP upload fails with WSOD when the destination sites/default is unwritable or #842620: Update manager can't install modules using FTP due broken FileTransferAuthorizeForm so everyone can benefit.

I hope this helps!

jfha73’s picture

StatusFileSize
new17.83 KB

I see what the problem here is, even though a FTP login and password are being asked for, it tries to upload as Anonymous, which doesn't have FTP access to my system (see picture of Drupal Logs).

cilefen’s picture

There is a helpful comment on that on the other issue about changing directory ownership.

dawehner’s picture

Component: base system » update.module

.

hansfn’s picture

The current issue summary makes this a duplicate of #842620: Update manager can't install modules using FTP due broken FileTransferAuthorizeForm (which is already marked as related). Please try the patch in that issue.

If the issue is about something else, please update the issue summary.

alexpott’s picture

Status: Active » Closed (duplicate)