The Website Encountered an Unexpected Error Please Try Again Later After Drupal Install
In Drupal 9.1, I try to install this module from URL from the page of web/admin/modules/install , immediately I get the "The website encountered an unexpected error. " am wondering is this module supporting the installation through URL, or it has to be installed from composer ? Thank you.
fisheranciverivens.blogspot.com
Source: https://www.drupal.org/project/libraries/issues/3191478
Comments
I also got the same error. How am I supposed to get around this bug? I only know how to install modules from the Drupal install modules menu.
Uncaught PHP Exception Drupal\Core\Extension\InfoParserException: "Missing required keys (type) in temporary://update-extraction-50e8f34a/libraries/tests/example/example_info_file.libraries.info.yml" at ...\core\lib\Drupal\Core\Extension\InfoParserDynamic.php line 57
Same here for d9
Drupal\Core\Extension\InfoParserException: Missing required keys (type) in temporary://update-extraction-1d6bba84/libraries/tests/example/example_info_file.libraries.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 57 of ../core/lib/Drupal/Core/Extension/InfoParserDynamic.php).
Running D 8.9 - Drupal\Core\Extension\InfoParserException: Missing required keys (type) in temporary://update-extraction-c50b53d9/libraries/tests/example/example_info_file.libraries.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 57 of /home/mypolvtf/public_html/ghs-drup8/core/lib/Drupal/Core/Extension/InfoParserDynamic.php).
Any workaround? We'd like to use the JuiceBox Gallery module, but cannot without the Libraries API.
I was able to install the module by uploading via FTP.
Comment #9
paulocs
Portuguese, Brazil
Belo Horizonte
Credit Attribution: paulocs at CI&T commented
I can confirm the problem but this was already fixed in the dev branch.
A new release should be created. This release will fix all drupal 9 compatibility problems.
I have several D9 sites. I have this problem on one of them.
It is a recently developed fault.
NB: the fault arises with both install from URL and uploading from local machine.
Had the same problem and found the following workaround.
Paste following code snippet under "name:Example info file" in Line 2 of file tests/example/example_info_file.libraries.info.yml.
So that it looks like that:
The zip it again and you can install it via file upload.
Hope that helps.
I had the same problem.
After installing manually, apparently it is not working.
Right now, when I tryed to update this module, I found this message error:
Ocorreu um erro HTTP no AJAX.
Código do Resultado HTTP: 500
Estas são as informações de depuração.
Caminho: /base22/batch?id=52&op=do_nojs&op=do
Texto de Status: Internal Server Error
Texto de Resposta: Ocorreu um erro inesperado no site. Por favor tente novamente mais tarde.
Erro fatal ao tentar fazer o download.
An HTTP error occurred in AJAX.
HTTP Result Code: 500
This is debug information.
Path: /base22/batch?id=52&op=do_nojs&op=do
Status Text: Internal Server Error
Response Text: An unexpected error has occurred on the website. Please try again later.
Fatal error while trying to download.
After installing this update 8.x-3.0-beta2, and running the update script, Libraries still wants to update using this version.
I tried the snippet in post #11, but I got the this web has encountered an unexpected error, so I reverted to the original pack.
De Charybde en Scylla as we say in French
I installed the latest version hoping to get rid of the "new version available" message after the last version update
I didn't know how lucky I was. Now the site displays the white screen of death " this website has encountered and error... and alternately. black screen of death , 500 error this website is unavailable.
After refreshing the page a random number of times I can get back, but any admin action puts me back in WSD or BSD jail.
Libraries API decidely has "issues".
Cordially,
Lydie