Support

Home Forums Event Espresso Premium Venues page not working

Venues page not working

Posted: May 30, 2014 at 11:37 am

Viewing 12 reply threads


Simon Belcher

May 30, 2014 at 11:37 am

Hi guys,

I’ve just updated to the latest version and pulled in the new child theme example.

Venues now dies a death:

ee.stagebe.co.uk/venues

Any ideas?


Lorenzo Orlando Caum

  • Support Staff

May 30, 2014 at 12:14 pm

Hi Simon,

For the child theme, are you referring to a new copy of the Arabica theme?

Do you have any other template customizations running?


Lorenzo


Simon Belcher

May 30, 2014 at 12:20 pm

Hi Lorenzo,

No I don’t just trying to get it working out of the box before I start messing.


Lorenzo Orlando Caum

  • Support Staff

May 30, 2014 at 1:11 pm

Chrome developer tools is showing this as a 404 error:

/wp-content/plugins/event-espresso-core-reg/templates/twentyfourteen/style.css

Event Espresso doesn’t have a twentyfourteen folder in its templates folder.

Could you share the steps on how you setup the child theme?


Lorenzo


Simon Belcher

June 3, 2014 at 1:28 pm

Really strange..

To create the child theme I copied the Arabica template files into a new theme folder, and changed the two references to twentyfourteen to eerieevenings which is the name of the theme and the directory of the custom theme…

All the other pages work its only the venue page??


Lorenzo Orlando Caum

  • Support Staff

June 3, 2014 at 2:50 pm

Could you temporarily enable WordPress debugging by adding the following macro to your wp-config.php file?

define('WP_DEBUG', true);
  if (WP_DEBUG) {
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);
    @ini_set('display_errors', 0);
}


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

June 4, 2014 at 4:11 pm

Hi there,

Could you please create a temporary WordPress admin login and a temporary SFTP or FTP so we can take a closer look at this issue?

Please share that temporary login through the secure link below:

https://eventespresso.com/send-login-details/

To prevent delays in troubleshooting, be sure to double check your information on the form before submitting.

The submit button for the form appears after you have answered “Yes” to the last question.

Thank you.


Lorenzo


Simon Belcher

June 5, 2014 at 3:21 am

Hi Lorenzo,

I’m afraid we can’t supply these details, access to our server is VPN only.

I have enabled debugging, and its showing an error on line 35:

http://ee.stagebe.co.uk/venues/

But there is nothing wrong with the syntax :/

Has nobody else seen an issue with the latest version of the child theme?


Dean

June 5, 2014 at 4:02 am

Hi Simon,

Thanks for linking to the error. It looks like a typo that has been fixed in an as yet unreleased version.

In the Arabica theme, content-espresso_venues.php line 35 reads:

<?php else if ( is_archive() ) : ?>

It should read:

<?php elseif ( is_archive() ) : ?>

It’s amazing what errors a single space can cause…

You may also want to change content-espresso_venues-header.php line 2 from this:

<?php global $post; ?>

to this

<?php global $post; 
$wrap_class = has_excerpt( $post->ID ) ? ' has-excerpt' : '';
?>

It shouldn’t cause any issues if you don’t it’s just a tidy up of undefined variables.

As mentioned, this will be fixed in a future release.


Simon Belcher

June 5, 2014 at 4:19 am

Great stuff thanks, can’t believe I missed that too!


Dean

June 5, 2014 at 4:22 am

Easily done, our developers certainly missed it first time around!


Lorenzo Orlando Caum

  • Support Staff

June 5, 2014 at 7:59 am

Hello,

Could you please update your WP debugging macro to false (turn it off)?

define('WP_DEBUG', false);
  if (WP_DEBUG) {
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);
    @ini_set('display_errors', 0);
}


Lorenzo


Josh

  • Support Staff

August 5, 2014 at 10:54 am

Event Espresso 4.3 includes the typo fix in the content-espresso_venues.php template.

Viewing 12 reply threads

The support post ‘Venues page not working’ 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