• Resolved dianne92

    (@dianne92)


    I have recently noticed that I am unable to view/use newly uploaded images.

    This image below shows my gallery where it supposedly uploaded my ballerina image, it does show the correct file size but there is no preview and the image cannot be viewed. This happens only for newly uploaded images.

    https://imgur.com/a/KorAgZo

    As you can see it also shows that ti has created the /2020/04/ folder with the ballerina5.jpg file inside but if I look into my /var/www/html/wp-content/uploads/2020 folder there is no such 04 subfolder nor the image itself.

    The folder has the correct apache ownership and 755 permissions set recursively. Debutg mode is enabled in wordpress but I don’t see anything related to this issue nor the apache logs show any trace of error.

    I have also tried disabling all plugins and changed the theme to wordpress’s default twenty theme – nothing changed.

    I’m using wordpress 5.4 installed on a centos 7 with latest updates, using PHP 7.3.16 and mysql Ver 15.1 Distrib 5.5.64-MariaDB, for Linux (x86_64) using readline 5.1

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    Are you using Edge, iOS Safari?

    If so, see this Trac #49753

    Thread Starter dianne92

    (@dianne92)

    No, not using edge or safari but chrome and firefox

    Moderator t-p

    (@t-p)

    Thread Starter dianne92

    (@dianne92)

    Ok, I’ve read and tried all the suggestions there including disabling cloudflare, plugins while using the twenty nineteen theme.

    Also, here are my website details as shown by the Site Health plugin:

    
    ### wp-core ###
    
    version: 5.4
    site_language: en_US
    user_language: en_US
    timezone: America/New_York
    permalink: /%postname%/
    https_status: true
    user_registration: 0
    default_comment_status: open
    multisite: false
    user_count: 4
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /var/www/hlbenefits.com/html
    wordpress_size: 708.92 MB (743356260 bytes)
    uploads_path: /var/www/html/wp-content/uploads
    uploads_size: 0.00 B (0 bytes)
    themes_path: /var/www/hlbenefits.com/html/wp-content/themes
    themes_size: 81.72 MB (85693537 bytes)
    plugins_path: /var/www/hlbenefits.com/html/wp-content/plugins
    plugins_size: 133.54 MB (140031520 bytes)
    database_size: 104.70 MB (109787180 bytes)
    total_size: 1.00 GB (1078868497 bytes)
    
    ### wp-dropins (1) ###
    
    advanced-cache.php: true
    
    ### wp-active-theme ###
    
    name: Divi Ultimate (Divi-Ultimate)
    version: 8.0.1
    author: Divi Ultimate
    author_website: https://diviultimate.com
    parent_theme: Divi (Divi)
    theme_features: custom-background, automatic-feed-links, post-thumbnails, menus, title-tag, post-formats, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, editor-style, widgets
    theme_path: /var/www/hlbenefits.com/html/wp-content/themes/Divi-Ultimate
    
    ### wp-parent-theme ###
    
    name: Divi (Divi)
    version: 4.4.2
    author: Elegant Themes
    author_website: https://www.elegantthemes.com
    theme_path: /var/www/hlbenefits.com/html/wp-content/themes/Divi
    
    ### wp-themes-inactive (6) ###
    
    Extra: version: 4.4.2, author: Elegant Themes
    Healthy Living Benefits D: version: 1.0.0, author: Elegant Themes
    Healthy Living Benefits: version: 1.0.0, author: Healthy Living Benefits
    Custom Child: version: 0.1, author: Milly Vanilly
    Sahifa: version: 5.6.5, author: TieLabs
    Twenty Twenty: version: 1.2, author: the WordPress team
    
    ### wp-mu-plugins (2) ###
    
    ET Support Center :: Must-Use Plugins Autoloader: author: Elegant Themes, version: (undefined)
    Health Check Troubleshooting Mode: author: (undefined), version: 1.7.0
    
    ### wp-plugins-active (7) ###
    
    Divi Ultimate Archive Plugin: version: 1.0.0, author: Divi.Help
    Divi Ultimate Plugin: version: 8.0.1, author: Divi Ultimate
    Elegant Themes Updater: version: 1.2, author: Elegant Themes
    footnotes: version: 1.6.5, author: ManFisher Medien ManuFaktur
    Q2W3 Fixed Widget: version: 5.1.9, author: Thomas Maier, Max Bond
    Really Simple SSL: version: 3.3, author: Rogier Lankhorst, Mark Wolters
    WP Review Pro: version: 2.2.14, author: MyThemesShop
    
    ### wp-plugins-inactive (45) ###
    
    Ad Inserter: version: 2.6.6, author: Igor Funa
    Akismet Anti-Spam: version: 4.1.4, author: Automattic
    All-in-One WP Migration: version: 7.18, author: ServMask (latest version: 7.19)
    AMP: version: 0.6.2, author: Automattic
    Autoptimize: version: 2.6.2, author: Frank Goossens (futtta)
    Better Search Replace: version: 1.3.3, author: Delicious Brains
    Bloom: version: 1.3.10, author: Elegant Themes
    Classic Editor: version: 1.5, author: WordPress Contributors
    Contact Form 7: version: 5.1.7, author: Takayuki Miyoshi
    Content Aware Sidebars: version: 3.11.1, author: Joachim Jensen - DEV Institute
    Contextual Related Posts: version: 2.8.0, author: WebberZone
    Custom Sidebars: version: 3.2.3, author: WPMU DEV
    Elegant Themes Support: version: 1.5, author: Elegant Themes
    Facebook Instant Articles & Google AMP Pages by PageFrog: version: 1.0.9, author: PageFrog Team
    Health Check & Troubleshooting: version: 1.4.3, author: The www.ads-software.com community
    Hello Dolly: version: 1.7.2, author: Matt Mullenweg
    Hummingbird: version: 2.4.2, author: WPMU DEV
    Insert PHP Code Snippet: version: 1.3.1, author: xyzscripts.com
    Instant Articles for WP: version: 4.2.0, author: Automattic, Dekode, Facebook
    Jetpack by WordPress.com: version: 8.3, author: Automattic
    Kraken Image Optimizer: version: 2.6.4, author: Karim Salman
    Lazy Load by WP Rocket: version: 2.3.2, author: WP Rocket
    Monarch Plugin: version: 1.4.12, author: Elegant Themes
    Pin It Button On Image Hover And Post: version: 2.7.7, author: Weblizar
    Pluginception: version: 1.3, author: Otto
    Posts in Sidebar: version: 4.10.3, author: Aldo Latino
    Recent Posts Widget With Thumbnails: version: 6.7.0, author: Martin Stehle
    Regenerate Thumbnails: version: 3.1.3, author: Alex Mills (Viper007Bond)
    Schema - All In One Schema Rich Snippets: version: 1.6.1, author: Brainstorm Force
    Search & Replace: version: 3.2.1, author: Inpsyde GmbH
    Share Buttons by AddThis: version: 6.2.6, author: The AddThis Team
    Sidebar Plugin: author: (undefined), version: (undefined)
    Smush: version: 3.6.1, author: WPMU DEV
    Table of Contents Plus: version: 2002, author: Michael Tran
    UpdraftPlus - Backup/Restore: version: 1.16.23, author: UpdraftPlus.Com, DavidAnderson
    Widget Options: version: 3.7.4, author: Widget Options Team
    WordPress Importer: version: 0.7, author: wordpressdotorg
    WordPress Related Posts Thumbnails: version: 1.8.3, author: WPBrigade
    WP-Matomo: version: 1.0.22, author: André Br?kling
    WP Fastest Cache: version: 0.9.0.4, author: Emre Vona
    WP Fastest Cache Premium: version: 1.5.7, author: Emre Vona
    WP Rocket: version: 3.0.3, author: WP Media
    WP Super Cache: version: 1.7.1, author: Automattic
    WP User Avatar: version: 2.2.5, author: flippercode
    Yoast SEO: version: 13.4.1, author: Team Yoast
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1656
    imagemagick_version: ImageMagick 6.7.8-9 2019-08-08 Q16 https://www.imagemagick.org
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 15 GB
    	imagick::RESOURCETYPE_DISK: 1.844674407371E+19
    	imagick::RESOURCETYPE_FILE: 768
    	imagick::RESOURCETYPE_MAP: 15 GB
    	imagick::RESOURCETYPE_MEMORY: 8 GB
    	imagick::RESOURCETYPE_THREAD: not available
    gd_version: 2.2.5
    ghostscript_version: 9.25
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-1062.18.1.el7.x86_64 x86_64
    httpd_software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/7.3.16
    php_version: 7.3.16 64bit
    php_sapi: apache2handler
    max_input_variables: 1000
    time_limit: 600
    memory_limit: 1024M
    max_input_time: 600
    upload_max_size: 1024M
    php_post_max_size: 1024M
    curl_version: 7.29.0 NSS/3.44
    suhosin: false
    imagick_availability: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.4.12-MariaDB
    client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/hlbenefits.com/html/wp-content
    WP_PLUGIN_DIR: /var/www/hlbenefits.com/html/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 1024M
    WP_DEBUG: true
    WP_DEBUG_DISPLAY: false
    WP_DEBUG_LOG: true
    SCRIPT_DEBUG: true
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    

    What I find unusual is this line:

    uploads_size: 0.00 B (0 bytes)

    I’m pretty sure this has something to do with my issue.

    Thread Starter dianne92

    (@dianne92)

    It was the Settings > Media > Store uploads in this folder value being set to an incorrect path the culprit for this issue. Now that I’ve set that correctly, I can upload pictures.

    Moderator t-p

    (@t-p)

    Glad its sorted ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to view newly uploaded images’ is closed to new replies.