Can you attach the image you're trying to use? We haven't changed anything with the upload process so it shouldn't work any differently to how it has before. Also you shouldn't need to re-create the campaign every month, it can be configured to reset automatically.I am trying to make a new campaing and trying to upload the same image that I used before. But the addon isnt accepting my png images.
Maybe its a bug. I dont know. The image is the same that I used every month. I tried with jpg and the same error is displayed.
View attachment 310108
We haven't updated releases here for a little while now, the Install & Upgrade addon would be the best way to track if an update is available.It would be nice if the latest version here is the same as in the TH website.
For Icon I tried both jpg and png files. Is strange because is not a permission report, but a "invalid" error.Can you attach the image you're trying to use? We haven't changed anything with the upload process so it shouldn't work any differently to how it has before. Also you shouldn't need to re-create the campaign every month, it can be configured to reset automatically.
We haven't updated releases here for a little while now, the Install & Upgrade addon would be the best way to track if an update is available.
filesize
or getimagesize
functions return false
, and one if it's not an allowed file type. Shouldn't be the file type as it's a .png so seems to be the first error. Probably suggests the file upload hasn't been saved to disk properly. Can you upload images elsewhere? Avatars, attachments etc?Yes. This is strange because on other campaigns I was uploading images without problems. I was using it in other campaigns.Not sure then to be honest without debugging directly on the server itself, as it seems like PHP isn't seeing the upload as a valid image which we can't really do much about, but not sure why it would suddenly have started failing or why other uploads work.
I was creating campaigns because I want to hold a historic of comments and values donated on the month like this.Also you shouldn't need to re-create the campaign every month, it can be configured to reset automatically.
Does nobody know?How can I change the phrase passed by the plugin in the payment comment?
I literally have the same issue. No idea why this is acting so strange. Everything else works perfectly.I am trying to make a new campaing and trying to upload the same image that I used before. But the addon isnt accepting my png images.
Maybe its a bug. I dont know. The image is the same that I used every month. I tried with jpg and the same error is displayed.
View attachment 310108
{
"status": "error",
"errors": [
"Provided file is not a valid image."
],
"errorHtml": {
"content": "\n\n<div data-template-name=\"admin:error\" class=\"blockMessage\">\n\t\n\t\tProvided file is not a valid image.\n\t\n</div>",
"title": "Oops! We ran into some problems."
},
"visitor": {
"conversations_unread": "0",
"alerts_unviewed": "0",
"total_unread": "0"
}
}
Yes. Until today I dont use images in my campaign because I had this problem.Dunno if this is helpful:
Code:{ "status": "error", "errors": [ "Provided file is not a valid image." ], "errorHtml": { "content": "\n\n<div data-template-name=\"admin:error\" class=\"blockMessage\">\n\t\n\t\tProvided file is not a valid image.\n\t\n</div>", "title": "Oops! We ran into some problems." }, "visitor": { "conversations_unread": "0", "alerts_unviewed": "0", "total_unread": "0" } }
View attachment 311333
Edit: turned off image optimization and was able to upload the images.
I set it back to revert & the error is gone now. Thank you for your quick help.Then you'll need to either merge it by hand or just revert it to default.
We use essential cookies to make this site work, and optional cookies to enhance your experience.