Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor A5hleyRich

    (@a5hleyrich)

    Hi,

    How are users able to upload files? Are you using a plugin or is this custom functionality?

    Thread Starter vlog

    (@vlog)

    I’m using standard WordPress function to upload files: wp_insert_attachment and wp_update_attachment_metadata.

    They either go into wp-content/uploads/video_image/ or wp-content/uploads/user_profile_image/ which shouldn’t matter because the path is set to wp-content/uploads/

    Any idea?

    Plugin Contributor A5hleyRich

    (@a5hleyrich)

    Can you share the full code that’s responsible for the upload?

    Thread Starter vlog

    (@vlog)

    https://pastebin.com/5KaSYtAQ

    that includes two different approaches we tried.

    —- Use Filter Code —-

    • This reply was modified 7 years, 10 months ago by vlog.
    Thread Starter vlog

    (@vlog)

    It’s worth nothing, the top part of the first pastebin is the active code but below “Use Filter Code” was the previous code we had tried.

    And for the image.php it references: https://pastebin.com/yPqKgXjL
    and for file.php: https://pastebin.com/vUfSmVzz

    Plugin Contributor A5hleyRich

    (@a5hleyrich)

    I don’t see any reason why those files wouldn’t get offloaded to S3.

    Do you have any errors logged when WP_DEBUG_LOG is enabled?

    Thread Starter vlog

    (@vlog)

    No errors shown for it. I’m really confused. It’s holding up releasing my site. Any other ideas on how to force these files into the folder, by any chance?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Some files aren’t uploading to my S3 server’ is closed to new replies.