Support

Home Forums Event Espresso Premium All I see is the shortcode on my page

All I see is the shortcode on my page

Posted: December 24, 2013 at 2:53 pm

Viewing 12 reply threads


karen gill

December 24, 2013 at 2:53 pm

WordPress Version:
3.5.2
PHP Version:
5.2.17
MySQL Version:
5.5.30
Event Espresso Version:
3.1.36.1.P
Site address (URL):
http://www.cdldodgeball.ca/join-cdl/registration/

I have added the “[ESPRESSO_EVENTS]” shortcode to my page, and made sure that in the “general settings” my main registration page is pointing to the correct page. Yet I am still seeing the default shortcode on the page, and nothing else.

I have an event set up, and I actually backed up my entire site, and loaded it onto a different sever to test event espresso before I purchased a license, and it works fine on that site, but not this one.

Can you please tell me what I’m missing to get this set up and working? Thanks.


Josh

  • Support Staff

December 24, 2013 at 5:10 pm

Hi Karen,

It may help to put the [EPRESSO_EVENTS] shortcode on another, top level, page. Please be sure to point the main registration page setting to this new page.


karen gill

December 24, 2013 at 5:20 pm

I can’t really put it on another page as the URL structure of this page is being used by a bunch of other things.

I don’t see why a shortcode would work on a upper level page and not a sub page. Shortcodes either work or dont. Also when I first installed the plugin and it added the pages to the top level, it didn’t work there anyways.


Josh

  • Support Staff

December 24, 2013 at 5:34 pm

It can happen where a shortcode breaks on a page if there’s a redirect that is set up. Since you’re going to avoid the first thing to try, can you try something else instead?

Can you try deactivating the plugins that are on this site (that aren’t on the other site where it’s working). It may be the shortcodekid plugin that is interfering. It’s on our list of plugins that are known to cause conflicts:

https://eventespresso.com/wiki/known-third-party-plugin-theme-conflicts/


karen gill

December 24, 2013 at 9:38 pm

For the record, I have tried the first thing you asked me to do. I will again put it on a top level page, and show you that it does not work (and yes I have changed the options page to point to that top level page): http://www.cdldodgeball.ca/registration/

Now it works if I put it on http://www.cdldodgeball.ca/about-us
But I don’t want it on the about us page. I want to put it on whatever page I need it to be on, which seemingly should work.

The fact that it works on the “about us” page proves my plugins aren’t the problem, also my demo site where this plugin IS working is an exact duplicate of the live site, so all the plugins are the same. The only difference between the working demo, and my not working live site, is the demo site is running event espresso lite, and my live site is running the paid version that I bought from you guys.

I really need to figure out why this shortcode isn’t working, I have to have registration working by January 1st.


Josh

  • Support Staff

December 26, 2013 at 10:29 am

I recommend starting with the shortcode kid plugin, then comparing the .htacess files between the two sites.


karen gill

December 26, 2013 at 2:04 pm

De-activating shortcode kid plugin doesn’t fix it (De-activating ALL my plugins doesn’t fix it).

I would have no idea what to change in my htaccess file if there was a problem, so I will just post them here:

DEMO SITE:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

LIVE SITE:
# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
# END W3TC Browser Cache
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* – [E=W3TC_ENC:_gzip]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =””
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
RewriteCond “%{DOCUMENT_ROOT}/cms/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index.html%{ENV:W3TC_ENC}” -f
RewriteRule .* “/cms/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index.html%{ENV:W3TC_ENC}” [L]
</IfModule>
# END W3TC Page Cache core
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress


Tony

  • Support Staff

December 27, 2013 at 1:31 am

Hi karen,

It appears you are running W3 Total Cache on the live site and that the registration page is being served from cache.

You will need to place the Event Espresso core pages in the do not cache list under Performance -> Page Cache. ‘Never cache the following pages’

Here’s an example of mine (with your registration page added as an example) http://d.pr/i/vsMs

Once you’ve done that you may also need to purge/empty the cache.

Does that then fix the page?


karen gill

December 29, 2013 at 2:58 am

Hi Tony,

Sorry for the late response. No, adding the page to the “do not cache” section and purging the cache didn’t work.

I can put the code on my about us page, without disabling any plugins, or adding the page to the do not cache list and it works fine. Try moving the shortcode to another page? Nothing works. I really don’t understand what the issue is.

Is there someone I can direct message my Log!n information to so one of your guys can check it out?


karen gill

December 29, 2013 at 1:49 pm

Okay, I think your shortcode has a problem working when it’s on a page where the slug is “registration”.

Once I change the page slug everything works fine. So maybe you should check out why this is. I need the slug to read registration, so for now I will just set up a redirect.


Dean

December 30, 2013 at 6:06 am

Hi Karen,

I’m not sure that is the actual issue as tests confirm that a page with the slug “registration” still allow the shortcode to work.

One possibility: are there any pages or posts in the trash with the same slug? If so empty the trash completely.


karen gill

January 1, 2014 at 3:59 pm

The trash is completely empty, and no other page has the same slug, and when I try and change the slug name all I can see on the page is the shortcode.

Not sure what’s going on. I have to make registration live today, so for this season I will keep the redirect going, and try to fix this issue for the next season.


Dean

January 2, 2014 at 5:07 am

OK Karen,

Please let us know if you need further assistance on the matter.

Viewing 12 reply threads

The support post ‘All I see is the shortcode on my page’ 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