Support

Home Forums Event Espresso Premium Event Registration Never Completes, but Email is Sent

Event Registration Never Completes, but Email is Sent

Posted: August 8, 2013 at 9:15 pm


Jeremy Riga

August 8, 2013 at 9:15 pm

I installed the latest version of Event Espresso and all of the plugins to go with it, setup a couple events, and went to test them. When I enter the required info, the Chrome loading spinner just spins and spins and spins… eventually I get a confirmation email, but the spinner never stops and I never get to a confirmation screen.

Any ideas?


Josh

  • Support Staff

August 9, 2013 at 5:15 am

Hi Jeremy,

There may be a JavaScript conflict on the page. Can you post a link to the registration page so we can investigate?


Jeremy Riga

August 9, 2013 at 7:52 am

Definitely! Here you go: http://vancentralohio.org/event-registration/


Josh

  • Support Staff

August 9, 2013 at 9:36 am

This might be a case where the server is running low on memory when it’s processing the registration.

Here are the errors that I’m seeing in the console:

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App’s settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App’s domains. ping:1
FB.getLoginStatus() called before calling FB.init(). all.js:56
POST http://vancentralohio.org/event-registration/ 500 (Internal Server Error) [VM] (488):1
FB.getLoginStatus() called before calling FB.init(). all.js:56

We have a support document that covers how to troubleshoot an internal server error in our documentation:

https://eventespresso.com/wiki/troubleshooting-event-espresso/#wsod


Jeremy Riga

August 9, 2013 at 10:32 am

I’ve upgraded PHP to 5.4 with FastCGI, I’ve added the mem limit to config.php at 64M, and I’ve checked that php.ini is at least 64M as well. I still just get spinning and spinning when trying to register for an event. Going through now to turn off plugins one-by-one to see if it helps, but really only have a handful installed and 90% of them are Event Espresso-based.

Any other thoughts?


Josh

  • Support Staff

August 9, 2013 at 11:27 am

The quick way to rule out plugins and the theme deactivate all the plugins except Event Espresso at once, and switch the the twentythirteen theme and run a quick test.

You might also try defining the amount of memory for WP in the wp-config.php file to match what’s in the php.ini file.


Jeremy Riga

August 9, 2013 at 11:57 am

OK, so I’ve deactivated all plugins except EE, no change. Then I deactivated all EE plugins except the core, no change. So, everything is back on now but I can’t complete any registration, I can’t ever get to the confirmation page.

I also matched WP mem limit to php.ini’s as you suggested (90M). EE is still reporting that the men limit is set at 40M so I’m working on increasing that properly with the host.

That said, this worked fine a couple days ago on first install so I’m a bit baffled here in trying to think about what changed. After the night I had it working, I went the next morning and installed all the EE add-ons, including FTP-ing the services folder to the root. I guess I could delete that folder and see if it helps, but I can’t imagine that has anything to do with it.

Other ideas here? Thanks, by the way, for all the good suggestions…


Josh

  • Support Staff

August 9, 2013 at 12:30 pm

You really don’t need the espresso-services folder if you plan on using the HD app only.

That’s a good idea to confirm with your host how much memory is allocated for PHP.

Also, another thing to check: the .htaccess file. You might even try setting the WP Permalinks settings to use the default permalinks.


Jeremy Riga

August 9, 2013 at 1:03 pm

EE was giving a warning about 40M being available, but I was able to get 64M allocated and EE is recognizing that on the status page.

I deleted the espresso-services folder.

Even with increased memory and running a tight plug-in ship EE is not functioning properly. It’s either something with my hosting setup (but I doubt I’m the first person to use EE on DreamHost), or something I can’t identify but I’m at a loss and well over 8 hours invested at this point.

.htaccess seems fine, default WP version, no modifications from the original 3.5 install. Permalinks settings change didn’t seem to do it either.

Confirmation emails do go out, but the page itself never goes past the initial stage.


Seth Shoultes

  • Support Staff

August 9, 2013 at 1:55 pm

Have you checked the server error logs or tried turning on WP_DEBUG? I can’t seem to connect to your website at all, after trying to register for an event.


Jeremy Riga

August 9, 2013 at 2:12 pm

I know, right? The site just cripples when you hit ‘Register’. I can see your registrations in the admin. Once I hit ‘Register’ it spins for a good 45-75 seconds before I get a confirmation email, but the page never seems to finish its work. Eventually, it just loads the event-registration page without confirmation to the user.

I turned on debug and am getting nothing. Here is what I added to wp-config.php:

