• I can not make the image or file upload work. Error message: There is something wrong with the file you tried to upload. Try another. No matter what size image I use I get this message. Can you help?

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author xnau webdesign

    (@xnau)

    With a message like that, the problem is typically not the size or the file type, it is more likely to be a permissions error: in other words the setup of your server isn’t allowing the file to be moved into the correct location.

    This could also be due to security restrictions on your server. I’d suggest you talk to your web host or IT dept. about this issue.

    Hi,

    Did you ever resolve this issue? Ive got it too.
    And my webhoster is sure is has nothing to do with permissions: the folder location has 777 (temporarily) and they have succesfully tested an upload.

    How can I debug this? Is there a temporary upload folder i have to grant rights too?

    • This reply was modified 7 years, 1 month ago by michelfreund.

    Hi,

    Ive now set all folders to 755 and all files to 644. Upload should as far as I know work this way?

    Whats wrong?

    Upload location is /wp-content/uploads/participants-database/
    and files which are permitted jpg,jpeg,gif,png

    I really have got no clue anymore on how to fix this.

    What I noticed, is that it does upload. It seems to me that the system tries to move the file, which fails. Are files uploaded to some temporary folder?

    Plugin Author xnau webdesign

    (@xnau)

    Yes, files are uploaded to a temporary location and then moved to the location set in the plugin settings. This is standard practice. If there is some kind of error during the move, you should get an error message about that. Did you look for an error in your PHP error log?

    Hi,

    Thanks for your reply! I thought I had looked in the error logs via SFTP directly on my hosted website, but apparantly my ISP shows a different errorlog in their control desk. So thanks for your remark, it made me check again via a different route.

    It shows two errors:

    FastCGI: server “/var/run/php71-cgi/php-cgi” stderr: PHP message: PHP Warning: mkdir(): Permission denied in /www/wp-content/plugins/participants-database/participants-database.php on line 3270, referer: https://www.*******.nl/?page_id=81

    6 Oct. 21:45

    AH00529: /sites/*****.nl/www/wp-content/uploads/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that ‘/sites/******.nl/www/wp-content/uploads/’ is executable, referer: https://*******.nl/

    Im diving into this rights issue now, thanks again!

    Plugin Author xnau webdesign

    (@xnau)

    It is possible to manually create the directory if the appication can’t do it automatically.

    Hi,

    Yes – thanks; but the strange thing is, the directory has been created by the plugin if I look via sFTP.

    Plugin Author xnau webdesign

    (@xnau)

    Yes, well, it looks like it’s trying to create the directory in the wrong place. Make sure your “WordPress Address” setting is correct in the general settings.

    Hmm ok, there is indeed a https://www.URL.nl link there, while i always get reffered to https://ww.URL.nl.

    Plugin Author xnau webdesign

    (@xnau)

    OK, make sure it’s the “WordPress Address” setting you’re checking and not the “Site Address” If you do have https set up, those settings should reflect that.

    Are you using a standard WordPress setup?

    Hi,

    Thanks again! My wordpress setup is a result of a ISP script.
    They have told me they indeed use encryption. Since the WordPress Address is set by them (and is now greyed out) ill contact them to report a bug in the setup script.

    Hi,

    The wordpress address is now set to https://www.URL.nl.
    So there should be nothing wrong there. But i still cannot upload.
    At least, files are shown uploading but after that I get a “There is something wrong with this file” message.

    Plugin Author xnau webdesign

    (@xnau)

    That is generally an indication that the file could not be uploaded, most likely that the path is still not correct. Do you have access to FTP? Can you see in your FTP client what the absolute path to the uploads directory is?

    You can answer privately to [email protected]

    I have uploaded images and there are no errors and still the images are not displaying.

    url is https://estesparkrealtors.com/member-roster/

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Image upload isn’t working’ is closed to new replies.