bullhorn / career-portal

A Bullhorn Platform SDK app that allows candidates to search for and apply to jobs.
https://bullhorn.github.io/career-portal/
MIT License
133 stars 152 forks source link

WP Plugin returning a 403 Forbidden nginx error. #521

Open n1ckybhoy opened 1 year ago

n1ckybhoy commented 1 year ago

INSERT SHORT DESCRIPTION EXPLAINING THE HIGH-LEVEL REASON FOR THE NEW ISSUE HERE.

Current behavior

Expected behavior

Steps to replicate behavior

1.

Screenshots

Current

Expected

cprdigital commented 1 year ago

Same exact problem. OSCP plugin v3.4.2 throws 403 error on NGINX server.

n1ckybhoy commented 1 year ago

Same exact problem. OSCP plugin v3.4.2 throws 403 error on NGINX server.

Are you using Elementor's hosting as well? Elementor says it's because they don't allow access to the root folder. I tried all three ways listed for installation but without root access it's a no-go. We're looking at other options now. The only other way is if it can be installed in a folder that isn't the root either HTML>careerportal or wp-content>careerportal. I have no direct access to BH support...don't suppose you could ask them if you do?

cprdigital commented 1 year ago

Unfortunately no. Custom theme (no site builder plugns) on Flywheel hosting. BH doesn't seem to be able to (or desire to) support this plugin. We've been through 3 support folks, and they all give up after a couple days of basic troubleshooting.

cprdigital commented 1 year ago

It looks like for our issue, our hosting company has nginx configured to not allow direct web access to the /wp-content folder (or perhaps it's the /wp-content/plugins folder, I'm not sure). The Bullhorn plugin shortcode injects an iframe with a src of /wp-content/plugins/bullhorn-oscp/#/

Since our host's server config disallows direct access, we're getting the 403. A simple config change would fix it, but I don't know if our host will allow us to do that. If not, we'll just have to move to a different host. Hope this helps, n1ckybhoy

n1ckybhoy commented 1 year ago

Thanks for the cprdigital, i'm going to try from both angles (BH + Host) to see if I can get a config change done. Beyond that I'm looking at moving the site to a new host co as well...or perhaps just create the jobs section under a subdomain at a new host. Quite a workaround this for a simple task eh!

I'm also half in the mind to wait...the BH plugin is tested up to WP 5.8 I seem to recall...surely our situations aren't completely isolated and BH may very well have to allow for this use case in any update they do as they catch up to the current v of WP. Here's hoping.

cprdigital commented 1 year ago

Flywheel made a config change and we're up and running now. So, if you decide to move hosts, Flywheel will accommodate you.

n1ckybhoy commented 1 year ago

Legend! Ty

n1ckybhoy commented 1 year ago

Btw, are you now using the plugin? Or you manually uploading to the root now?

cprdigital commented 1 year ago

We're using the plugin.

n1ckybhoy commented 1 year ago

Great, thank you.

pbearne commented 1 year ago

Come talk to matador Jobs as our plugin doesn't have this issue

Paul