Support » Allgemeine Fragen » Keine Bilder werden mehr angezeigt, weder auf der Webseite noch im Backend

  • Gelöst andreaslutz

    (@andreaslutz)


    Hallo,

    Habe seit Heute ein Problem, in der Mediathek werden mir keine Vorschaubilder mehr angezeit. Auf der Homepage ebenfalls nicht. Wenn ich irgendein Bild auswähle und auf bearbeiten klicke, wird es mir angezeigt. Aber im Thumbnail auf der rechten Seite wird es mir nicht angezeigt.

    Habe Versucht neue Bilder Hochzuladen mit dem selben Resultat.

    Habe mithilfe von „Site Health“ im Problembehandlungsmodus versucht Bilder hochzuladen, hat aber auch nicht geklappt.

    Wenn ich ein Bild über WordPress hochlade, finde ich es auf dem FTP Server und kann es da auch herunterladen und ich kann es auch öffnen.

    An den Rechten dürfte es nicht liegen, der Ornder wp-content/upload habe ich auf die Rechte 755 gesetzt. Habe es auch mit 777 probiert hat aber auch nichts gebracht.

    Am Arbeitsspeicher sollte es auch nicht liegen, da der bei 256MB liegt.

    Am Speicherplatz vom Server auch nicht, da das hochladen ohne Fehlermeldung ausgeführt wird.

    Die Dateigrösse sollte auch nicht das Problem sein, da ich Bilder mit 560x560px und einer grösse von 87kB hochgeladen habe.

    Habe ebenfalls eine Neuinstallation von WordPress unter „Updates“ durchgeführt.

    Kann mir jemand helfen?

    
    ### wp-core ###
    
    version: 5.2.2
    site_language: en_US
    user_language: en_US
    permalink: /%postname%/
    https_status: true
    user_registration: 0
    default_comment_status: open
    multisite: false
    user_count: 2
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /var/www/vhosts/wildwestwedding.us/httpdocs
    wordpress_size: 40.81 MB (42789785 bytes)
    uploads_path: /var/www/vhosts/wildwestwedding.us/httpdocs/wp-content/uploads
    uploads_size: 31.88 MB (33425628 bytes)
    themes_path: /var/www/vhosts/wildwestwedding.us/httpdocs/wp-content/themes
    themes_size: 7.25 MB (7600154 bytes)
    plugins_path: /var/www/vhosts/wildwestwedding.us/httpdocs/wp-content/plugins
    plugins_size: 52.07 MB (54603582 bytes)
    database_size: 31.64 MB (33177600 bytes)
    total_size: 163.65 MB (171596749 bytes)
    
    ### wp-dropins (1) ###
    
    advanced-cache.php: true
    
    ### wp-active-theme ###
    
    name: theme45883 (theme45883)
    version: 3.1.5
    author: Template_Help.com
    author_website: (undefined)
    parent_theme: cherry (CherryFramework)
    theme_features: post-thumbnails, post-formats, editor-style, automatic-feed-links, menus, widgets
    theme_path: /var/www/vhosts/wildwestwedding.us/httpdocs/wp-content/themes/theme45883
    
    ### wp-parent-theme ###
    
    name: cherry (CherryFramework)
    version: 3.1.5.1
    author: Template_Help.com
    author_website: //info.template-help.com/help/
    theme_path: /var/www/vhosts/wildwestwedding.us/httpdocs/wp-content/themes/CherryFramework
    
    ### wp-mu-plugins (1) ###
    
    Health Check Troubleshooting Mode: author: (undefined), version: 1.7.0
    
    ### wp-plugins-active (14) ###
    
    amr shortcode any widget: version: 3.7, author: anmari
    Cherry Plugin: version: 1.2.8.1, author: Cherry Team.
    Google XML Sitemaps: version: 4.1.0, author: Arne Brachhold
    Health Check & Troubleshooting: version: 1.4.0, author: The WordPress.org community
    MotoPress Content Editor: version: 3.0.4, author: MotoPress
    MotoPress Google Maps Addon: version: 1.4.2, author: MotoPress
    MotoPress Simple Contact Form Addon: version: 1.2.1, author: MotoPress
    WPForms: version: 1.5.5, author: WPForms
    WPForms Custom Captcha: version: 1.3.0, author: WPForms
    WPML Media: version: 2.5.2, author: OnTheGoSystems
    WPML Multilingual CMS: version: 4.2.7.1, author: OnTheGoSystems
    WPML String Translation: version: 2.10.5.1, author: OnTheGoSystems
    WPML Translation Management: version: 2.8.6.2, author: OnTheGoSystems
    WP Super Cache: version: 1.7.0, author: Automattic
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1656
    imagemagick_version: ImageMagick 6.7.8-9 2019-01-30 Q16 http://www.imagemagick.org
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 98 GB
    	imagick::RESOURCETYPE_DISK: -1
    	imagick::RESOURCETYPE_FILE: 6144
    	imagick::RESOURCETYPE_MAP: 98 GB
    	imagick::RESOURCETYPE_MEMORY: 49 GB
    	imagick::RESOURCETYPE_THREAD: not available
    gd_version: bundled (2.1.0 compatible)
    ghostscript_version: unknown
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-962.3.2.lve1.5.26.2.el7.x86_64 x86_64
    httpd_software: Apache
    php_version: 7.3.8 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 7200
    time_limit: 60
    memory_limit: 256M
    max_input_time: 60
    upload_max_size: 32M
    php_post_max_size: 32M
    curl_version: 7.29.0 NSS/3.36
    suhosin: false
    imagick_availability: true
    server-headers: 
    	server: nginx
    	date: Sun, 01 Sep 2019 02:08:00 GMT
    	content-type: text/html; charset=UTF-8
    	content-length: 10372
    	x-powered-by: Array
    	link: <https://wildwestwedding.us/wp-json/>; rel="https://api.w.org/", <https://wildwestwedding.us/>; rel=shortlink
    	vary: Accept-Encoding,User-Agent
    	content-encoding: gzip
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.5.60
    client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/vhosts/wildwestwedding.us/httpdocs/wp-content
    WP_PLUGIN_DIR: /var/www/vhosts/wildwestwedding.us/httpdocs/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    ### 0 ###
    
    version: 1.5.5
    license: basic
    lite: Aug 24, 2019 @ 1:21pm
    pro: Aug 24, 2019 @ 1:40pm
    db_tables: G17OvFghP_wpforms_entries, G17OvFghP_wpforms_entry_fields, G17OvFghP_wpforms_entry_meta
    total_forms: 4
    total_entries: undefined
    
    

    Die Seite, für die ich Hilfe brauche: [Anmelden, um den Link zu sehen]

Ansicht von 8 Antworten - 1 bis 8 (von insgesamt 8)
  • Hallo,
    Wenn man mit STRG SHIFT I in die Developer Console schaut, sieht man massenweise Error 403 bezogen auf die Bilder.
    Das Problem könnte möglicherweise durch die .htaccess verursacht worden sein. Daher würde ich die .htaccess per FTP z. B. in sik.htaccess umbenennen und danach testen, ob das Problem behoben ist, siehe dazu auch dieser Link
    Viele Grüße
    Hans-Gerd

    Wäre sick.htaccess nicht treffender? 😜

    Sorry, kleines Späßchen am Sonntag-Morgen.
    Antwort war völlig korrekt.

    @pixolin 🙂

    Thread-Starter andreaslutz

    (@andreaslutz)

    Vielen Dank für eure Antwort.

    Habe ich Versucht und hat leider nichts gebracht.

    Thread-Starter andreaslutz

    (@andreaslutz)

    Habe noch eine .htaccess Datei im Ordner uploads gefunden. Diese umbenennt und es funktioniert wieder.

    Vielen Dank

    klingt zwar für mich etwas seltsam, aber Hauptsache, es funktioniert wieder 🙂

    @hage

    So seltsam ist das nicht. Gelegentlich findest du das als Tipp zur Absicherung (z.B. hier unter Punkt 3 „Allow Only Selected Files from wp-content“ oder hier als erster Punkt).

    Angreifer setzen Schadcode gerne in das Verzeichnis wp-content, weil es dann unauffälliger ist. Wer würde schon hinter einer jpg-File in wp-content/uploads/2017/03 Malware vermuten? (lesenswert: https://blog.sucuri.net/2017/09/malicious-backdoors-fake-images-strrev-functions.html)

    Um die Ausführung von PHP-Scripten in wp-content zu verhindern, speichern einige Plugins dort eine .htaccess:

    RewriteEngine on
    #if the file does not have one of theses extensions
    RewriteCond %{REQUEST_URI} !\.(css|woff|woff2|png|jpg|jpeg|gif|pdf)$
    #then it should be marked as forbidden.
    RewriteRule .*$ - [F]

    Enthält die .htaccess-Regel dann statt des Ausrufezeichen (!) ein Caret (^), hast du ein Problem.

    @pixolin
    danke für den Hinweis – stimmt natürlich

Ansicht von 8 Antworten - 1 bis 8 (von insgesamt 8)
  • Das Thema „Keine Bilder werden mehr angezeigt, weder auf der Webseite noch im Backend“ ist für neue Antworten geschlossen.