Support

Home Forums Event Espresso Premium no results… (33)

no results… (33)

Posted: December 13, 2012 at 3:28 am


asteiner

December 13, 2012 at 3:28 am

Hi,
A little while ago we contacted you because we’re having problems with the booking of events. Some people who wanted to book an event on our website couldn’t do so.
Since then, we tried many things, but recently, the problem got even worse, much worse.
We have the latest version of Event Espresso, as well as WordPress and the Twentyeleven Theme that is also on the latest version.
In order to make sure the problem wasn’t due to the interference of Plugins or the Child Theme, we deactived all of them, but the problem still persisted.
When people click on the “book the event” button, they come to the next screen, where they see their booking details and have to confirm once more that they agree. When they do this, they see the same screen again, but without any booking details (empty spaces). They don’t get a booking confirmation, they are not taken to the payment screen anymore. However, on the admin side, the booking is received, actually it’s received twice.
We’ve had problems with Event Espresso already in the beginning of us using it and it had turned out it was not compatible with the theme we had chose. So we changed to the Twentyeleven theme.
We really need your help as at the moment NOBODY can book our events. Can you help us reconfiger the plugin? Can you have a look at our admin area and try and figure out where the problem is? Please contact us soon, as we are losing business through this problem. Thank you very much for your support.
Nadine

  • This topic was modified 11 months, 3 weeks ago by  Garth.


Dean

December 13, 2012 at 3:37 am

Hi Nadine,

Just for completeness sake, have you made sure your espresso/uploads directory is empty/renamed? Sometimes old templates can cause issues.

If you have already, please forward login details.

Please send them via https://eventespresso.com/contact/

Choose the “I am sending login info as requested” option and fill out the form

Please make sure you add the forum post link to aid us in case another team member picks up the email.

NOTE: login details need to be Admin level.


asteiner

December 17, 2012 at 2:28 am

Hi Dean,
I’ve just contacted you via the espresso contact form, as suggested above. However, I didn’t get a confirmation, only a text that reads:

This contact us form should not be used for support requests. Support requests sent via this form will be ignored so please use the support forums or purchase a priority support token (support license holders only) if you need plugin support.

This is a bit confusing. Please don’t ignore my message, as I put it there because you suggested it. Could you please confirm that you received it? Thank you Nadine


Dean

December 17, 2012 at 5:00 am

Hi Nadine,

Yes I got your email 🙂

OK, so renaming the uploads/directory folder resolved the main issue but messed the sites looks up?

Thats good as we now know what was the problem – old template files.

The reason the site is messed up is because you had modified files which were changing the look of the site. Due to changes in recent updates, the template files have changed, enough to break something.

What you will need to do is FTP into your site, find the old template folder (its called templates-2012-12-14-12-36-26 and is located in wp-content/uploads/espresso) and download it and download the new templates as well. You will need to amend the new templates with the changes that were on the old templates and upload the new templates to wp-content/uploads/espresso/templates.

Once the newly modified templates are back in place the sites looks should return.

Regarding your Beschreibung issue, the file you need is the registration_page_display.php and on line 42 of that is the Description title that can be commented out, removed or changed.

Regarding your summary, it looks like you are using the option to show the description (Event Espresso -> Template Settings >Display short descriptions in the event listings?) but are not using the More tag to shorten the description down. You could either turn that setting off to remove the description or use the more tag within the event to shorten what is shown.


asteiner

December 18, 2012 at 12:51 am

Dear Dean
Wow, you are great, thank you so much for your help. I will try all of your advice and see if I can get back to a well running, functional, yet good looking website.
I will let you know if I need further assistance.
Best regards and Merry Christmas

Nadine


asteiner

December 20, 2012 at 3:42 am

Dear Dean
I have tried to follow your instructions, however, I have a few questions. I don’t seem to understand some basic things (and I am sorry if these questions seem silly or obvious to you…. to me they are little Mount Everests right now…).

I have templates in the folder “Plugins/Event Espresso/Templates”. These, so I assume, are the new templates, the ones that came with the update. When I am on the dashboard of the admin of WordPress and click on Plugins/Editor, that’s the templates I get when I choose “Event Espresso”. Is this right? So if for example, I change the line 42 on the template: registration_page_display, it will change it on my website, but what happens when you update the plugin next time? Will it not overwrite this?

