Forums

iOS (iPad) App Uploading images OK but links wrong in posts...

  1. Using the current iOS (iPad) Wordpress app to post to a self-hosted (absolutely up-to-date) WordPress Install

    Images are uploading 100% AOK but the links in the posts are wrong/nonsense - likely the file on the iPad and not the site?

    They looking like

    <img data-wpid="2BD088EC-EAC7-4879-8B26-ABDAE30C4261" src="/var/mobile/Containers/Data/Application/9EB99EF4-F0D2-4F4E-850B-4A6F493AC6F5/Documents/Media/img_1230-thumbnail.jpeg" alt="">

    Clearly something is borked??

  2. p.s. nothing obvious in the site Wordpress error.log either...

  3. Hi johnpeat,

    Clearly something is borked

    Indeed.

    The app displays a thumbnail of an image while its being uploaded. To display the thumbnail, the img tag is assigned a local path to an image on your iPad, which is what you're seeing in the src attribute. Once the image is fully uploaded the app updates the src attribute with the URL of the uploaded image.

    It looks like the update isn't happening, but its not immediately clear why. It might be helpful to review the app's activity log for any clues. If you can share the current log here I'd be happy to take a look.

    Two quick questions, is this happening for every post you upload images on or just one in particular, and does it happen for a single image, or only with multiple images?

    Cheers.

  4. Until the recent App update, every image I'd tried to upload (always single images embedded with the WYSIWYG text editor) had failed

    Since the update, some have worked but some still fail so that could just be luck?

    I've reduced the image size from 'original' to '1500x1500 max' but that didn't help (I've had successful and failed posts with both settings)

    This is an activity log from earlier - I added 3 posts, the first ("Test") worked - the 2nd ("hfhf....") didn't and the third ("lhgo...") worked

    The image for the 2nd post HAS been uploaded into the media gallery but the link in the post itself is wrong

    I've sanitised this of URLs and it's been through email from the iPad but it's otherwise as-supplied

    2016/08/26 16:54:02:096  WPAnalytics session started
    2016/08/26 16:54:02:184
    ===========================================================================
    2016/08/26 16:54:02:185  Launching WordPress for iOS 6.4 (6.4.0.4)...
    2016/08/26 16:54:02:186  Crash count:       0
    2016/08/26 16:54:02:186  Debug mode:  Production
    2016/08/26 16:54:02:186  Extra debug: YES
    2016/08/26 16:54:02:187  Device model: iPad 4 (WiFi) (iPad3,4)
    2016/08/26 16:54:02:187  OS:        iPhone OS 9.3.4
    2016/08/26 16:54:02:187  Language:  en-GB
    2016/08/26 16:54:02:187  UDID:      BDC2047C-C136-4003-9E6B-AB0ED25F14AE
    2016/08/26 16:54:02:199  APN token:
    2016/08/26 16:54:02:199  Launch options: (null)
    2016/08/26 16:54:02:200  All blogs on device:
    2016/08/26 16:54:02:210  <Blog Name: xxx URL:
    http://com XML-RPC:
    http://com/xmlrpc.php jetpack: 🚀❔Jetpack not
    installed>
    2016/08/26 16:54:02:210
    ===========================================================================
    2016/08/26 16:54:02:274  Helpshift Enabled
    2016/08/26 16:54:03:022  User-Agent set to: Mozilla/5.0 (iPad; CPU OS
    9_3_4 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko)
    Mobile/13G35 wp-iphone/6.4
    2016/08/26 16:54:03:259  MediaService cleanUnusedMediaFileFromTmpDir
    2016/08/26 16:54:03:879  didFinishLaunchingWithOptions state: 1
    2016/08/26 16:54:04:024  <WordPressAppDelegate: 0x17d60c90>
    applicationDidBecomeActive:
    2016/08/26 16:54:05:891  1 media items to check for cleanup
    2016/08/26 16:54:14:147  Error background syncing followed sites :
    Error Domain=ReaderSiteServiceErrorDomain Code=0 "You must be signed
    in to a WordPress.com account to perform this action."
    UserInfo={NSLocalizedDescription=You must be signed in to a
    WordPress.com account to perform this action.}
    2016/08/26 16:54:14:891  Helpshift Disabled
    2016/08/26 16:55:27:149  Copying attribute author
    2016/08/26 16:55:27:153  Copying attribute authorAvatarURL
    2016/08/26 16:55:27:153  Copying attribute authorID
    2016/08/26 16:55:27:153  Copying attribute content
    2016/08/26 16:55:27:153  Copying attribute date_created_gmt
    2016/08/26 16:55:27:153  Copying attribute mt_excerpt
    2016/08/26 16:55:27:153  Copying attribute mt_text_more
    2016/08/26 16:55:27:153  Copying attribute password
    2016/08/26 16:55:27:154  Copying attribute pathForDisplayImage
    2016/08/26 16:55:27:154  Copying attribute permaLink
    2016/08/26 16:55:27:154  Copying attribute postID
    2016/08/26 16:55:27:154  Copying attribute postTitle
    2016/08/26 16:55:27:154  Copying attribute post_thumbnail
    2016/08/26 16:55:27:154  Copying attribute remoteStatusNumber
    2016/08/26 16:55:27:154  Copying attribute status
    2016/08/26 16:55:27:154  Copying attribute wp_slug
    2016/08/26 16:55:27:154  Copying attribute dateModified
    2016/08/26 16:55:27:154  Copying attribute metaIsLocal
    2016/08/26 16:55:27:154  Copying attribute metaPublishImmediately
    2016/08/26 16:55:27:154  Copying attribute commentCount
    2016/08/26 16:55:27:155  Copying attribute geolocation
    2016/08/26 16:55:27:155  Copying attribute latitudeID
    2016/08/26 16:55:27:155  Copying attribute likeCount
    2016/08/26 16:55:27:155  Copying attribute longitudeID
    2016/08/26 16:55:27:155  Copying attribute postFormat
    2016/08/26 16:55:27:156  Copying attribute postType
    2016/08/26 16:55:27:156  Copying attribute publicID
    2016/08/26 16:55:27:156  Copying attribute tags
    2016/08/26 16:55:27:156  Copying relationship blog
    2016/08/26 16:55:27:156  Skipping relationship original
    2016/08/26 16:55:27:157  Skipping relationship revision
    2016/08/26 16:55:27:157  Copying relationship comments
    2016/08/26 16:55:27:157  Copying relationship media
    2016/08/26 16:55:27:157  Copying relationship categories
    2016/08/26 16:55:28:187  !!! Attempted to create a revision of a revision
    2016/08/26 16:55:53:051  <WPPostViewController: 0x18379600> savePost
    2016/08/26 16:55:54:277  Copying attribute author
    2016/08/26 16:55:54:278  Copying attribute authorAvatarURL
    2016/08/26 16:55:54:278  Copying attribute authorID
    2016/08/26 16:55:54:278  Copying attribute content
    2016/08/26 16:55:54:278  Copying attribute date_created_gmt
    2016/08/26 16:55:54:279  Copying attribute mt_excerpt
    2016/08/26 16:55:54:279  Copying attribute mt_text_more
    2016/08/26 16:55:54:279  Copying attribute password
    2016/08/26 16:55:54:279  Copying attribute pathForDisplayImage
    2016/08/26 16:55:54:280  Copying attribute permaLink
    2016/08/26 16:55:54:280  Copying attribute postID
    2016/08/26 16:55:54:280  Copying attribute postTitle
    2016/08/26 16:55:54:280  Copying attribute post_thumbnail
    2016/08/26 16:55:54:280  Copying attribute remoteStatusNumber
    2016/08/26 16:55:54:281  Copying attribute status
    2016/08/26 16:55:54:281  Copying attribute wp_slug
    2016/08/26 16:55:54:281  Copying attribute dateModified
    2016/08/26 16:55:54:281  Copying attribute metaIsLocal
    2016/08/26 16:55:54:281  Copying attribute metaPublishImmediately
    2016/08/26 16:55:54:281  Copying attribute commentCount
    2016/08/26 16:55:54:281  Copying attribute geolocation
    2016/08/26 16:55:54:282  Copying attribute latitudeID
    2016/08/26 16:55:54:282  Copying attribute likeCount
    2016/08/26 16:55:54:282  Copying attribute longitudeID
    2016/08/26 16:55:54:282  Copying attribute postFormat
    2016/08/26 16:55:54:282  Copying attribute postType
    2016/08/26 16:55:54:283  Copying attribute publicID
    2016/08/26 16:55:54:283  Copying attribute tags
    2016/08/26 16:55:54:283  Copying relationship blog
    2016/08/26 16:55:54:283  Skipping relationship original
    2016/08/26 16:55:54:283  Skipping relationship revision
    2016/08/26 16:55:54:283  Copying relationship comments
    2016/08/26 16:55:54:283  Copying relationship media
    2016/08/26 16:55:54:284  Copying relationship categories
    2016/08/26 16:55:54:304  post uploaded: Testing
    2016/08/26 16:55:54:702  Detected unbalanced register/unregister
    private site protocol.
    2016/08/26 16:56:03:201  <WordPressAppDelegate: 0x17d60c90>
    applicationWillResignActive:
    2016/08/26 16:56:04:130  <WordPressAppDelegate: 0x17d60c90>
    applicationDidEnterBackground:
    2016/08/26 18:44:36:396  <WordPressAppDelegate: 0x17d60c90>
    applicationWillEnterForeground:
    2016/08/26 18:44:36:771  <WordPressAppDelegate: 0x17d60c90>
    applicationDidBecomeActive:
    2016/08/26 18:44:43:533  <WordPressAppDelegate: 0x17d60c90>
    applicationWillResignActive:
    2016/08/26 18:44:44:200  <WordPressAppDelegate: 0x17d60c90>
    applicationDidEnterBackground:
    2016/08/26 18:45:07:282  <WordPressAppDelegate: 0x17d60c90>
    applicationWillEnterForeground:
    2016/08/26 18:45:07:894  <WordPressAppDelegate: 0x17d60c90>
    applicationDidBecomeActive:
    2016/08/26 18:45:25:895  Copying attribute author
    2016/08/26 18:45:25:895  Copying attribute authorAvatarURL
    2016/08/26 18:45:25:895  Copying attribute authorID
    2016/08/26 18:45:25:895  Copying attribute content
    2016/08/26 18:45:25:895  Copying attribute date_created_gmt
    2016/08/26 18:45:25:895  Copying attribute mt_excerpt
    2016/08/26 18:45:25:896  Copying attribute mt_text_more
    2016/08/26 18:45:25:896  Copying attribute password
    2016/08/26 18:45:25:896  Copying attribute pathForDisplayImage
    2016/08/26 18:45:25:896  Copying attribute permaLink
    2016/08/26 18:45:25:896  Copying attribute postID
    2016/08/26 18:45:25:896  Copying attribute postTitle
    2016/08/26 18:45:25:896  Copying attribute post_thumbnail
    2016/08/26 18:45:25:896  Copying attribute remoteStatusNumber
    2016/08/26 18:45:25:896  Copying attribute status
    2016/08/26 18:45:25:896  Copying attribute wp_slug
    2016/08/26 18:45:25:896  Copying attribute dateModified
    2016/08/26 18:45:25:897  Copying attribute metaIsLocal
    2016/08/26 18:45:25:897  Copying attribute metaPublishImmediately
    2016/08/26 18:45:25:897  Copying attribute commentCount
    2016/08/26 18:45:25:897  Copying attribute geolocation
    2016/08/26 18:45:25:897  Copying attribute latitudeID
    2016/08/26 18:45:25:897  Copying attribute likeCount
    2016/08/26 18:45:25:897  Copying attribute longitudeID
    2016/08/26 18:45:25:897  Copying attribute postFormat
    2016/08/26 18:45:25:897  Copying attribute postType
    2016/08/26 18:45:25:898  Copying attribute publicID
    2016/08/26 18:45:25:898  Copying attribute tags
    2016/08/26 18:45:25:898  Copying relationship blog
    2016/08/26 18:45:25:898  Skipping relationship original
    2016/08/26 18:45:25:898  Skipping relationship revision
    2016/08/26 18:45:25:898  Copying relationship comments
    2016/08/26 18:45:25:899  Copying relationship media
    2016/08/26 18:45:25:899  Copying relationship categories
    2016/08/26 18:45:26:437  !!! Attempted to create a revision of a revision
    2016/08/26 18:45:52:168  <WPPostViewController: 0x18ad0400> savePost
    2016/08/26 18:45:53:564  Copying attribute author
    2016/08/26 18:45:53:565  Copying attribute authorAvatarURL
    2016/08/26 18:45:53:565  Copying attribute authorID
    2016/08/26 18:45:53:565  Copying attribute content
    2016/08/26 18:45:53:565  Copying attribute date_created_gmt
    2016/08/26 18:45:53:565  Copying attribute mt_excerpt
    2016/08/26 18:45:53:565  Copying attribute mt_text_more
    2016/08/26 18:45:53:565  Copying attribute password
    2016/08/26 18:45:53:565  Copying attribute pathForDisplayImage
    2016/08/26 18:45:53:565  Copying attribute permaLink
    2016/08/26 18:45:53:566  Copying attribute postID
    2016/08/26 18:45:53:566  Copying attribute postTitle
    2016/08/26 18:45:53:566  Copying attribute post_thumbnail
    2016/08/26 18:45:53:566  Copying attribute remoteStatusNumber
    2016/08/26 18:45:53:566  Copying attribute status
    2016/08/26 18:45:53:566  Copying attribute wp_slug
    2016/08/26 18:45:53:567  Copying attribute dateModified
    2016/08/26 18:45:53:567  Copying attribute metaIsLocal
    2016/08/26 18:45:53:567  Copying attribute metaPublishImmediately
    2016/08/26 18:45:53:567  Copying attribute commentCount
    2016/08/26 18:45:53:567  Copying attribute geolocation
    2016/08/26 18:45:53:568  Copying attribute latitudeID
    2016/08/26 18:45:53:568  Copying attribute likeCount
    2016/08/26 18:45:53:568  Copying attribute longitudeID
    2016/08/26 18:45:53:568  Copying attribute postFormat
    2016/08/26 18:45:53:568  Copying attribute postType
    2016/08/26 18:45:53:568  Copying attribute publicID
    2016/08/26 18:45:53:568  Copying attribute tags
    2016/08/26 18:45:53:568  Copying relationship blog
    2016/08/26 18:45:53:569  Skipping relationship original
    2016/08/26 18:45:53:569  Skipping relationship revision
    2016/08/26 18:45:53:569  Copying relationship comments
    2016/08/26 18:45:53:569  Copying relationship media
    2016/08/26 18:45:53:569  Copying relationship categories
    2016/08/26 18:45:53:579  post uploaded: Hfhfhfhvhvhfh
    2016/08/26 18:45:53:611  Detected unbalanced register/unregister
    private site protocol.
    2016/08/26 18:46:01:130  <WordPressAppDelegate: 0x17d60c90>
    applicationWillResignActive:
    2016/08/26 18:46:04:186  <WordPressAppDelegate: 0x17d60c90>
    applicationDidEnterBackground:
    2016/08/26 18:47:01:490  <WordPressAppDelegate: 0x17d60c90>
    applicationWillEnterForeground:
    2016/08/26 18:47:02:433  <WordPressAppDelegate: 0x17d60c90>
    applicationDidBecomeActive:
    2016/08/26 18:47:07:240  Copying attribute author
    2016/08/26 18:47:07:240  Copying attribute authorAvatarURL
    2016/08/26 18:47:07:241  Copying attribute authorID
    2016/08/26 18:47:07:241  Copying attribute content
    2016/08/26 18:47:07:241  Copying attribute date_created_gmt
    2016/08/26 18:47:07:241  Copying attribute mt_excerpt
    2016/08/26 18:47:07:241  Copying attribute mt_text_more
    2016/08/26 18:47:07:241  Copying attribute password
    2016/08/26 18:47:07:241  Copying attribute pathForDisplayImage
    2016/08/26 18:47:07:241  Copying attribute permaLink
    2016/08/26 18:47:07:241  Copying attribute postID
    2016/08/26 18:47:07:242  Copying attribute postTitle
    2016/08/26 18:47:07:242  Copying attribute post_thumbnail
    2016/08/26 18:47:07:242  Copying attribute remoteStatusNumber
    2016/08/26 18:47:07:242  Copying attribute status
    2016/08/26 18:47:07:242  Copying attribute wp_slug
    2016/08/26 18:47:07:243  Copying attribute dateModified
    2016/08/26 18:47:07:243  Copying attribute metaIsLocal
    2016/08/26 18:47:07:243  Copying attribute metaPublishImmediately
    2016/08/26 18:47:07:243  Copying attribute commentCount
    2016/08/26 18:47:07:244  Copying attribute geolocation
    2016/08/26 18:47:07:244  Copying attribute latitudeID
    2016/08/26 18:47:07:244  Copying attribute likeCount
    2016/08/26 18:47:07:244  Copying attribute longitudeID
    2016/08/26 18:47:07:244  Copying attribute postFormat
    2016/08/26 18:47:07:244  Copying attribute postType
    2016/08/26 18:47:07:244  Copying attribute publicID
    2016/08/26 18:47:07:244  Copying attribute tags
    2016/08/26 18:47:07:244  Copying relationship blog
    2016/08/26 18:47:07:245  Skipping relationship original
    2016/08/26 18:47:07:245  Skipping relationship revision
    2016/08/26 18:47:07:245  Copying relationship comments
    2016/08/26 18:47:07:245  Copying relationship media
    2016/08/26 18:47:07:245  Copying relationship categories
    2016/08/26 18:47:07:642  !!! Attempted to create a revision of a revision
    2016/08/26 18:47:48:161  <WPPostViewController: 0x184eee00> savePost
    2016/08/26 18:47:49:317  Copying attribute author
    2016/08/26 18:47:49:317  Copying attribute authorAvatarURL
    2016/08/26 18:47:49:317  Copying attribute authorID
    2016/08/26 18:47:49:318  Copying attribute content
    2016/08/26 18:47:49:318  Copying attribute date_created_gmt
    2016/08/26 18:47:49:318  Copying attribute mt_excerpt
    2016/08/26 18:47:49:318  Copying attribute mt_text_more
    2016/08/26 18:47:49:318  Copying attribute password
    2016/08/26 18:47:49:318  Copying attribute pathForDisplayImage
    2016/08/26 18:47:49:318  Copying attribute permaLink
    2016/08/26 18:47:49:318  Copying attribute postID
    2016/08/26 18:47:49:318  Copying attribute postTitle
    2016/08/26 18:47:49:318  Copying attribute post_thumbnail
    2016/08/26 18:47:49:319  Copying attribute remoteStatusNumber
    2016/08/26 18:47:49:319  Copying attribute status
    2016/08/26 18:47:49:319  Copying attribute wp_slug
    2016/08/26 18:47:49:319  Copying attribute dateModified
    2016/08/26 18:47:49:319  Copying attribute metaIsLocal
    2016/08/26 18:47:49:319  Copying attribute metaPublishImmediately
    2016/08/26 18:47:49:319  Copying attribute commentCount
    2016/08/26 18:47:49:319  Copying attribute geolocation
    2016/08/26 18:47:49:319  Copying attribute latitudeID
    2016/08/26 18:47:49:320  Copying attribute likeCount
    2016/08/26 18:47:49:320  Copying attribute longitudeID
    2016/08/26 18:47:49:320  Copying attribute postFormat
    2016/08/26 18:47:49:320  Copying attribute postType
    2016/08/26 18:47:49:320  Copying attribute publicID
    2016/08/26 18:47:49:320  Copying attribute tags
    2016/08/26 18:47:49:320  Copying relationship blog
    2016/08/26 18:47:49:320  Skipping relationship original
    2016/08/26 18:47:49:320  Skipping relationship revision
    2016/08/26 18:47:49:320  Copying relationship comments
    2016/08/26 18:47:49:321  Copying relationship media
    2016/08/26 18:47:49:321  Copying relationship categories
    2016/08/26 18:47:49:332  post uploaded: Ihgoihglihglihg
    2016/08/26 18:47:49:353  Detected unbalanced register/unregister
    private site protocol.
    2016/08/26 18:47:51:242  <WordPressAppDelegate: 0x17d60c90>
    applicationWillResignActive:
    2016/08/26 18:47:54:899  <WordPressAppDelegate: 0x17d60c90>
    applicationDidEnterBackground:
    2016/08/26 18:48:13:601  <WordPressAppDelegate: 0x17d60c90>
    applicationWillEnterForeground:
    2016/08/26 18:48:14:545  <WordPressAppDelegate: 0x17d60c90>
    applicationDidBecomeActive:

    Hope that helps!!

  5. p.s. I have the server error.log for the period but it's too large to post here - try this link

    https://dl.dropboxusercontent.com/u/1164739/wordpresserror.log

  6. Hi @johnpeat

    Thanks for sharing the extra info and the logs. I'm afraid the logs haven't revealed exactly what's happening, so we'll keep looking.

    The issue will be tracked here: https://github.com/wordpress-mobile/WordPress-iOS/issues/5923

    Sorry I don't have better news to share.

  7. We are having the same issue in out multsite install with iOS. Causing us huge issues. Any fix yet?

  8. Hi @mattdoble,

    I replied to your comment on github.

    its been a little tricky to squash as we're not quite sure what the cause is or how to reproduce it. Its still on our radar, but no new news to share just yet.

    Just to reiterate here, this is a bug we'd love to troubleshoot directly if you'd be wiling to share credentials to a test account with an editor role.

  9. The original test site I hit this error with has since been removed so I can't share details for that

    However, in the next week I'll need to setup another, IF I hit the error again, I will return either here or to GitHub and I'll share access to that in the hope it helps

    Thanks for the feedback thusfar!

  10. > IF I hit the error again, I will return either here or to GitHub and I'll share access to that in the hope it helps

    Please do!

Topic Closed

This topic has been closed to new replies.


About this Topic

Tags