• Hi,

    I work with massive files in my website (The chunks may take up 100 GB in near future, and will certainly increase later), I have increased nginx max upload size limit to 256 MB and WordPress own limit to 128 MB. I work with remote servers to store data (Google Cloud, etc.,) and I’m facing uploads issues maybe because of timeouts, the files are way 3 – 5 or more times smaller than WordPress max upload size, but still I receive annoying errors like Something happened. Please check server error logs.

    My internet speed sometimes is very slow… I’ll gradually increase the max upload size for both web server and WordPress when needed… I don’t see the need now, because I embed most data from remote servers into my site, for e.g I use Google Cloud to save my resources (bandwidth, etc.,)

    • This topic was modified 3 years, 5 months ago by boostxd.
    • This topic was modified 3 years, 5 months ago by boostxd.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It may be easiest for you to upload to a “staging” directory, then use the plugin “add to server” to move the files into the right directory and add them to your media library.

    Thread Starter boostxd

    (@boostxd)

    The destination of files is Google Photos to be exact (Google Photos is linked with Google Drive though…). I use Google Photos API to upload them to my account storage (I’ll expand it when needed too) and use them whenever user requests to read a chapter from my collection. I’m not uploading them to my own server currently to save resources

    • This reply was modified 3 years, 5 months ago by boostxd.
    • This reply was modified 3 years, 5 months ago by boostxd.
    • This reply was modified 3 years, 5 months ago by boostxd.
    • This reply was modified 3 years, 5 months ago by boostxd.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Is WP creating the derivative images (thumbnails, medium, large) etc? If so, that processing is what may be timing out.

    Thread Starter boostxd

    (@boostxd)

    Yeah, I think so

    Thread Starter boostxd

    (@boostxd)

    When I tested the upload with very small collections, it went smooth. I could even upload several chapters at once.

    • This reply was modified 3 years, 5 months ago by boostxd.
    • This reply was modified 3 years, 5 months ago by boostxd.
    Thread Starter boostxd

    (@boostxd)

    I did deep search and enabled debug mode, looks like Argument #1 ($finfo) cannot be empty in… error may help troubleshooting the issue. I don’t know what could be causing this, but the plugin was working well earlier…

    • This reply was modified 3 years, 5 months ago by boostxd.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    >> but the plugin was working well earlier <<

    Which plugin?

    Thread Starter boostxd

    (@boostxd)

    Madara Core. It comes bundled with theme essential package

    • This reply was modified 3 years, 5 months ago by boostxd.
    Thread Starter boostxd

    (@boostxd)

    I found the code that was causing issues, I’m kinda new to PHP but in line 82, error origin is $finfo = finfo_open( FILEINFO_MIME );, is that same thing as $finfo = finfo_open(FILEINFO_MIME_TYPE);?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You’re using a commercial/premium theme/plugin, so please use their official support channel. We feel they are best equipped to support their products.

    https://themeforest.net/item/madara-wordpress-theme-for-manga/20849828/support

    Commercial products are not supported in these forums.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Best settings to site with massive files’ is closed to new replies.