My old templates are in the wp-content/uploads/espresso/templates-2012-12-14-12-36-26 folder. I found them there, just like you said in the above instructions.

So I downloaded a template from the plugin/eventespresso/template folder, added the changes from the same template in the wp-content/uploads/espresso/templates-2012-12-14-12-36-26 folder and then what?

You say to upload this to wp-content/uploads/espresso/templates.

Can I just confirm with you that I understand this right. There are three places where I will have templates.

wp-content/plugins/eventespresso/templates
wp-content/uploads/espresso/templates-2012-12-14-12-36-26
wp-content/uploads/espresso/templates

Further, do I understand rightly that the plugin first looks in the folder wp-content/uploads/espresso/templates for a template, if it doesn’t find it there, it will take the template from wp-content/plugins/eventespresso/templates.

So if I make changes to templates in the editor (like the famous line 42) I then need to safe a copy of this template in the wp-content/uploads/espresso/templates folder, so when there is another update, it won’t overwrite this?

Is this right, or am I totally wrong?

Thank you so much for helping me with this.

Best regards

Nadine


Dean

December 20, 2012 at 4:06 am

Hi Nadine,

No question is silly 🙂

Perhaps I should have explained in more detail, so my apologies for that.

You are pretty much right in what you are saying.

The default templates live in event-espresso/templates. These are the ones that the plugin will use and they will get over written each time a new update occurs.

Because people want to modify the templates we ask that you copy them over to the wp-content/uploads/espresso/templates directory and modify them in that directory.

The plugin will check that directory first and if there are files there it will use those, if not it will go back to the default ones.

When an update occurs, the files in the uploads/espresso/template directory are not overwritten so you modifications are safe.

However, because we do changes to fix bugs and add new features the templates change from time to time (more often recently) and as such the modified templates in the uploads/espresso/template directory wont work with the new version of Event Espresso.

As such you need to then look at copies of the default templates that came with the new update and compare them to the modified templates you have and change the new templates to show your modifications. These newly modified files need to go into the uploads/espresso/templates folder so that the plugin can see them and use them and to keep the modifications safe.

The reason you have a third folder, is that when you update the plugin and things break from the differences in the templates, there is a button in the Template Settings page which will rename the modified templates directory so that the plugin will revert to the defaults. This enables your site to function but without the modifications you made.

We realise that, to put it mildly, this is a pain. When 3.2 is functional, we hope that the new template system in place will reduce or eliminate the need to port over the modifications every single update. A better system for you and less support work for us. That’s the plan at least 😀


asteiner

December 20, 2012 at 5:29 am

Dear Dean

You are truely an angel. At last I start to understand a little bit what is involved and what all the strange language means… thanks for explaining it all “dummy proof”. It doesn’t help of course that I am not a native English speaker.

As I wasn’t working here when the plugin was first setup, I am now trying to figure out in which php files there are changes that I have to copy over to the new templates.

I assume the one I am really looking for is the event_list_display.php. What I am trying to do is to make this kind of event list (the summary I was trying to explain in one of my first entries).

On the page now, it looks like this:
http://www.walterlernt.ch/

What I want in the end is something like this:
http://wordpress-kurse.ch/
(scroll to the bottom and you’ll see the events list. On the walter lernt site we used to have something like it, but now it’s gone).

On the mentioned php I have found the code below:

<?php //echo $venue_title != ''?''.stripslashes_deep($venue_title).'':'' ?>
<?php //echo $venue_address != ''?''.stripslashes_deep($venue_address).'':''?>
<?php //echo $venue_address2 != ''?''.stripslashes_deep($venue_address2).'':''?>
<?php //echo $venue_city != ''?''.stripslashes_deep($venue_city).'':''?>
<?php //echo $venue_state != ''?''.stripslashes_deep($venue_state).'':''?>
<?php //echo $venue_zip != ''?''.stripslashes_deep($venue_zip).'':''?>
<?php //echo $venue_country != ''?''.stripslashes_deep($venue_country).'':'' 
 /*echo '';
 print_r($event);
 echo '';
 echo $this_event_id;*/
 $venueName = '';
 $event->event_cost = empty($event->event_cost) ? '' : $event->event_cost;
 if(!empty($event->venue_name)){
    $venueName = $event->venue_name;
 }else{
    global $wpdb;
    $sql = "SELECT name FROM wp_events_venue wev
            JOIN wp_events_venue_rel wevr ON ( wev.id = wevr.venue_id )
            JOIN wp_events_detail wed ON ( wevr.event_id = wed.id )
            WHERE wed.id = $this_event_id
            ";
    $venueName = $wpdb->get_var($sql);

 }

