- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fehler bei Magento - There has been an error processing your request
Hallo!
Ich habe bei meinem shop agoshop.at nun das Problem, dass bei einigen Produkten folgende Meldung erscheint:
There has been an error processing your request
1 exception(s): Exception #0 (Exception): Warning: file_exists(): open_basedir restriction in effect. File(/pub/www/agoshopat01/www/agoshop.at/pub/media/agoquart.png) is not within the allowed path(s): (/www/agoshopat01/www/agoshop.at/:/www/agoshopat01/www/phptmp/:/www/agoshopat01/www/session/:/tmp/:/usr/share/php:/pubmedia/) in /www/agoshopat01/www/agoshop.at/vendor/magento/framework/Filesystem/Io/File.php on line 515 Exception #0 (Exception): Warning: file_exists(): open_basedir restriction in effect. File(/pub/www/agoshopat01/www/agoshop.at/pub/media/agoquart.png) is not within the allowed path(s): (/www/agoshopat01/www/agoshop.at/:/www/agoshopat01/www/phptmp/:/www/agoshopat01/www/session/:/tmp/:/usr/share/php:/pubmedia/) in /www/agoshopat01/www/agoshop.at/vendor/magento/framework/Filesystem/Io/File.php on line 515 <pre>#1 file_exists() called at [vendor/magento/framework/Filesystem/Io/File.php:515] #2 Magento\Framework\Filesystem\Io\File->fileExists() called at [vendor/jajuma/module-webpimages/Helper/Data.php:709] #3 Jajuma\WebpImages\Helper\Data->isFileExists() called at [vendor/jajuma/module-webpimages/Helper/Data.php:123] #4 Jajuma\WebpImages\Helper\Data->convert() called at [vendor/jajuma/module-webpimages/Plugin/ReplaceImageTag.php:191] #5 Jajuma\WebpImages\Plugin\ReplaceImageTag->convertImage() called at [vendor/jajuma/module-webpimages/Plugin/ReplaceImageTag.php:121] #6 Jajuma\WebpImages\Plugin\ReplaceImageTag->afterGetOutput() called at [vendor/magento/framework/Interception/Interceptor.php:146] #7 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #8 Magento\Framework\View\Layout\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:347] #9 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor/magento/framework/View/Result/Page.php:260] #10 Magento\Framework\View\Result\Page->render() called at [vendor/magento/framework/View/Result/Layout.php:171] #11 Magento\Framework\View\Result\Layout->renderResult() called at [vendor/magento/framework/Interception/Interceptor.php:58] #12 Magento\Framework\View\Result\Page\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #13 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [app/code/Mirasvit/Optimize/Plugin/Framework/Controller/Result/OutputProcessorPlugin.php:54] #14 Mirasvit\Optimize\Plugin\Framework\Controller\Result\OutputProcessorPlugin->aroundRenderResult() called at [vendor/magento/framework/Interception/Interceptor.php:135] #15 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #16 Magento\Framework\View\Result\Page\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Result/Page/Interceptor.php:95] #17 Magento\Framework\View\Result\Page\Interceptor->renderResult() called at [vendor/magento/framework/App/Http.php:120] #18 Magento\Framework\App\Http->launch() called at [vendor/magento/framework/Interception/Interceptor.php:58] #19 Magento\Framework\App\Http\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #20 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-application-performance-monitor/Plugin/ApplicationPerformanceMonitor.php:38] #21 Magento\ApplicationPerformanceMonitor\Plugin\ApplicationPerformanceMonitor->aroundLaunch() called at [vendor/magento/framework/Interception/Interceptor.php:135] #22 Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #23 Magento\Framework\App\Http\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23] #24 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:264] #25 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:30] </pre>
Einige Artikel funktionieren.
Ich verwende JaJuMa für webp Bilder. Vielleicht liegt es daran.
Danke für jede Hilfe und Antwort
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Fehler bei Magento - There has been an error processing your request
Hallo,
Mein erster Instinkt wäre die Dateirechte zu Checken. Google suggeriert auch dass eine unvollständige Kompilation zu solchen Fehlern führen kann.
Lief denn:
bin/magento setup:di:compile
und
bin/magento setup:static-content:deploy -f
Fehlerfrei durch?
www.vndl.me
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Fehler bei Magento - There has been an error processing your request
Das Problem scheint durch die open_basedir-Einschränkung in Ihrer Serverkonfiguration verursacht zu werden.
Diese Einschränkung beschränkt PHP-Dateioperationen aus Sicherheitsgründen auf bestimmte Verzeichnisse.
Mögliche Lösungen
- Ändern Sie die open_basedir-Einstellungen
Bitten Sie Ihren Hosting-Anbieter, /pub/www/agoshopat01/www/agoshop.at/pub/media/ zu den zulässigen Pfaden in den PHP-Einstellungen hinzuzufügen.
Wenn Sie Zugriff auf php.ini haben, suchen Sie die Einstellung open_basedir und ändern Sie sie.
Starten Sie anschließend Ihren Webserver neu. Ändern Sie den Pfad im JaJuMa WebP Images Plugin
Wenn eine Änderung von open_basedir nicht möglich ist, überprüfen Sie die Einstellungen von JaJuMa WebP Images:
- Gehen Sie zu Magento Admin > Stores > Konfiguration > JaJuMa WebP Images
- Suchen Sie nach einer Einstellung, die sich auf Dateipfade oder Medienverzeichnisse bezieht.
- Stellen Sie sicher, dass der Pfad für die Bildspeicherung innerhalb der zulässigen Verzeichnisse liegt.
Deaktivieren Sie JaJuMa WebP-Bilder vorübergehend
Um zu bestätigen, ob das Plugin das Problem verursacht, deaktivieren Sie es vorübergehend und leeren Sie den Cache einmal.
Überprüfen Sie dann, ob die Produkte korrekt geladen werden.
Möchten Sie, dass wir Sie durch einen dieser Schritte begleiten, dann lassen Sie es uns wissen.