when trying to upload an image sometimes it's working great, sometimes it says forbidden and sometimes it shows OK but do nothing.
we have tried to maximize the file upload and all this but nothing.
Any help please?
Thanks!
Best Answer
r
rady kal
said
almost 7 years ago
In most cases this is caused by your server configuration - a missing php class or function which is necessary for the upload process. But its only possible to tell you when you share your WP site url in a support ticket.
Deactivating Wordfence solved this problem for us as the plugin was causing this issue.
N
Natalie Savage
said
about 7 years ago
I have the same problem here. Gives me OK error. Has anybody fixed this issue?
T
Tom Ron
said
almost 8 years ago
also notice, it depends on the user roles. as administrator i can upload, but someone else (buyer..) can't upload.
Maybe there is an option to disable? or even something with the host?
Thanks again
S
Stanley Bucasas
said
almost 8 years ago
I've had this problem, but it was because I messed with my PHP version in the cpanel.
I also think it was only giving me problems with facebook and instagram uploads.
T
Tom Ron
said
almost 8 years ago
actually we did nothing to the php version / cpanel..
how did you solve it? :)
S
Stanley Bucasas
said
almost 8 years ago
My problem was because I had the wrong PHP version set.
I was using PHP 5.2. Then I thought I read somewhere in the FPD changelog that I could use PHP 7.0. But then I started getting that error so I changed it back to 5.2 and it worked.
T
Tom Ron
said
almost 8 years ago
So, i've checked and my php version is 5.4
should i edit it to be 5.2?! in order for it to work.... it sounds weird, no?
maybe update it to 5.6?!
S
Stanley Bucasas
said
almost 8 years ago
give it a try. you can always just change it back
T
Tom Ron
said
almost 8 years ago
Yeah man, thanks for the help but it's still happaning.
when i try to change my server php to 5.2 (the website doesn't load at all saying something is missing...) so i've tried to change it to 5.6 (newer version..)
but still no luck.
btw, i notice something weird that when i'm administrator it's working fine but when i'm using incognito / other user not admin it's not working, saying FORBIDDEN.
any other suggestion please??
Thanks
S
Stanley Bucasas
said
almost 8 years ago
Ah sorry to hear that. I don't know. The only other thing I can think of is make sure your images are being uploaded to a server.
I've had to work out so many kinks and produce so many work arounds that I dont remember everything I did. But I can't think of anything else to solve that, If I do I will let you know.
Good Luck
T
Tom Ron
said
almost 8 years ago
Hi Stanley, first of all thank you so much for the quick reply and the help!
i've just found what it was! it's WORDFENCE
the plugin for security.
nevermind:) got it solved thanks to you!
T
Tyler Keever
said
about 5 years ago
I was able to resolve this issue without having to put Wordfence into learning mode. (Learning mode can expose your site to vulnerabilities because Wordfence will whitelist and possibly not block a number of complex attacks. See the section at the bottom titled "What to Do If a Page Is Blocked After Learning Mode Is Complete" https://www.wordfence.com/help/firewall/learning-mode/ )
I did this by going into the Live Traffic view of Wordfence. I located the entry that showed my image upload being blocked ( [PAGE URL] was blocked by firewall for LFI: Local File Inclusion in POST body) and clicked the "Whitelist Param From Firewall" button. I was then able to verify that it just whitelisted the image-handler.php file of Fancy Product Designer by going to the firewall whitelist section of All Options.
Image uploads now seem to work just fine.
B
Bob
said
almost 7 years ago
Any new feedback or update on this? If Wordfence is interfering, did you remove it or just have some settings adjusted on wordfence end?
T
Testing Demo
said
almost 6 years ago
Hi,
Every time i want to upload image on custom-shirts occurs a error "Forbidden",
please check the screenshot and link for more details,
Tom Ron
Hey,
when trying to upload an image sometimes it's working great, sometimes it says forbidden and sometimes it shows OK but do nothing.
we have tried to maximize the file upload and all this but nothing.
Any help please?
Thanks!
In most cases this is caused by your server configuration - a missing php class or function which is necessary for the upload process. But its only possible to tell you when you share your WP site url in a support ticket.
- Oldest First
- Popular
- Newest First
Sorted by PopularKnight
Deactivating Wordfence solved this problem for us as the plugin was causing this issue.
Natalie Savage
I have the same problem here. Gives me OK error. Has anybody fixed this issue?
Tom Ron
also notice, it depends on the user roles. as administrator i can upload, but someone else (buyer..) can't upload.
Maybe there is an option to disable? or even something with the host?
Thanks again
Stanley Bucasas
I've had this problem, but it was because I messed with my PHP version in the cpanel.
I also think it was only giving me problems with facebook and instagram uploads.
Tom Ron
actually we did nothing to the php version / cpanel..
how did you solve it? :)
Stanley Bucasas
My problem was because I had the wrong PHP version set.
I was using PHP 5.2. Then I thought I read somewhere in the FPD changelog that I could use PHP 7.0. But then I started getting that error so I changed it back to 5.2 and it worked.
Tom Ron
So, i've checked and my php version is 5.4
should i edit it to be 5.2?! in order for it to work.... it sounds weird, no?
maybe update it to 5.6?!
Stanley Bucasas
Tom Ron
Yeah man, thanks for the help but it's still happaning.
when i try to change my server php to 5.2 (the website doesn't load at all saying something is missing...) so i've tried to change it to 5.6 (newer version..)
but still no luck.
btw, i notice something weird that when i'm administrator it's working fine but when i'm using incognito / other user not admin it's not working, saying FORBIDDEN.
any other suggestion please??
Thanks
Stanley Bucasas
Ah sorry to hear that. I don't know. The only other thing I can think of is make sure your images are being uploaded to a server.
I've had to work out so many kinks and produce so many work arounds that I dont remember everything I did. But I can't think of anything else to solve that, If I do I will let you know.
Good Luck
Tom Ron
Hi Stanley, first of all thank you so much for the quick reply and the help!
i've just found what it was! it's WORDFENCE
the plugin for security.
nevermind:) got it solved thanks to you!
Tyler Keever
I was able to resolve this issue without having to put Wordfence into learning mode. (Learning mode can expose your site to vulnerabilities because Wordfence will whitelist and possibly not block a number of complex attacks. See the section at the bottom titled "What to Do If a Page Is Blocked After Learning Mode Is Complete" https://www.wordfence.com/help/firewall/learning-mode/ )
Bob
Any new feedback or update on this? If Wordfence is interfering, did you remove it or just have some settings adjusted on wordfence end?
Testing Demo
Hi,
Every time i want to upload image on custom-shirts occurs a error "Forbidden",
please check the screenshot and link for more details,
https://www.redrooaustralia.com.au/product/black-tee-2/
-
Adding Fancy Products to Categories
-
Shortcode for specfic product designer
-
What theme is recommended to use with FPD ?
-
Exclude Image from export
-
Google Font Family adds extras
-
Floating Dialog box
-
Uploadzone not working
-
Image transparency like in T-shirt demo
-
How do I get clipart
-
What does the LOAD button do / what is it for?
See all 2205 topics