• We have an upload form where most images upload fine, but some don’t (even though they are within dimension/size limits).

    After pressing submit, the progress bar completes but then a blank page is displayed with just the date and time in the top left corner. The image doesn’t upload.

    I can replicate the issue users are having with particular images. The bowser console gives this error:
    https://melbournecameraclub.org.au/wp-admin/admin-ajax.php?action=ewz_upload 403 (Forbidden)

    We’re running php 8.4.3.

    Any clues why particular images are being rejected?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Josie Stauffer

    (@joanne123)

    It usually means it’s trying to save to a folder that doesnt have the right permissions

    Thread Starter aymcc

    (@aymcc)

    Most images do upload with that form. It’s only specific images that don’t.

    Can a specific image trigger this error?

    Thread Starter aymcc

    (@aymcc)

    Hi Josie, it appears that it could be particular image processing software that is producing images that cause problems.

    Can you please let us know what image library EWZ uses to upload images/ create thumbnails?

    Plugin Author Josie Stauffer

    (@joanne123)

    ask your host — imagick or gd?

    sorry, right arm hurt cant type

    Thread Starter aymcc

    (@aymcc)

    ok will do.

    Take care and hope your arm recovers soon!

    Very rarely I have had users saying that their uploads have failed. Until this year I didn’t have any error logs to check but now I do. The one time it happened recently there was an ‘nonce’ error. ‘nonce’=’number once’ is a validation check on messages so it just means there has been some corruption during the upload. The user would have to make the entries again.

    In another thread I showed that it is possible to bypass the EntryWizard file type checks if a user changes the file type value without changing the file format. In that case it was a webp file given the jpg type. It worked because the WordPress image management recognised the accepted file format and changed the type from jpg to webp to match.

    There are types which image management does not recognise. For example I just tested by changing the type of a docx file to jpg. That would pass EntryWizard but it failed the next step as the file format could not be processed for storage with the EntryWizard uploads.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.