Я только что установил Bolt-CMS, и у меня нет много времени, чтобы изучить всю CMS. Все мои изображения, загруженные в «файлы», не отображаются даже на панели управления. Они переименовываются в /1000x1000r/xxxx.xxx
, и они не отображаются. Может ли кто-нибудь сказать мне, что происходит, где настроить, чтобы они начали показывать.Болт-CMS, не показывающий изображения (шаблон helios)
Вот мой код .htaccess. Я не изменил его вообще:
# Set the default handler.
DirectoryIndex index.php index.html index.htm
# Prevent directory listing
Options -Indexes
# Make sure MultiViews is disabled if available.
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
<FilesMatch "\.(yml|db|twig|md)$">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</FilesMatch>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule cache/ - [F]
# Some servers require the RewriteBase to be set. If so, set to the correct folder.
# RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule^./index.php [L]
</IfModule>
# set the correct mime type for woff2 font type
# =============================================
# if you don't set your own mimetypes or you aren't using
# HTML5 Boilerplate Server Configs https://github.com/h5bp/server-configs-apache
# then you can uncomment (delete the hash/pound/octothorpe/number symbol) the section below:
#<IfModule mod_mime.c>
# AddType application/font-woff2 woff2
#</IfModule>
Когда я открываю файловый менеджер панели инструментов, я получаю следующее. Изображения НЕ ПОКАЗЫВАЮТ на приборной панели и на моем веб-сайте.
Вот мой браузер лог консоли:
files:757 GET http://localhost/www/bolt/thumbs/54x40c/analog-camera-photography-vintage-1844.jpg 500 (Internal Server Error)
files:757 GET http://localhost/www/bolt/thumbs/54x40c/alarm-clock-gold-hands-of-a-clock-1778.jpg 500 (Internal Server Error)
files:597 GET http://localhost/www/bolt/thumbs/54x40c/agriculture-cereals-field-621.jpg 500 (Internal Server Error)
files:918 GET http://localhost/www/bolt/thumbs/54x40c/apple-desk-iphone-2750.jpg 500 (Internal Server Error)
files:918 GET http://localhost/www/bolt/thumbs/54x40c/architecture-books-building-2757.jpg 500 (Internal Server Error)
files:1081 GET http://localhost/www/bolt/thumbs/54x40c/bell-bills-cash-register-2738.jpg 500 (Internal Server Error)
files:1856 GET http://localhost/www/bolt/app/view/js/maps/lib.min.js.map 404 (Not Found)
files:1 GET http://localhost/www/bolt/app/view/js/maps/bolt.min.js.map 404 (Not Found)
files:1081 GET http://localhost/www/bolt/thumbs/54x40c/blur-breakfast-coffee-271.jpg 500 (Internal Server Error)
files:1245 GET http://localhost/www/bolt/thumbs/54x40c/blur-flowers-home-1093.jpg 500 (Internal Server Error)
files:1245 GET http://localhost/www/bolt/thumbs/54x40c/building-frame-garage-1599.jpg 500 (Internal Server Error)
files:1406 GET http://localhost/www/bolt/thumbs/54x40c/california-foggy-golden-gate-bridge-2771.jpg 500 (Internal Server Error)
files:1406 GET http://localhost/www/bolt/thumbs/54x40c/carrot-cooking-eat-1398.jpg 500 (Internal Server Error)
files:1574 GET http://localhost/www/bolt/thumbs/54x40c/configure-disc-jockey-disco-1504.jpg 500 (Internal Server Error)
files:1574 GET http://localhost/www/bolt/thumbs/54x40c/food-fruit-orange-1286.jpg 500 (Internal Server Error)
files:1745 GET http://localhost/www/bolt/thumbs/54x40c/garden-gardening-grass-589.jpg 500 (Internal Server Error)
files:1819 GET http://localhost/www/bolt/thumbs/54x40c/keyboard-old-technology-2318.jpg 500 (Internal Server Error)
Необходимо проверить журнал ошибок apache и журнал ошибок php. Должны быть некоторые подсказки в отношении ошибки, которую вы получаете. – jadwigo
. Чего следует искать в журналах ошибок? – Martin
Попробуйте это: если вы загрузите один из файлов, например, «http: //localhost/www/bolt/thumbs/54x40c/keyboard-old-technology-2318.jpg», вы, вероятно, увидите ошибку 500 в своем браузере ... сразу после этого последние строки apache_log, error_log и, возможно, ваш журнал php покажет вам, что произошло – jadwigo