Is this the part I have to copy into a copy of the new template and then safe it all in the uploads template folder? Or is there anything else?

Again, a million thanks for your help.

Nadine


Dean

December 20, 2012 at 5:39 am

I knew I forgot something, I got distracted mid sentence earlier. A program called Diffmerge is very helpful here.

What it does is loads two files (so you can load the old registration_page_display.php and the new one) and checks if they are different or the same, and highlights the differences, making it much easier to spot things. You just need to be careful and make sure you dont mix the files up as I have done that before.

Regarding the table, have you re-installed the Custom Files addon? That has the table shortcode in it.

It is available from your accounts download section but please make sure you at least read this https://eventespresso.com/wiki/custom-files-addon/ as it is not a standard plugin.

You will hopefully have all the custom files already and that add on hasnt changed in a while but you can quickly check it with Diffmerge.


asteiner

December 20, 2012 at 8:20 am

Dear Dean
I downloaded Diffmerge and that programme is truely cool. I’ve also downloaded and unzipped the Custom Files addon.

What did I do then:
I looked at the uploads/espresso and found that we had already uploaded the three files from the Custom Files addon (custom functions, shortcodes and includes). I checked if they were the same and they nearly were. So I added “old” to the existing files and copied the new files into the same folder.
However, the template folder in the uploads/espresso was empty. So then I looked at the names of the files in the Custom Files addon templates folder and looked for the same files in the wp-content/uploads/espresso/templates-2012-12-14-12-36-26 folder. I copied those into the uploads/espresso/templates folder.

I then checked in the templates-2012-12-14-12-36-26 for all the folders that had been changed since the first date of installation and found five. So I compared those five with the new files of the updated Espresso Plugin (in the plugin/espresso/template folder) using the Diffmerge programm and clicking on “copy from the left to the right” to copy the changes from the old files into the new ones. Once I finished with that I pasted those five files into the upload/espresso/templates folder.

When I now click on the walterlernt.ch site, all I get is a blank screen. OMG!!!!

Is it possible that one of you can have a look at my folders and phps and all and help me out here? I don’t mind if it costs us some money, but we really need this site fixed and running before we lose business.

I think you still have the login details.

I am so sorry for all the trouble and thank you very much for your help.

Nadine


Josh

  • Support Staff

December 20, 2012 at 4:45 pm

Hi Nadine,

We don’t typically hang on to log in details for sites. There are two things you can do to address a white screen issue. If you can log into your server via FTP, you can set the WP_DEBUG to true and increase the amount of memory allocated to WordPress. If it’s a memory issue, increasing the memory may help. If it’s a PHP error, turning on debug will tell you where the error is coming from.

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


asteiner

December 21, 2012 at 12:40 am

Dear Josh

I fully understand what you are saying and appreciate your help immensely. But my white-screen-problem wasn’t a bug or anything, just the result of what I did and described above. Obviously, in trying to get my old templates back, I did something wrong.

So lets say, we ignore all of our old templates and work with what we have now (I deleted all the work from yesterday and I am back to a semi-normal site).

If you look at the http://www.walterlernt.ch site you have the full details fo each course on the main site. I don’t want short descriptions either with the more tag, all I want here is a event table like we have on this site http://wordpress-kurse.ch/ at the bottom of the home page. A table with the course, the date and time, the price, place and a link to more details and booking of that course.

On the home page in the backend it now says : [ESPRESSO_EVENTS limit=3]
And on the page of the course summary it says: [ESPRESSO_EVENTS]

All I want to know is how I can make this table so that it will show on my website? Does that really need code written into the php files and if yes, which code in which file?

Thank you, thank you. Nadine


Josh

  • Support Staff

December 21, 2012 at 3:50 pm

Hi Nadine,

It might help to explain that [ESPRESSO_EVENTS limit=3] isn’t valid. You’ll need to create a separate page to list out the events as a table because [ESPRESSO_EVENTS] will not display a table, only a list.

What you can do to display a table of events is install a fresh copy of the custom files add-on and use one of the table templates included there, or copy the table template from the other site.

The support post ‘no results… (33)’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Josh 8 years, 2 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!