• Resolved khoadeptrai

    (@khoadeptrai)


    Hi Guy,
    I try to upload a plugin for payment. it is a zip file but when i hit the install button it show:


    “I am sorry, you can only upload image files in the formats .GIF, .JPG, .PNG, .WEBP, .SVG”

    Ofcourse i try to use: define( ‘DISALLOW_FILE_EDIT’, false );

    I currently use: PHP 8.3.4
    WordPress ver: 6.5.2

    Try to google but seem like cant figure it out.
    Please help. Thank you in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • Are you uploading from the PLUGINS screen?

    Thread Starter khoadeptrai

    (@khoadeptrai)

    Yes sir i did.
    More info, I use Faspanel to control

    Thanks for the update.

    “I am sorry, you can only upload image files in the formats .GIF, .JPG, .PNG, .WEBP, .SVG”

    Please provide a screenshot of the WordPress dashboard screen showing this specific error message. Be sure to show the URL in the address bar (especially everything after /wp-admin/), as well as the active dashboard menu item (left navigation column).

    Thread Starter khoadeptrai

    (@khoadeptrai)

    This is the Url after
    xxx/wp-admin/update.php?action=upload-plugin.

    this is the link: https://ibb.co/PTD7w19

    Thanks for the update. That was useful.

    There’s something on your site or server that’s restricting the types of files that can be uploaded. This could be a WordPress security plugin (more likely), or server configuration restricting such uploads.

    Do you have any security-related plugin that could be restricting allowable files? If you’re not sure, a simple way to find out is to disable ALL plugins and try to upload the plugin file.

    Alternatively, you could unpack the plugin’s zip file and upload the folder via FTP to /wp-content/plugins/.

    Thread Starter khoadeptrai

    (@khoadeptrai)

    Thank you @gappiah

    It’s working, I unpack the file and then upload it via FTP as you say.

    BTW, i don’t use nay WP security plugin, perhap the server configuration.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t Upload Plugin’ is closed to new replies.