Am o întrebare despre încărcarea fișierului IMCE. Sper să fi întâlnit cineva o problemă similară.
Module instalate:
Am adăugat un câmp de fișier/imagine și am ales următoarea opțiune din Gestionați afișarea formularelor [admin/structure/types/manage/mycontent-type/form-display] pentru a avea Open Opțiunea File Browser deasupra câmpului specific.
Permiteți utilizatorilor să selecteze fișiere din Imce File Manager pentru acest câmp.
De asemenea, am configurat modul corect de a popula anumite fișiere de bucket S3 atunci când facem clic pe Opțiunea File Browser. Am putea vedea toate fișierele noastre bucket S3 când
Am actualizat site-ul nostru Drupal 8.x la cel mai recent Drupal 9.2.4.
Singura problemă este că putem încărca fișiere noi, dar nu putem selecta fișiere vechi. Când selectăm fișiere vechi, se încarcă doar câmpul și nu se întâmplă nimic.
Din păcate, am putea vedea singura eroare când încercăm să încărcăm un fișier vechi și se pare că aceasta nu este cauza principală.
#0 ROOT-FOLDER\core\includes\bootstrap.inc(312): _drupal_error_handler_real(2, 'strip_tags() ex...', 'D:\Applications...', 103)
#1 [funcție internă]: _drupal_error_handler(2, 'strip_tags() ex...', 'D:\Applications...', 103, Array)
#2 ROOT-FOLDER\vendor\twig\twig\src\Environment.php(418): codul eval()(103): strip_tags(Array)
#3 ROOT-FOLDER\furnizor\twig\twig\src\Template.php(405): __TwigTemplate_2a6388b68ac7765833842f4b9b7c85edae837f9d5494558acc0881Array1d920-a>1 Array
#4 ROOT-FOLDER\furnizor\twig\twig\src\Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#5 ROOT-FOLDER\furnizor\twig\twig\src\Template.php(390): Twig\Template->display(Array)
#6 ROOT-FOLDER\core\themes\engines\twig\twig.engine(65): Twig\Template->render(Array)
#7 ROOT-FOLDER\core\lib\Drupal\Core\Theme\ThemeManager.php(384): twig_render_template('themes/custom/b...', Array)
#8 ROOT-FOLDER\core\lib\Drupal\Core\Render\Renderer.php(436): Drupal\Core\Theme\ThemeManager->render('html', Array)
#9 ROOT-FOLDER\core\lib\Drupal\Core\Render\Renderer.php(201): Drupal\Core\Render\Renderer->doRender(Array, true)
#10 ROOT-FOLDER\core\lib\Drupal\Core\Render\Renderer.php(145): Drupal\Core\Render\Renderer->render(Array, true)
#11 ROOT-FOLDER\core\lib\Drupal\Core\Render\Renderer.php(578): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
#12 ROOT-FOLDER\core\lib\Drupal\Core\Render\Renderer.php(146): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#13 ROOT-FOLDER\core\lib\Drupal\Core\Render\BareHtmlPageRenderer.php(66): Drupal\Core\Render\Renderer->renderRoot(Array)
#14 ROOT-FOLDER\core\lib\Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer.php(76): Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, Object(Drupal\Core\StringTranslation\TranslatableMarkup), imce_page', Array)
#15 ROOT-FOLDER\modules\contrib\imce\src\ImceFM.php(689): Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, Object(Drupal\Core\StringTranslation\TranslatableMarkup), 'imce_page' , Matrice)
#16 ROOT-FOLDER\module\contrib\imce\src\ImceFM.php(708): Drupal\imce\ImceFM->buildRenderPage()
#17 ROOT-FOLDER\module\contrib\imce\src\Imce.php(27): Drupal\imce\ImceFM->pageResponse()
#18 ROOT-FOLDER\module\contrib\imce\src\Controller\ImceController.php(35): Drupal\imce\Imce::response(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Session) \AccountProxy), „s3”)
#19 [funcție internă]: Drupal\imce\Controller\ImceController->page('s3', Object(Symfony\Component\HttpFoundation\Request))
#20 ROOT-FOLDER\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#21 ROOT-FOLDER\core\lib\Drupal\Core\Render\Renderer.php(578): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#22 ROOT-FOLDER\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)
#23 ROOT-FOLDER\core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext)(
#24 ROOT-FOLDER\furnizor\symfony\http-kernel\HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#25 ROOT-FOLDER\furnizor\symfony\http-kernel\HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#26 ROOT-FOLDER\core\lib\Drupal\Core\StackMiddleware\Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 ROOT-FOLDER\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 ROOT-FOLDER\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php(47): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 ROOT-FOLDER\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 ROOT-FOLDER\furnizor\stack\builder\src\Stack\StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 ROOT-FOLDER\core\lib\Drupal\Core\DrupalKernel.php(717): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 ROOT-FOLDER\index.php(19): Drupal\Core\DrupalKernel->handle(Obiect(Symfony\Component\HttpFoundation\Request))
#33 {principal}
Ne poate ajuta cineva să găsim cauza principală a problemei?