• Resolved TwoBrands BV

    (@webworkx)


    Hello,

    We manage a website where recently media file renamer is installed, now we found out the upload is not working anymore, the error is that the uploaded file size is not allowed. although it concernes standard jpg,png files.

    We can make it work if we add the following wpconfig setting:
    define( ‘ALLOW_UNFILTERED_UPLOADS’, true );

    But since this is a security risk we looked further and found out that everything is working again after disabling media file renamer plugin.

    We manage several websites, on the same hosting with simalar settings but never experienced this problem, tried disabling every plugin and came to this conclusion.

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

    (@tigroumeow)

    Hi,

    Did you check your PHP Error Logs? If it breaks the process, then it should be in the Error Logs. First thing to check ??

    Also, I released a version of the plugin yesterday which was sometimes generating a PHP warning. Not sure what your settings are, normally that’s fine but it could have done that. I released a new version 2-3 hours ago that fixed that.

    Anyway, let me know what you have in your PHP Error Logs, that’s important to know.

    Thread Starter TwoBrands BV

    (@webworkx)

    No specific errors in the changlog in this particular case

    We had some problems before with the renamer on the same site, it generated errors on an import tool. No idea what these 2 had to do with eachother. But after deactivating renamer the import succeded and no errors where in the log anymore. Don’t know if you recent fix was about such problems.

    I checked server error log and switched on media filerenamer log, but no errors in both.

    Maybe some conflicts with some plugins? Although it is a rather basic site, we manage serveral of this site.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Media File Renamer is used by thousands of users at the moment, and I am using myself of 10-12 installs regularly. I have tested it a lot today after two consecutive releases. It seems to really work fine.

    In your case, if there is a problem it should really show up in the PHP Error Logs. You mentioned the changelog but that is a totally different thing, so make sure you are checking the PHP Error Logs. Without those, it’s impossible to know what’s happening.

    Maybe there was a problem with the very latest release, and in that case I am pretty sure more users will come here. But in any case, PHP Error Logs are required ?? And of course, I will fix it if it is a plugin issue.

    Thread Starter TwoBrands BV

    (@webworkx)

    Update:
    I found an error after re-testing and which occured before. But was not related i thought, but seems to be.

    it’s a max_allowed_bytes error on a query

    Similar to described here:
    https://tribulant.com/forums/discussion/498/solved-new-image-plugin-is-trashing-my-site

    Plugin Author Jordy Meow

    (@tigroumeow)

    max_allowed_bytes seems that basically the process was too intense for your server to handle.

    Media File Renamer runs a query to update the references after a renaming. Not really useful on upload, but normally it doesn’t do it, so that’s a bit strange.

    Do you have a huge number of Posts/Pages?

    Thread Starter TwoBrands BV

    (@webworkx)

    The website contains 1200 products in woocommerce.
    Site is running on our own managed webserver with at least 50 other installations. A lot of them also contain media file renamer.

    Funny thing is that we recently updated their theme/design. did this on the same server in a test environment, but there the media file renamer is working.

    So server is the same, also php and other settings. for now i’m out of ideas where to look for the problem/difference

    Plugin Author Jordy Meow

    (@tigroumeow)

    Can you please try the new version 3.7.1? It should fix it ??

    Thread Starter TwoBrands BV

    (@webworkx)

    Fantastic! It solved the upload problem!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Media file renamer breaks file upload’ is closed to new replies.