I got the wordpress plugin installed and user level works with payment, once I pay I become a member and am logged into wordpress. Works great. But the issue is when I try to logout from wordpress I get "Warning: Cannot modify header information - headers already sent by (output started at /home/templa6/public_html/wp-config.php:47) in /home/templa6/public_html/wp-login.php on line 12" and about 7 more lines of similar errors. I also tried using amember's logout.php in my amember folder, but that didn't log me out from wordpress, just amember. I'm sure I must be missing something, I know I am close. Any thoughts on what I am doing wrong or what I need to do?
update: I dis-enabled the wordpress plugin and I'm still getting errors for enabling other plugins. Not sure what the issue is. Any thoughts would be appreciated
The real problem I just noticed that when I don't have the wordpress plugin enabled the main Amember control panel page has "4.1.22-standard" in the MySQL box. But when I enable the wordpress plugin I get: Code: WARNING: mysql_query() [function.mysql-query]: Access denied for user 'templa6'@'localhost' (using password: NO) in line 54 of file SmartyNoWrite.class.php(216) : eval()'d code WARNING: mysql_query() [function.mysql-query]: A link to the server could not be established in line 54 of file SmartyNoWrite.class.php(216) : eval()'d code WARNING: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in line 54 of file SmartyNoWrite.class.php(216) : eval()'d code in the MySQL box. The wordpress plugin page has no errors on it, so I guess it's connecting ok to the database, but there are errors with logging on and off, and some other functions from inside the wordpress control area. I think if I can get the mySQL box cleaned up it will solve everything. But not sure why it's giving me that error. Sorry for the multiple responses to myself ... And I appreciate any help in clearing this up.
Mysql problem: Did you give the amember user access to the mysql database? That may help. Make sure any php code you edited and uploaded doesn't have any extra lines at the top or bottom of the file, above the <? php or below the ?> David
Thanks, that seemed to work great! No more wierd errors when logging out. I still have the error in the control panel but since it's not affecting anything as far as I can tell I will disregard it for now.
The control panel error sounds like you didn't set up the plugin properly - its not connecting to the database.
Must be something like that. I'm not getting errors anymore, but while the signup process works and it's creating a username and password and logging into Amember automatically, it's not logging into wordpress on signup. I have to login manually. At least the amember username and password work but it's not logging in. For the DB settings in the wordpress plugin I did what it said to do, for the MySQL error it's saying the user can't access the database but it's not using the password. Shouldn't it be using the password? Should I be using the same DB as Amember or creating a new one for wordpress? I have a different database, is that ok?
The product URL was empty and I filled it with the main site URL. Now it redirects to that as logged in. Very cool! Thanks for the help David, I never would have figured the spaces were the problem!