• Resolved mess

    (@michaelm0809)


    Love the plugin man!

    I do have a problem though. Probably a misconfiguration on my end, but for some reason I cannot finish any upload over 10ish mb. I’ve tried dummy zips, mp4s, exes; manipulated the short-code multiple times. It usually gets to about 84% and just hangs… some files under 20mb get the error file could not be upload.

    site: http://lcf.kapturdesign.com/

    https://ww.wp.xz.cn/plugins/file-away/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author thomstark

    (@thomstark)

    10mb is the default max size. You have to set the maxsize in the shortcode like so:

    [fileup maxsize=”50″]

    The shortcode generator has an info icon on the max size setting that tells you what the max size for your server is set to as well. If the server max size is less than the maxsize=”” setting in your shortcode, the server setting will take precedence.

    Thread Starter mess

    (@michaelm0809)

    my short-code

    [fileup makedir=”true” single=”true” maxsize=”500″ theme=”silver-bullet”]

    my php.ini (root of WP dir) reads

    file_uploads = On;
    post_max_size = 500M;
    upload_max_filesize = 500M;

    yet the info icon shows

    post_max_size: 8M
    upload_max_filesize: 40M

    Plugin Author thomstark

    (@thomstark)

    Sometimes people run into having multiple php.ini files, and sometimes only your host has access to the php.ini file that is causing the problem. Is your site on a subdomain?

    Plugin Author thomstark

    (@thomstark)

    I see the link to your site now. Yeah, it’s on a subdomain, which means you’re dealing with multiple php.ini files. I recommend contacting your web host and having them help you track down the offending php.ini.

    Thread Starter mess

    (@michaelm0809)

    Sorry it took so long to reply.

    I tracked down the issue. Apparently the php.ini must be in the wp-admin folder or as well (sub-domain)..?

    Just thinking out loud. From my googling and such, wouldn’t the sub-domain not be an issue though? It has its own site root, making it completely independent of the parent.

    Anyways. Thanks again for some great work and hastily replies!!

    Plugin Author thomstark

    (@thomstark)

    It’s just an issue that I’ve encountered multiple times with File Away users on sub domains (including myself with one of my own hosting accounts). Sometimes web hosts seem to have some secret php.ini file that isn’t obviously visible to you on ftp. But it’s definitely an issue with multiple php.ini files.

    Thread Starter mess

    (@michaelm0809)

    Out of curiosity, where should the php.ini file reside?

    The WP root or the wp-admin, and if there are sub-domains involved does that parent really affect the child? No biggie, just curious if you knew. 1&1 support wasn’t much assistance 😉

    Plugin Author thomstark

    (@thomstark)

    If they allow you to change your php config on your server to PHP 5.whatever Single, then you would have one ini file in the root of your primary domain, and all other ini files would be moot. Otherwise, I’m not sure, you’ll have to consult the WordPress docs or something for best php.ini placement.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Unsuccessful uploads’ is closed to new replies.