Title: Auto Return Error
Last modified: August 22, 2016

---

# Auto Return Error

 *  [Ryan Pietras](https://wordpress.org/support/users/ryanpietras/)
 * (@ryanpietras)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/)
 * 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/](https://wordpress.org/plugins/s2member/)

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

1 [2](https://wordpress.org/support/topic/auto-return-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/auto-return-error/page/2/?output_format=md)

 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498536)
 * How are you generating your buttons?
 *  Thread Starter [Ryan Pietras](https://wordpress.org/support/users/ryanpietras/)
 * (@ryanpietras)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498538)
 * S2Member is generating the buttons for me.
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498539)
 * How much memory do you have allocated to your WordPress installation?
 *  Thread Starter [Ryan Pietras](https://wordpress.org/support/users/ryanpietras/)
 * (@ryanpietras)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498541)
 * It is Godaddy Managed WordPress so i am not sure, i looked thru there support
   documents and nothing is listed.
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498544)
 * 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](https://wordpress.org/support/users/ryanpietras/)
 * (@ryanpietras)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498546)
 * is this memory for the database? I am on chat with godaddy and they don’t know
   what i am talking about. lol
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498548)
 * Memory for WordPress itself.
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498549)
 * It might be specified in a php.ini file, or in the installation’s wp-config.php
   file
 *  Thread Starter [Ryan Pietras](https://wordpress.org/support/users/ryanpietras/)
 * (@ryanpietras)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498551)
 * I couldn’t find anything in those files, what about the memory they give me for
   uploading files, its only set to 64mb?
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498552)
 * 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](https://wordpress.org/support/users/ryanpietras/)
 * (@ryanpietras)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498553)
 * i forgot about the Server Scan By: s2Member, it says its currently set to 40mb.
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498555)
 * 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](https://wordpress.org/support/users/ryanpietras/)
 * (@ryanpietras)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498558)
 * That plugin showed a max already, it said i can go up to 256mb? would that line
   change it?
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498559)
 * Yes, you can put 256M in there instead of 64M
 *  Thread Starter [Ryan Pietras](https://wordpress.org/support/users/ryanpietras/)
 * (@ryanpietras)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/auto-return-error/#post-5498560)
 * 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)

1 [2](https://wordpress.org/support/topic/auto-return-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/auto-return-error/page/2/?output_format=md)

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

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

 * 23 replies
 * 2 participants
 * Last reply from: [Ryan Pietras](https://wordpress.org/support/users/ryanpietras/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/auto-return-error/page/2/#post-5498835)
 * Status: not resolved