Posted: 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. |
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? — |
|
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? — |
|
|
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. |
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' ); ?> |
|
|
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. |
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 — |
|
|
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?” |
|
I tried making edits to single-espresso_events.php and flushing the cache. It doesn’t seem to actually be using this template file. |
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? |
|
|
I’ve added this filter: add_filter( ‘FHEE__EE_Register_CPTs__register_CPT__rewrite’, ‘my_custom_event_slug’, 10, 2 ); I tried disabling the filter so the event pages reverted to the “/events/,” but that also had no effect. |
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? |
|
|
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. |
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? |
|
|
A bigger problem, I’m now getting: “Your form data could not be applied to any valid registrations. 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: |
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. – |
|
|
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. |
Hi Kevin, Completely disabling W3 might break your site because it will still serve cached pages even when it’s disabled. |
|
|
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. |
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. |
|
|
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. |
|
I have the same problem! 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. |
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. |
|
|
Hi Josh, This is with 4.1.9 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/ |
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/ |
|
|
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: Renaming the event-espresso-core-reg directory to eventespresso.tmp once again fixed the problem. Any ideas why this might be happening? |
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. |
|
|
Hi Josh, 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. |
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. |
|
|
I don’t even see the option to “Display Registration Form” under event options either |
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 |
|
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.