<code>// Enable WP_DEBUG mode
define(&#039;WP_DEBUG&#039;, true);

// Enable Debug logging to the /wp-content/debug.log file
define(&#039;WP_DEBUG_LOG&#039;, true);

// Disable display of errors and warnings 
define(&#039;WP_DEBUG_DISPLAY&#039;, false);
@ini_set(&#039;display_errors&#039;,0);

// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define(&#039;SCRIPT_DEBUG&#039;, true);</code>

The wp-content folder shows no error log after trying a registration or two with this enabled. I’m at a total loss…


Seth Shoultes

  • Support Staff

August 9, 2013 at 2:17 pm

Have you checked the server error logs? These are usually located in the root directory of the WP install. Might be called something like “error_log” or you can access them from the server control panel.


Jeremy Riga

August 9, 2013 at 2:25 pm

This is what’s in the error.log file so far:

<code>[Fri Aug 09 08:26:49 2013] [error] [client 24.247.71.79] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 08:28:25 2013] [error] [client 24.123.158.29] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 08:55:35 2013] [error] [client 66.213.126.179] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 09:06:39 2013] [error] [client 66.213.126.179] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 09:13:34 2013] [error] [client 66.213.126.179] Premature end of script headers: profile.php, referer: http://vancentralohio.org/wp-admin/profile.php?wp_http_referer=%2Fwp-$
[Fri Aug 09 09:48:38 2013] [error] [client 66.213.126.179] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 09:48:38 2013] [emerg] [client 66.213.126.179] (22)Invalid argument: mod_fcgid: can&#039;t lock process table in pid 2313, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 10:41:34 2013] [error] [client 66.213.126.179] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 10:47:15 2013] [error] [client 66.213.126.179] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 11:58:50 2013] [error] [client 76.181.229.134] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 12:06:54 2013] [error] [client 76.181.229.134] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 12:08:47 2013] [error] [client 76.181.229.134] File does not exist: /home/vancols/vancentralohio.org/event-registration, referer: http://vancentralohio.org/?page_id=866&amp;r_$
[Fri Aug 09 12:08:47 2013] [error] [client 76.181.229.134] File does not exist: /home/vancols/vancentralohio.org/missing.html, referer: http://vancentralohio.org/?page_id=866&amp;r_id=2-5$
[Fri Aug 09 12:11:19 2013] [error] [client 76.181.229.134] Premature end of script headers: index.php, referer: http://vancentralohio.org/?page_id=865
[Fri Aug 09 12:11:19 2013] [error] [client 76.181.229.134] File does not exist: /home/vancols/vancentralohio.org/internal_error.html, referer: http://vancentralohio.org/?page_id=865
[Fri Aug 09 12:26:10 2013] [error] [client 76.181.229.134] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 12:45:36 2013] [error] [client 76.181.229.134] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/
[Fri Aug 09 12:52:48 2013] [error] [client 70.208.2.78] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/?ee=3
[Fri Aug 09 12:53:22 2013] [error] [client 70.208.2.78] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/?ee=3
[Fri Aug 09 12:53:23 2013] [error] [client 76.181.229.134] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/?ee=3
[Fri Aug 09 12:58:19 2013] [error] [client 70.208.2.78] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/?ee=3
[Fri Aug 09 13:07:36 2013] [error] [client 76.181.229.134] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/?ee=3
[Fri Aug 09 13:16:10 2013] [error] [client 76.181.229.134] Premature end of script headers: index.php, referer: http://vancentralohio.org/event-registration/?ee=3</code>


Seth Shoultes

  • Support Staff

August 9, 2013 at 2:38 pm

I found the following info by doing a quick Google search on the error:
“Premature end of script headers: index.php”

http://www.webnethosting.net/kb/common-apache-errors-premature-end-of-script-headers/ (probably the most helpful)

http://wordpress.org/support/topic/premature-end-of-script-headers-indexphp

http://www.liquidweb.com/kb/apache-error-premature-end-of-script-headers/


Seth Shoultes

  • Support Staff

August 9, 2013 at 2:39 pm

Since you upgraded PHP recently, you may have unneeded options in httpd.conf.


Jeremy Riga

August 9, 2013 at 2:46 pm

I did the PHP upgrade (and subsequent downgrade 30m later) in response to this issue, not before it. If you notice the time stamps, the errors above have only been there since this AM when I started working on the site but this issue with EE was happening yesterday when I started to configure and set it up for live use.


Seth Shoultes

  • Support Staff

August 9, 2013 at 2:58 pm

So there aren’t any new errors in the error logs? It seems to me that you might need to get the hosting provider to look into this issue. They might have a way to look into the server and sample the data while this problem is happening.


Jeremy Riga

August 9, 2013 at 2:59 pm

On with them now…


Jeremy Riga

August 9, 2013 at 3:14 pm

They restarted Apache and guess what: http://d.pr/i/Fc7X

Guys, THANKS for incredible support. I’m blown away by all the suggestions and help…


Seth Shoultes

  • Support Staff

August 9, 2013 at 4:12 pm

No problem! Glad we could help get the problem resolved.

The support post ‘Event Registration Never Completes, but Email is Sent’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso