radykal | Support Center Chooser

For which product do you need support?

Fancy Product Designer Multistep Product Configurator

Start a new topic
Answered

Forbidden / OK popup when uploading an image

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!


Best Answer

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.

I have the same problem here. Gives me OK error. Has anybody fixed this issue?

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

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.

actually we did nothing to the php version / cpanel..


how did you solve it? :)

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.


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?! 

give it a try. you can always just change it back

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

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

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!



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.

Any new feedback or update on this? If Wordfence is interfering, did you remove it or just have some settings adjusted on wordfence end?

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/

Login or Signup to post a comment