Using WP 3.8.1 and the Atahaulpa theme didn’t produce any errors for me. When the plugin is enabled, do you get anything in the PHP error log?
One option is to add the following to top your wp-config.php file:
@ini_set( ‘display_errors’, ‘On’ );
Then try loading the user profile page again and you should see a script error of some kind. Can you post that here? After you do that, make sure to remove that line.
I’ve done a little more with error checking and control. Try version 1.0.3 which should handle errors better than before. I do still have quite a bit of work left to do in that area, but it’s a step in the right direction.
Ryan,
Thank you for you quick response! I tried various debug recommendations, and none showed any errors. It activates without errors. One just can no longer edit any user profile.
Next I tried upgrading to 1.03. Again thank you for you efforts. Unfortunately it did not change the result.
Lastly, I deactivated all of my other plugins. So just WP 3.8.1, Theme Atahaulpa 3.7.13, and GNU-Mailman Integration 1.0.3. Still no luck.
Any other recommendations?
-Thanks
-Dave
It appears to be this: gm_get_user_subscriptions($user->ID). It never returns from there.
Some differences from before:
– I tried deleting the lists again, and now the profile update works.
– When I go to add the list again, it gives me a blank page.
Maybe something basic on the URL format? or Mailman config?
– http://lists.xxxxxxxx.xxx/mailman/admin/tall
-Dave
With the newest version (1.0.3), the script should silently fail if it cannot connect for whatever reason. If you are trying to add the list again, but you are getting a blank page then something else is going on.
We are using this plugin on a number of cPanel-based servers, so our URLs look something like: http://domain.com/mailman/admin/list_domain.com
Based on the one you provided above, the URL you are using appears to be OK.
One thing to try on your end. Enter the following URL into your browser. This *should* return the Membership List screen.
http://lists.xxx.xxx/mailman/admin/tall/members?findmember=.&setmemberopts_btn&adminpw=PASS
Replace lists.xxx.xxx with the actual domain
Replace PASS with the list password
Can you send over the following information?
1. PHP Version
2. Mailman Version
Sure:
– The membership link above works perfectly. Membership list
– Mailman version 2.1.13
– PHP Version is 5.4.17
Added a bunch of debugs:
– stops/hangs at curl_init()
– curl with the same url from the command line works
Installing php curl fixed it:
sudo apt-get install php5-curl
sudo /etc/init.d/apache2 restart
FYI: There was quite a bit of discussion around using HTTP API instead of curl.
Thanks for all the effort.
Would not pick up current subscription
It was not picking up current list subscriptions. After some investigation I found that it was not getting a match in the function:
_mailman_get_subscription()
in the statement:
if (preg_match(‘/INPUT .*name=”‘ . $str_email . ‘_unsub”/i’, $httpreq->data))
Changing $str_email to be the email address without reformatting made it work. i.e I replaced:
$str_email = preg_quote(urlencode($this->_emailAddress));
with:
$str_email = $this->_emailAddress;
Any idea why this would be the case?
Obviously this worked for other people.
The mailman server is version 2.1.2.
Must be something to do with the email address. Any special characters?
Could you try removing the preg_quote() function? For example, try the following and see if it works:
$str_email = urlencode($this->_emailAddress);
I have a feeling this is related to the preg_quote() function. I will do some testing and see if I can loosen up the checking.
Ryan