How are you generating your buttons?
S2Member is generating the buttons for me.
How much memory do you have allocated to your WordPress installation?
It is Godaddy Managed WordPress so i am not sure, i looked thru there support documents and nothing is listed.
Well, the most common cause of this issue is that something other than s2Member generated the buttons. We’ve ruled that out, which means that the correct code is being sent.
That also explains why it sometimes works. So the question is why it sometimes doesn’t. Since this seems unlikely to be a code issue, the most likely cause is that the function isn’t completing in time, or the code is somehow getting garbled by your server.
If it were standard GoDaddy, my money would be on lack of memory. You want at least 40Mb, ideally 64Mb. I have no idea about Managed GoDaddy. Either way, I suspect the problem lies with them. You have paid for managed hosting, so talk to them and get your money’s worth!
is this memory for the database? I am on chat with godaddy and they don’t know what i am talking about. lol
Memory for WordPress itself.
It might be specified in a php.ini file, or in the installation’s wp-config.php file
I couldn’t find anything in those files, what about the memory they give me for uploading files, its only set to 64mb?
I don’t know what that would refer to. You could try installing the Query Monitor plugin. That should tell you what memory you have, and versions of PHP, MySQL, and Apache.
Otherwise, I’ll tell you honestly. Without a host who knows what they are doing, this is going to be very difficult to solve. I’m just a user who is giving you my experiences, but I’m not a coder. And even a coder would need to look at log files, which you don’t want to be making public here.
So, apart from contacting your host again, your other option would be to upgrade to the Pro version of s2member. You could then try using forms instead of buttons, and/or contact Pro support to see if they can help.
i forgot about the Server Scan By: s2Member, it says its currently set to 40mb.
Ah, yes, that’s a useful tool.
You could try putting this in your wp-config.php:
define( 'WP_MAX_MEMORY_LIMIT' , '64M' );
That plugin showed a max already, it said i can go up to 256mb? would that line change it?
Yes, you can put 256M in there instead of 64M
I put it in like this and ran the Server Scanner again and everything was good.
define(‘WP_MEMORY_LIMIT’ , ’64M’ );
define(‘WP_MAX_MEMORY_LIMIT’ , ‘256M’ );