Support

Home Forums Event Espresso Premium EE4: Updated to 4.1.9, no registration form on event pages

EE4: Updated to 4.1.9, no registration form on event pages

Posted: March 11, 2014 at 2:37 pm

Viewing 30 reply threads


Kevin Brooks

March 11, 2014 at 2:37 pm

I updated to 4.1.9 today and now my registration pages only show the title and event details, no registration forms are shown on these or the event archive pages as they used to.

When I use the shortcode on another page, the forms appear.


Lorenzo Orlando Caum

  • Support Staff

March 11, 2014 at 2:39 pm

Hi Kevin,

What version were you running prior to the update?

Could you please share a link to an event page so I can take a look?


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

March 11, 2014 at 3:01 pm

Hello again, I was able to find your events page and I’m also not seeing any registration forms.

Was updating to 4.1.9 the only change that was made? Any custom work with any templates?


Lorenzo


Kevin Brooks

March 11, 2014 at 3:23 pm

The only change made was 4.1.8 to 4.1.9. I disabled a custom template (archive-espresso_events.php) that appears to have changed significantly from 4.18. This caused the Archives page to work, but event pages still have no registration forms and no custom templates.


Josh

  • Support Staff

March 11, 2014 at 3:41 pm

Hi Kevin,

I checked on this and there were no changes made to archive-espresso_events.php since February 14. Can you check your copy of content-espresso_events.php and make sure it has this around line 60:

<?php espresso_get_template_part( 'content', 'espresso_events-tickets' ); ?>


Kevin Brooks

March 11, 2014 at 5:40 pm

Thanks Josh – it’s likely I’ve had that template override in place since before 4.1.8.

I checked content-expresso_events.php and line 60 is:

<?php espresso_get_template_part( ‘content’, ‘espresso_events-tickets’ ); ?>

I don’t have any other content overrides in place.


Lorenzo Orlando Caum

  • Support Staff

March 11, 2014 at 7:58 pm

Hi there Kevin,

I took a look at your page source and I noticed that your Event Espresso folder is called eventespresso.tmp.

Could you please try a reinstall of your software?

Here are the steps to complete the reinstall:

1) Backup your WordPress: https://codex.wordpress.org/WordPress_Backups

2) Go to WordPress admin –> Plugins. Deactivate and delete Event Espresso.

3) Download a fresh copy from your Event Espresso account

4) Upload and activate through WordPress Plugins


Lorenzo


Kevin Brooks

March 12, 2014 at 7:13 am

Hi Lorenzo – I’ve reinstalled Event Espresso 4.1.9 as specified. My event pages still do not allow for registrations.

I tried adjusting my site to one of WPs default themes to make sure my theme wasn’t responsible, but that had no effect.

Could this have to do with any of the template settings that are marked “This option has been tempoarily disabled, but is fixed in the upcoming EE 4.2 release?”


Kevin Brooks

March 12, 2014 at 7:22 am

I tried making edits to single-espresso_events.php and flushing the cache. It doesn’t seem to actually be using this template file.


Josh

  • Support Staff

March 12, 2014 at 7:24 am

Hi Kevin,

Since those template settings did not do anything in the prior versions, we disabled them for now. I checked your site again and now it’s showing the ticket selector on the event archives page, which I don’t think it was before when I checked when you first posted.

I’m curious about how you have the slug set to “workshops-and-events”. Was that done via a translation function or by using the filter on the function that registers the Espresso event custom post type?


Kevin Brooks

March 12, 2014 at 9:12 am

I’ve added this filter:

add_filter( ‘FHEE__EE_Register_CPTs__register_CPT__rewrite’, ‘my_custom_event_slug’, 10, 2 );
function my_custom_event_slug( $slug, $post_type ) {
if ( $post_type == ‘espresso_events’ ) {
$custom_slug = array( ‘slug’ => ‘workshops-and-events’ );
return $custom_slug;
}
return $slug;
}

I tried disabling the filter so the event pages reverted to the “/events/,” but that also had no effect.


Josh

  • Support Staff

March 12, 2014 at 10:30 am

Hi Kevin,

> I tried making edits to single-espresso_events.php and flushing the cache. It doesn’t seem to actually be using this template file.

single-espresso_events.php is only used if you copy it to your theme folder. Normally it injects the espresso event content into your theme’s single post template using filters. You could try copying that file into your theme’s folder, and if you do you may need to change its div structure to match your theme’s single page template structure.

Aside from that, I’d like to find out why we’re seeing this happen on your site only. If the above idea does not work, can you try installing the theme test drive plugin and check the single event view while running a default WP theme?


