update, I also tried with the ‘Press This’ and it is the same problem.
I brought the issue back to my web host support and they are still being non-responsive saying now it is “outside of their scope”
Curiously, if I strip everything including and after the ‘?’ out of the URL that is trying to be opened, and paste it directly into my address bar, it will successfully open the Nominate This page from within my site’s dashboard. However if I paste the entire url including any or all of the variables after the /? then I get the same ‘authorization required’ message
Hi Mike–
We’re looking into this but we have a couple of questions about your site setup:
1. Is your wordpress install on a development server and is it password protected?
2. Can we have the url you are trying to nominate so we can attempt to replicate the issue?
3. Have you made any changes to the php of the plugin and what changes have you made to permissions?
Thanks!
Hi Amanda, thanks for the response!
In answer to your questions,
1. It’s installed on a subdomain off of my root domain. It is not password protected. You can find it at wwbtr.vitalinternetventures.com.
2. It actually happens with any and every url I try to nominate.
3. I did not make any changes. I temporarily changed the /nominate-this.php file within the plugin to permissions 755 as suggested above, but changed it back to 644 after it didn’t solve the problem.
I very much appreciate you looking into this. thanks!
… as an example, I just tried to nominate this blog post:
http://sethgodin.typepad.com/seths_blog/2015/02/kicking-and-screaming-vs-singing-and-dancing.html
and the url that appears in the popup looks like:
http://wwbtr.vitalinternetventures.com/wp-content/plugins/pressforward/includes/nomthis/nominate-this.php?u=http%3A%2F%2Fsethgodin.typepad.com%2Fseths_blog%2F2015%2F02%2Fkicking-and-screaming-vs-singing-and-dancing.html&t=Seth%27s%20Blog%3A%20Kicking%20and%20screaming%20(vs.%20singing%20and%20dancing)&s=&v=4
I would be happy to provide you a temporary admin login if it would help you diagnose. If so let me know where to email you.
Hi Mike–
Hmm, I tried nominating the same blog post and it worked for me. A temporary login to your site would probably help. Could you send it to info [at] presssforward.org ?
Thanks!
Hi Mike,
Do you use any CDN services, such as CloudFlare?
Thanks,
Aram
Also, do you know if you are running on a Windows or Linux server?
Hi Mike,
After some investigation in to what could cause this error, it seems most likely that the cause is your .htaccess file.
Take a look at the instructions here – https://ww.wp.xz.cn/support/topic/401-authorization-required-login-and-password?replies=5
Can you make that change to your htaccess and tell me if you are still having that problem?
Thanks,
-Aram
Hi Adam,
Actually I also did try that solution with the .htaccess file already. I set it as:
<Files nominate-this.php>
Order allow,deny
Allow from all
Satisfy any
</Files>
I also tried using the full file path. Unless you suggest there is another file I should be entering there. Should I actually be using admin-ajax.php as they did in the example? I thought that was particular to their case, but now I’m wondering if that would work …
Hi Aram,
I tried also the .htaccess file trick using the file admin-ajax.php and it did not work either.
The server is a Linux CentOS.
The site is not using any CDN services.
I also just sent an email with an admin login to the email address you gave Amanda.
Thanks again for all your help.
Hello, I understand it’s Sunday. I am just wondering if you have any further suggestions or if you received my email with the login. Otherwise tomorrow I may have to find a developer or someone else to assist. I would be happy to make a donation to the plugin/development if it is something you are able to fix (rather than me going out and hiring another developer) as I do need to get this project wrapped up in the next few days. thanks.
Hi Mike,
As a 401 error it seems probable that the problem resides somewhere in your .htaccess file, not something we can access with the WordPress login. Is it possible you could share the content of that file? Do you know if you are using any other routing setup on your server? nginx commonly uses alternate routing methods that may come in play here.
Thanks,
Aram
PS:
How did you send the log in and to whose email address exactly? We can’t find it.
Hi Aram, I sent the login to info [at] presssforward.org
I am simply on a shared hosting plan with Hostgator, so nothing special in terms of setup or routing that I am aware.
The .htaccess file simply looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress