Support » Allgemeine Fragen » 404 bei pdf download abhängig vom Browser

  • Gelöst lutzpt

    (@lutzpt)


    Moin,
    ein Kunde rief mich an, weil er beim versuchten pdf download von meiner Webseite den Fehler 404 erhielt. Ich habe das von meinem Rechner getestet. Bei Firefox geht der Download, bei Edge und Chrome nicht. Die Löschung des Verlaufs half nicht.
    Hier der Seitenbericht:

    
    ### wp-core ###
    
    version: 6.0.1
    site_language: en_US
    user_language: en_US
    timezone: Europe/Berlin
    permalink: undefined
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: undefined
    environment_type: production
    user_count: 1
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /is/htdocs/wp1189359_LK0I48W34V/www/puretec_analytics_de/wp_puretec_0819/wordpress
    wordpress_size: 47.05 MB (49338615 bytes)
    uploads_path: /is/htdocs/wp1189359_LK0I48W34V/www/puretec_analytics_de/wp_puretec_0819/wordpress/wp-content/uploads
    uploads_size: 91.15 MB (95574159 bytes)
    themes_path: /is/htdocs/wp1189359_LK0I48W34V/www/puretec_analytics_de/wp_puretec_0819/wordpress/wp-content/themes
    themes_size: 7.73 MB (8108336 bytes)
    plugins_path: /is/htdocs/wp1189359_LK0I48W34V/www/puretec_analytics_de/wp_puretec_0819/wordpress/wp-content/plugins
    plugins_size: 86.60 MB (90803761 bytes)
    database_size: 7.42 MB (7780677 bytes)
    total_size: 239.95 MB (251605548 bytes)
    
    ### wp-active-theme ###
    
    name: Specia (specia)
    version: 3.2.30
    author: Specia
    author_website: https://speciatheme.com/
    parent_theme: none
    theme_features: core-block-patterns, automatic-feed-links, title-tag, post-thumbnails, menus, html5, customize-selective-refresh-widgets, custom-logo, woocommerce, editor-style, custom-header, infinite-scroll, jetpack-responsive-videos, widgets
    theme_path: /is/htdocs/wp1189359_LK0I48W34V/www/puretec_analytics_de/wp_puretec_0819/wordpress/wp-content/themes/specia
    auto_update: Disabled
    
    ### wp-themes-inactive (3) ###
    
    Twenty Twenty: version: 1.9, author: the WordPress team (latest version: 2.0), Auto-updates disabled
    Twenty Twenty-One: version: 1.5, author: the WordPress team (latest version: 1.6), Auto-updates disabled
    Twenty Twenty-Two: version: 1.1, author: the WordPress team (latest version: 1.2), Auto-updates disabled
    
    ### wp-plugins-active (18) ###
    
    Async JavaScript: version: 2.21.08.31, author: Frank Goossens (futtta), Auto-updates disabled
    Better Search Replace: version: 1.4.1, author: Delicious Brains, Auto-updates disabled
    DSGVO All in one for WP: version: 4.1, author: Michael Leithold, Auto-updates disabled
    Elementor: version: 3.6.7, author: Elementor.com, Auto-updates disabled
    Essential Addons for Elementor: version: 5.1.8, author: WPDeveloper, Auto-updates disabled
    GTM4WP: version: 1.16, author: Thomas Geiger, Auto-updates disabled
    Image Hover Effects - Elementor Addon: version: 1.3.7, author: Blocksera, Auto-updates disabled
    Limit Login Attempts Reloaded: version: 2.25.3, author: Limit Login Attempts Reloaded, Auto-updates disabled
    Page scroll to id: version: 1.7.5, author: malihu, Auto-updates disabled
    Smart Slider 3: version: 3.5.1.7, author: Nextend, Auto-updates disabled
    Smush: version: 3.10.3, author: WPMU DEV, Auto-updates disabled
    SSL Insecure Content Fixer: version: 2.7.2, author: WebAware, Auto-updates disabled
    SVG Support: version: 2.4.2, author: Benbodhi, Auto-updates disabled
    Transposh Translation Filter: version: 1.0.7, author: Team Transposh, Auto-updates disabled
    UpdraftPlus - Backup/Restore: version: 1.22.14, author: UpdraftPlus.Com, DavidAnderson, Auto-updates disabled
    WP Extra File Types: version: 0.5.2, author: Davide Airaghi, Auto-updates disabled
    Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled
    Yoast SEO: version: 19.4, author: Team Yoast, Auto-updates disabled
    
    ### wp-plugins-inactive (3) ###
    
    Akismet Anti-Spam: version: 4.2.5, author: Automattic, Auto-updates disabled
    Enable jQuery Migrate Helper: version: 1.3.0, author: The WordPress Team, Auto-updates disabled
    Simple WP Maintenance Mode: version: 1.0, author: Lucas, Auto-updates disabled
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    imagick_version: Not available
    file_uploads: File uploads is turned off
    post_max_size: 32M
    upload_max_filesize: 32M
    max_effective_size: 32 MB
    max_file_uploads: 50
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: 9.27
    
    ### wp-server ###
    
    server_architecture: Linux 4.14.132-xenu-he x86_64
    httpd_software: Apache
    php_version: 7.4.30-he.0 64bit
    php_sapi: apache2handler
    max_input_variables: 1000
    time_limit: 180
    memory_limit: 256M
    max_input_time: 180
    upload_max_filesize: 32M
    php_post_max_size: 32M
    curl_version: 7.64.0 OpenSSL/1.1.1n
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    htaccess_extra_rules: false
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 8.0.28-19
    client_version: mysqlnd 7.4.30-he.0
    max_allowed_packet: 33554432
    max_connections: 1100
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /is/htdocs/wp1189359_LK0I48W34V/www/puretec_analytics_de/wp_puretec_0819/wordpress/wp-content
    WP_PLUGIN_DIR: /is/htdocs/wp1189359_LK0I48W34V/www/puretec_analytics_de/wp_puretec_0819/wordpress/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    

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

Ansicht von 9 Antworten - 1 bis 9 (von insgesamt 9)
  • Zur Zeit geht nichts auf der Seite:

    Error establishing a database connection

    Thread-Starter lutzpt

    (@lutzpt)

    Das ist neu und besonders hübsch. Ich suche dann mal erst danach.

    Thread-Starter lutzpt

    (@lutzpt)

    Geht wieder – war wohl eine kurze Unterbrechung bei Host Europe.

    Firefox zeigt mir an, dass der Link zu einer PDF-Datei wie folgt lautet:

    http://www.puretec-analytics.de/wp-content/uploads/2019/09/Dextens-Process-Instrument-O3-datasheet-ENG.pdf

    Weitergeleitet wird aber auf
    https://www.puretec-analytics.de/wp_puretec_0819/wordpress/wp-content/uploads/2019/09/Dextens-Process-Instrument-O3-datasheet-ENG.pdf

    Daher vermute ich, dass die automatische Weiterleitung von http auf https falsch konfiguriert ist. Das könnte ein Fehler in der .htaccess sein, oder eine Fehlkonfiguration des Webspaces.

    • Diese Antwort wurde geändert vor 1 Jahr, 8 Monaten von bscu.
    Thread-Starter lutzpt

    (@lutzpt)

    Firefox leitet bei mir auf den ersten link weiter, Chrome und Edge auf den zweiten. Deshalb geht es mit Firefox und es musste erst ein Kunde darauf aufmerksam machen. Warum benimmt sich bei Die Firefox anders?

    Eine Weiterleitung läuft serverseitig, das ist kein Problem des Browsers. Ich habe die Probleme im Firefox, Edge, Chrome und Opera

    Diese Fehler lassen sich z. B. über das Plugin „Better Search and Replace“ korrigieren (ersetzen von http://example.com/ durch https://example.com/).
    Vorher aber bitte auf jeden Fall eine Sicherung der Datenbank erstellen..

    • Diese Antwort wurde geändert vor 1 Jahr, 8 Monaten von bscu.
    Thread-Starter lutzpt

    (@lutzpt)

    Ich versichere Dir, mein Firefox macht es korrekt.
    Better Search Replace liefert im „dry run“ keine Ersetzung.
    Es war bereits installiert, ich erinnere mich, es für die Umstellung auf https genutzt zu haben. Es hat ja auch jahrelang funktioniert. Nun – zumindest hat sich jahrelang kein Kunde beschwert und mein Test in Firefox hat geklappt.
    Ich habe mich orientiert an einem FAQ Artikel von Host Europe. Da steht im Wesentlichen:

    Bitte fügen Sie nun folgendes in die .htaccess Datei ein:
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]
    Mit diesem Eintrag werden alle Domains die auf dieses Verzeichnis zeigen von http auf https umgeleitet.

    Thread-Starter lutzpt

    (@lutzpt)

    Aha
    Wenn ich es manuell in WP von http auf https ändere, dann geht es. Da steht nämlich doch nur http.

    Thread-Starter lutzpt

    (@lutzpt)

    Klappt jetzt
    Mega Danke!

Ansicht von 9 Antworten - 1 bis 9 (von insgesamt 9)
  • Das Thema „404 bei pdf download abhängig vom Browser“ ist für neue Antworten geschlossen.