Kevin Brooks

March 12, 2014 at 10:45 am

Thanks Josh – I copied single-espresso_events.php to my theme folder and everything fired right up.

I had switched my site to the twenty fourteen theme quickly to see if it was a theme error, but event registrations still did not appear using the default theme.


Josh

  • Support Staff

March 12, 2014 at 1:01 pm

Hi Kevin,

That’s interesting. I wonder if there’s another plugin in the mix that’s affecting the filters. Do you mind listing which plugins you have installed so we can try to reproduce the issue?


Kevin Brooks

March 12, 2014 at 2:54 pm

A bigger problem, I’m now getting: “Your form data could not be applied to any valid registrations.
SNGPGCHC-DSNGPGCHC-PROATTINF-1273” when trying to register.

I’ve tried disabling W3 Total Cache as well as the custom fields I have set during registration, but the error persists. Any ideas?

Here’s what plugins are installed:
Advanced Custom Fields
Breadcrumb Trail
Connections
Connections Widgets
Event Espresso
Google Analytics
Gravity Forms
Gravity Forms Authorize.net Add-on
Gravity Forms MailChimp Add-on
Regenerate Thumbnails
SSH SFTP Updater Support
W3 Total Cache
Widget Logic
Widget Logic by Path
Wordfence Security
Wordpress HTTPS
WordPress SEO


Lorenzo Orlando Caum

  • Support Staff

March 12, 2014 at 3:06 pm

Please setup no-cache/exclusion rules for your Event Espresso pages in W3 total cache.

These are the critical pages which are used in Event Espresso (WordPress admin –> Event Espresso –> General Settings –> Critical Pages).

Then clear your cache.


Lorenzo


Kevin Brooks

March 12, 2014 at 3:12 pm

Thanks Lorenzo – I’ve completely disabled W3 Total Cache and I’m still getting the error:

Your form data could not be applied to any valid registrations.
SNGPGCHC-DSNGPGCHC-PROATTINF-1273


Josh

  • Support Staff

March 12, 2014 at 3:44 pm

Hi Kevin,

Completely disabling W3 might break your site because it will still serve cached pages even when it’s disabled.


Kevin Brooks

March 12, 2014 at 3:48 pm

Hi Josh – For W3, I turned off caching, disabled the module and removed the .htaccess additions. The site is currently serving pages directly from WordPress (no W3 messages in the page source footer), so things are okay for the moment. Definitely not a long term solution, but I wanted to rule it out as a conflict with EE.


Josh

  • Support Staff

March 12, 2014 at 4:48 pm

W3 total cache is fine when the site is in production as long as the registration checkout and payment pages are added to its do not cache list as Lorenzo earlier advised.

It may help in this case to try ruling out a plugin conflict. The plugins that are potentially affecting the form data not getting passed correctly may be Wordfence, WP SEO, WP https. It may be a case where there is one setting that is causing the issue. I have all three set up on a test site, and the reg forms are working as expected, but there may be a setting or a server configuration that’s contributing.


Kevin Brooks

March 12, 2014 at 7:26 pm

I have tried disabling all of those modules without success.

Before reinstalling EE this morning, I archived a copy of the eventespresso.tmp folder the plugin lived in after using the Dashboard to update to 4.1.9. I deactivated the module, removed the freshly installed EE-reg directory and replaced it with the eventespresso.tmp directory.

Now registrations are processing normally. It seems like there is something in the database that is not being properly updated when the directory name changes.

Hopefully there will be a fix for this in upcoming releases, but for now I have registration ability on my site again on the archive and individual event pages.

I cannot thank you enough for your help. While this has been frustrating, I understand this is new software and you guys have been top notch in sticking with it and trying to help out.


Leonardo Angelini

March 13, 2014 at 7:25 am

I have the same problem!
I can’t see registration form (and venues information) in some pages, like this: http://www.festascienzafilosofia.it/eventi/mauro-gambetti-cultura-tecnica-e-religione-dibattito-con-silvano-tagliagambe/

But in other events it seem work http://www.festascienzafilosofia.it/eventi/salvatore-giaquinto-fede-e-riabilitazione/

This, after upgraded EE to 4.1.9.
This is a very big problem :((


Josh

  • Support Staff

March 13, 2014 at 9:48 am

Hi Leonardo,

There are a couple of issues with your site and one is related to an update that went bad and one is related to caching that isn’t set up correctly.

If you view the source of one of your event pages you’ll see this at the bottom:

<!-- Dynamic page generated in 1.844 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2014-03-11 21:49:40 -->

Which means it’s serving cached version of the registration pages from two days ago. You can fix this by clearing the cache and set up WP super cache so that it doesn’t cache the registration pages do not get cached.

The first thing you’ll need to do is deactivate Event Espresso. Then go to WP-Super-Cache settings and disable caching. Do not deactivate the WP super cache plugin, you’ll need WP Super Cache to stay active, but disable the caching within its settings. Then clear its cache.

With Event Espresso deactivated, you’ll then FTP into your site and change Event Espresso’s folder name from eventespresso.tmp to event-espresso-core-reg.

Then you’ll open up espresso.php and change the version numbers on lines 6 and 31 from 4.1.9.reg to 4.1.8.reg and save the file.

Now you can go to the WP Plugins screen and reload the page. The version number for EE should now say 4.1.8.reg. You can reactivate the plugin and check to see if things are now working.

Then to resolve the caching issue you can setup no-cache/exclusion rules for your Event Espresso pages in the WP super cache settings. This includes the eventi URL and all the pages listed in Event Espresso –> General Settings –> Critical Pages.

Then you can enable caching and rebuild the cache once more.


Leonardo Angelini

March 13, 2014 at 10:18 am

Hi Josh,
unfortunately it doesn’t work 🙁 with cache and without cache.

This is with 4.1.9
https://www.dropbox.com/s/g7p55x3eemmyl5f/Screenshot%202014-03-13%2017.13.04.png
And this is with 4.1.8
https://www.dropbox.com/s/dtqlfhmso6qem9e/Screenshot%202014-03-13%2017.13.29.png

Now I have made a downgrade to 4.1.8 version, and it works http://www.festascienzafilosofia.it/eventi/cultura-tecnica-e-religione-dibattito-con-silvano-tagliagambe-e-mauro-gambetti/


Josh

  • Support Staff

March 13, 2014 at 10:26 am

Hi Leonardo,

I did some further checking and there are a few more things that should be checked it looks like your server is running nginx. Can you check with your host to see if there is a correct way to configure WP Super Cache running on their environment? The reason it may be working now that you’ve downgraded is because there may be more being cached than you’re aware of.

This may not be your host, but here is an example of how one WP host that uses nginx recommends setting up WP super cache:

https://rtcamp.com/wordpress-nginx/tutorials/single-site/wp-super-cache/


Kevin Brooks

March 16, 2014 at 3:35 pm

Hi all – sorry to turn this into a superthread, but I’m back. I updated to EE4.1.9.1 this morning. Once I did, I again got the following error during registration:

An error has occurred:
Your form data could not be applied to any valid registrations.
SNGPGCHC-DSNGPGCHC-PROATTINF-1273

Renaming the event-espresso-core-reg directory to eventespresso.tmp once again fixed the problem.

Any ideas why this might be happening?


Josh

  • Support Staff

March 17, 2014 at 9:11 am

Hi Kevin,

Something on your server may be caching something. Typically it does not matter if a plugin folder name gets changed as long as it gets changed while the plugin is deactivated.


Leonardo Angelini

March 20, 2014 at 11:09 am

Hi Josh,
I have the same problem. I disabled WP super cache and I tried 4.1.9 and 4.1.10 (you’ve sent to me the preview…).

With 4.1.8 it works, but the datetime aren’t localized: https://www.dropbox.com/s/q3s6tt6gcbqk7ev/Screenshot%202014-03-20%2018.03.21.png

With 4.1.9 or 4.1.10 the form disappaiars: https://www.dropbox.com/s/oi8nncahtwvy5eo/Screenshot%202014-03-20%2018.03.28.png

It is NOT a cache problem.
Could you help me? I bought an unusable plugin 🙁


Josh

  • Support Staff

March 20, 2014 at 11:47 am

Hi Leonardo,

We’ve not been able to figure out why this is happening on your site. I sent you an email about getting a backup of the site’s database to troubleshoot further.

One other thing you could try to possibly rule out any issues with a translation file is temporarily switch the site to define WPLANG as the default. If the registration form appears when WPLANG is defined as ” then we will know where to look next.


tgrady

April 1, 2014 at 12:39 pm

I don’t even see the option to “Display Registration Form” under event options either


Josh

  • Support Staff

April 1, 2014 at 12:53 pm

Display Registration form isn’t an option in Event Espresso 4. Can you try the solution outlined in this other thread:

https://eventespresso.com/topic/registration-page-with-wordpress-seo/#post-85801

Viewing 30 reply threads

The support post ‘EE4: Updated to 4.1.9, no registration form on event pages’ 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