jameslafferty / MailChimp-Widget

A simple MailChimp Widget Plugin for WordPress.
GNU General Public License v2.0
18 stars 13 forks source link

MU issue #2

Closed tapuat closed 13 years ago

tapuat commented 13 years ago

Hi I just installed your widget and cannot udate the API key for some reason.

I have installed the latest Wordpress 3.1.2 and in a Multisite configuration. That means that if voltigers.com is the main domain name where the copy of wordpress is installed and a child website could be voltigers.com/roxana/ when i use the admin interface for the latter I access through voltigers.com/roxana/wp-admin/

WHen I go to the page to setup the API key : http://voltigers.com/roxana/wp-admin/options-general.php?page=mailchimp-widget/lib/ns_mc_plugin.class.php

I put it in and then when I click submit I am redirected to the main site admin and not roxana's site. The key cannot be used in this child site.

Could you solve this issue ?

kalchas commented 13 years ago

Hi tapuat,

I'll look into this. Thanks for letting me know. :)

Cheers,

James

On Thu, May 26, 2011 at 7:03 AM, tapuat < reply@reply.github.com>wrote:

Hi I just installed your widget and cannot udate the API key for some reason.

I have installed the latest Wordpress 3.1.2 and in a Multisite configuration. That means that if voltigers.com is the main domain name where the copy of wordpress is installed and a child website could be voltigers.com/roxana/ when i use the admin interface for the latter I access through voltigers.com/roxana/wp-admin/

WHen I go to the page to setup the API key : http://voltigers.com/roxana/wp-admin/options-general.php?page=mailchimp-widget/lib/ns_mc_plugin.class.php

I put it in and then when I click submit I am redirected to the main site admin and not roxana's site. The key cannot be used in this child site.

Could you solve this issue ?

Reply to this email directly or view it on GitHub: https://github.com/kalchas/MailChimp-Widget/issues/2

khungate-zz commented 13 years ago

I think I may have a similar (not the same) issue on site www.tnalpha.com. When I plug in the API key it doesn't take. I've tried several different API's and it just won't work. What's odd is I have it running on several other WP installations with no issues. Any suggestions?

tapuat commented 13 years ago

I haven't checked the code of the page where one can submit the API key but would it be possible that the form is aimed at the main domain admin page and not the subdomain one ?

Actually it is just that :)

This is the code I found:

<form action=" /wp-admin/options-general.php?page=mailchimp-widget/lib/ns_mc_plugin.class.php" method="post">

in the page

http://voltigers.com/roxana/wp-admin/options-general.php?page=mailchimp-widget/lib/ns_mc_plugin.class.php

So clearly the url of the form should be pointing at

wp-admin/options-general.php?page=mailchimp-widget/lib/ns_mc_plugin.class.php

or

/roxana/wp-admin/options-general.php?page=mailchimp-widget/lib/ns_mc_plugin.class.php

Arnaud Saint-Paul Tapuat Publishing - Assisting in the Renaissance of the Heart http://tapuat.com http://tapuat.com Tel.: +1 305 507 8864

On Fri, May 27, 2011 at 03:10, khungate < reply@reply.github.com>wrote:

I think I may have a similar (not the same) issue on site www.tnalpha.com. When I plug in the API key it doesn't take. I've tried several different API's and it just won't work. What's odd is I have it running on several other WP installations with no issues. Any suggestions?

Reply to this email directly or view it on GitHub: https://github.com/kalchas/MailChimp-Widget/issues/2#comment_1246746

kalchas commented 13 years ago

Thanks for the catch, tapuat and khungate. I'm going to have a look at this and do another release (I did a little release this morning to incorporate a Brazilian Portuguese translation :))... Hopefully the issue will be fixed in a 0.9 by the end of the Memorial Day weekend.

Incidentally, I think this issue affects only sub-directory multisite installs, and not subdomain multisite (at least if your diagnosis is correct)

J.

tapuat commented 13 years ago

Actually, it might affect both. In my current config I am using both subdomains and subdirectories config.

Arnaud Saint-Paul Tapuat Publishing - Assisting in the Renaissance of the Heart http://tapuat.com http://tapuat.com Tel.: +1 305 507 8864

On Sat, May 28, 2011 at 23:36, kalchas < reply@reply.github.com>wrote:

Thanks for the catch, tapuat and khungate. I'm going to have a look at this and do another release (I did a little release this morning to incorporate a Brazilian Portuguese translation :))... Hopefully the issue will be fixed in a 0.9 by the end of the Memorial Day weekend.

Incidentally, I think this issue affects only sub-directory multisite installs, and not subdomain multisite (at least if your diagnosis is correct)

J.

Reply to this email directly or view it on GitHub: https://github.com/kalchas/MailChimp-Widget/issues/2#comment_1255488

kalchas commented 13 years ago

Just committed a change that should fix this. It wound up being a pretty minor tweak. The fix is available on the version at WordPress.org (0.8.5). Please let me know if it helps, and thank you for your help :).

tapuat commented 13 years ago

Hi

Unfortunately It did not change a thing.

I upgraded and then went to http://voltigers.com/roxana/wp-admin/options-general.php?page=mailchimp-widget/lib/ns_mc_plugin.class.php entered the API and then when submitted was sent to http://voltigers.com/wp-admin/?c=1 with nothing entered in the MailChimp setting

Arnaud Saint-Paul Tapuat Publishing - Assisting in the Renaissance of the Heart http://tapuat.com http://tapuat.com Tel.: +1 305 507 8864

On Sat, Jun 4, 2011 at 21:16, kalchas < reply@reply.github.com>wrote:

Just committed a change that should fix this. It wound up being a pretty minor tweak. The fix is available on the version at WordPress.org (0.8.5). Please let me know if it helps, and thank you for your help :).

Reply to this email directly or view it on GitHub: https://github.com/kalchas/MailChimp-Widget/issues/2#comment_1302640

tonikcollective commented 13 years ago

Hi

I'm running a multisite with subdomains and have exactly the same issue.

Regards Jann

kalchas commented 13 years ago

Thanks, Jann. I'm working on debugging this... Thought I had a fix, but didn't quite seem to do it. Stand by... I'll be doing another release today, hopefully.

Cheers,

James

khungate-zz commented 13 years ago

Hey James, I'm now getting an error on my site "You do not have sufficient permissions to access this page" when I enter the API key with the latest update.

Thanks, Kyle

kalchas commented 13 years ago

Big FAIL on my part. I thought the change was simple enough that I could just commit it without adequately testing. I've done some more tests and committed a 0.8.6 that at least fixes what I broke. Let me know if it also helps the Multisite situation.

Thanks for your patience.

James

tapuat commented 13 years ago

I see no update on my dashboard :)

Arnaud Saint-Paul Tapuat Publishing - Assisting in the Renaissance of the Heart http://tapuat.com http://tapuat.com Tel.: +1 305 507 8864

On Sun, Jun 5, 2011 at 20:23, kalchas < reply@reply.github.com>wrote:

Big FAIL on my part. I thought the change was simple enough that I could just commit it without adequately testing. I've done some more tests and committed a 0.8.6 that at least fixes what I broke. Let me know if it also helps the Multisite situation.

Thanks for your patience.

James

Reply to this email directly or view it on GitHub: https://github.com/kalchas/MailChimp-Widget/issues/2#comment_1305664

kalchas commented 13 years ago

Yup... sometimes it takes a little bit. The current version of the plugin is 0.8.6. If it's going too slowly, or you're super anxious to try it out, you could try deleting and reinstalling, with the caveat that some of your settings might then be gone. Fingers crossed that this'll fix your issues . :)

tapuat commented 13 years ago

Brilliant!!! Thanks a lot ;)

Arnaud Saint-Paul Tapuat Publishing - Assisting in the Renaissance of the Heart http://tapuat.com http://tapuat.com Tel.: +1 305 507 8864

On Sun, Jun 5, 2011 at 21:07, kalchas < reply@reply.github.com>wrote:

Yup... sometimes it takes a little bit. The current version of the plugin is 0.8.6. If it's going too slowly, or you're super anxious to try it out, you could try deleting and reinstalling, with the caveat that some of your settings might then be gone. Fingers crossed that this'll fix your issues . :)

Reply to this email directly or view it on GitHub: https://github.com/kalchas/MailChimp-Widget/issues/2#comment_1305833

kalchas commented 13 years ago

Whoot! I'm glad it's working, and thank you very, very much for letting me know about it.

Cheers,

James