woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
275 stars 135 forks source link

Unable to Load Image #10329

Closed thabotswana closed 4 months ago

thabotswana commented 9 months ago

Describe the bug Unable to add photos to a product using the WooCommerce app. A placeholder thumbnail appears in the Product editor. A user reported this in 7400449-zd-a8c.

To Reproduce Steps to reproduce the behavior:

  1. Open a product's editor.
  2. Tap Add photos.
  3. Select an upload method.
  4. Add an image.

I am able to replicate this consistently.

Screen recording

https://github.com/woocommerce/woocommerce-android/assets/35628116/4fd07af5-f6e5-47a7-8086-a128843d9622

Expected behavior You should be able to add images to a Product in the app

Isolating the problem (mark completed items with an [x]):

Mobile Environment Please include:

WordPress Environment

``` ### System Status Report generated via the WooCommerce Android app ### ### WordPress Environment ### WordPress Address (URL): https://thabostoreadmin.blog Site Address (URL): https://thabostoreadmin.blog WC Version: 8.3.1 Log Directory Writable: ✔ WP Version: 6.4.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: ✔ ### Server Environment ### Server Info: nginx PHP Version: 7.4.33 PHP Post Max Size: 1 GB PHP Time Limit: 1200 s PHP Max input Vars: 6144 cURL Version: 8.4.0, OpenSSL/1.1.1n Suhosin installed: – MySQL Version: 5.5.5-10.4.25-MariaDB-log PHP Post Max Size: 1 GB Default Timezone: UTC fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibye String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 8.3.1 WC Database Prefix: wp_ Total Database Size: 9.04 MB Database Data Size: 5.50 MB Database Index Size: 3.54 MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.08MB + Index: 0.13MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_automation_runs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_scheduled_tasks: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_settings: Data: 0.03MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.23MB + Engine InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 0.38MB + Index: 0.06MB + Engine InnoDB wp_postmeta: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_posts: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Security ### Secure Connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins ### Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team - 5.3 CoBlocks: by GoDaddy - 3.1.5 Crowdsignal Forms: by Automattic - 1.7.0 WordPress.com Editing Toolkit: by Automattic - 4.5430 Google Listings and Ads: by WooCommerce - 2.5.12 Jetpack: by Automattic - 12.9-beta Layout Grid: by Automattic - 1.8.4 MailPoet: by MailPoet - 4.38.0 Page Optimize: by Automattic - 0.5.4 Crowdsignal Polls & Ratings: by Automattic, Inc. - 3.1.1 Checkout Field Editor for WooCommerce: by ThemeHigh - 2.0.0 WooCommerce Blocks: by Automattic - 11.6.2 WooCommerce Stripe Gateway: by WooCommerce - 7.7.0 WooCommerce: by Automattic - 8.3.1 WP Mail SMTP: by WP Mail SMTP - 3.10.0 WPForms Lite: by WPForms - 1.8.5.2 ### Settings ### API Enabled: – Force SSL: – Currency: ZAR (R) Currency Position: left Thousand Separator: Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: Page ID #8 Cart: Page ID #9 Checkout: Page ID #10 My account: Page ID #11 Terms and conditions: X Page not set ### Theme ### Name: Storefront Version: 3.9.1 (update to version 4.5.3 available) Author URL: https://woocommerce.com/ WooCommerce support: ✔ WooCommerce files: – Outdated templates: – ### Status report information ### Generated at: 2023-12-05 13:57:35 +0200 ```
peril-woocommerce[bot] commented 9 months ago
Fails
:no_entry_sign: Please add a feature label to this issue. e.g. 'feature: stats'

Generated by :no_entry_sign: dangerJS

erricgunawan commented 9 months ago

1-star Android App Review from Oct 27, 2023:

Also experiencing the issue of uploading images. Absolutely nothing uploads no matter how many times I try. This is a major problem as I have many new products to upload on my website, but I cannot because of the app, this is a huge inconvenience and a drop on sales for my business.

App version code: 465 App version name: 15.8 Android version: Android 12 (SDK 31)

erricgunawan commented 9 months ago

7370059-zen (initial report from Nov 28, 2023):

It is working in my browser , in-app not able to upload pictures , recently migrated wordpress backup and database

I narrowed down the problem a bit , on both phones it works when I make a picture and upload directly , it doesn't work when I want to upload from the album.

on computer it works fine when I am uploading from the device

i reinstalled woo i reinstalled jetpack

on my Iphone uploading works fine , on my other phone samsung it says ''invalid response from jetpack'' it sometimes work but most of the time it doesnt.

erricgunawan commented 9 months ago

2-star Android App Review on Nov 7, 2023:

Facing issue with uploading product image

App version code: 465 App version name: 15.8 Android version: Android 13 (SDK 33)

erricgunawan commented 6 months ago

7789809-zen (2-star Android App Review) on Feb 24, 2024:

There's an issue with the permissions. I can't access images or camera. I've tried from app settings and even attempted with an external app to enable the required permissions but it seems the developers clearly left that vital part out. I can't manage product images from the app. Everything else works fine. Kindly update.

Device: Samsung Galaxy S6 Edge+ App version code: 480 App version name: 16.4 Android version: Android 7.0 (SDK 24)

HBiSoft commented 6 months ago

Same here. None of my product thumbnails are loading. I've tested on different devices.

I've cleared my websites cache and tried reinstalling the Woocommerce app.

The images load when I tap on the placeholder, but the images are not shown in the placeholder.

0nko commented 5 months ago

The app can't access CDN images for private sites. We can't change this but we should display a notice to let the users know about this limitation.

dangermattic commented 4 months ago

Thanks for reporting! 👍