• I have websites that keep giving new users this error when they sign up using S2Member from paypal:

    ERROR: Unable to verify $_SERVER[“HTTP_HOST”].
    Please contact Support for assistance.

    If you are the site owner, please check the custom value in your Button Code. It MUST start with your domain name.

    I have tried to find a solution to this issue but i have not been able too, it also only does this once in a while, sometimes it works just fine then other times there is nothing but issues. I hope i can get an answer on how to fix this.

    https://wordpress.org/plugins/s2member/

Viewing 15 replies - 1 through 15 (of 23 total)
  • How are you generating your buttons?

    Thread Starter Ryan Pietras

    (@ryanpietras)

    S2Member is generating the buttons for me.

    How much memory do you have allocated to your WordPress installation?

    Thread Starter Ryan Pietras

    (@ryanpietras)

    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!

    Thread Starter Ryan Pietras

    (@ryanpietras)

    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

    Thread Starter Ryan Pietras

    (@ryanpietras)

    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.

    Thread Starter Ryan Pietras

    (@ryanpietras)

    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' );

    Thread Starter Ryan Pietras

    (@ryanpietras)

    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

    Thread Starter Ryan Pietras

    (@ryanpietras)

    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’ );

Viewing 15 replies - 1 through 15 (of 23 total)

The topic ‘Auto Return Error’ is closed to new replies.