Posted: July 10, 2012 at 4:27 am
For some reason, the “event posts” pages do not come out correctly once published. Here is an example, notice how the sidebar layout (calendar and twitter) appears at the bottom and the the bottom section (Dojo Kun) appears at the top compared to what it should be.
Here is what it should look like. I have used the registration template as an example.
Did you copy over the sample event post templates from the /post-type-samples directory of the plugin to the active theme directory?
Note that for the post-type page that lists all the event posts, you can create a page and set it to use page-event_list.php as its template.
Yes the sample event post templates where copied into the active themes directory. I have recopied them to be sure I had the latest versions, but now when I tried to verify the post I got this error:
Fatal error: Internal Zend error – Missing class information for in C:\inetpub\wwwroot\mysite.com\wp-content\plugins\event-espresso.126.96.36.199.P\class\pue\pue-client.php on line 41
I couldn’t get back into my WP dashboard so what I needed to do is change the name of the espresso.php file (Using FTP) so I could get back into the WP dashboard. I have rechanged the espresso.php file to its original name, reactivated the event espresso plugin and now I can’t get back into the Event Posts anymore to edit them. I systematically make the WP dashboard crash with the same previous Fatal Error message.
Try downloading a fresh copy of EE and manually uploading to the plugins directory via FTP.
The crashing issue is solved, I deleted the existing event post and now the Event Posts doesn’t crash anymore. I previously had Fatal Error problems so I had to manually upload EE via FTP so on that aspect I’m am now OK.
Regarding using page-event_list.php as its template, I can’t seem to get around this point. How to I specifically do this? I read the, wordpress manual to create templatesbut I don’t see how to set this up. Do you have a step by step guide?
It’s an example template meant for developers to be built on, so we don’t really have a step by step guide for it.
How it works is you’d make a copy of this template and drop it into the same directory as the active WordPress theme.
Then save. Then all the custom post type posts should be listed on this page.
After fiddling around with this, I understand how it works but one thing has been annoying me alot is that I keep on having the “Fatal error: Internal Zend error – Missing class information for in C:\inetpub\wwwroot\mysite.com\wp-content\plugins\event-espresso.188.8.131.52.P\class\pue\pue-client.php on line 41” messages.
I’ve updated and removed all previous versions of EE, including the add-ons, to correct this problem as per what I have read on this forum. The problem persists everytime I play with the single-espresso_event.php file (trying to have a proper layout and visualizing my modifications) uploaded via FTP in my current theme folder. I am presently on version 184.108.40.206.P.
We recommend installing Event Espresso on a LAMP-stack type server, not on a windows based server, the file path suggests this site is on a Windows server. Try downloading and running the Event Espresso requirements check plugin to see if this server passes the requirements check: https://eventespresso.com/requirements/
You could try setting the value on line 41 of espresso.php to false. You’d lose the ability to get the auto-updates, though.
Can you post the contents of the single-espresso_event.php file on pastebin so we can see if there’s a function that could be breaking things?
My web host uses Windows/IIS which is what seems to be causing the problem. It’s something I had not looked into when selecting a web host….
As you recommended, I have set line 41 to FALSE hoping this will stop my dashboard crashing.
I have placed my modified single-espresso_event.php file here. I have basically removed all the unwanted information and done the following changes:
PS: do not consider the
The example templates were based on the twentyten theme, so try copying the functions you’d like to use from twentyten into your current theme’s functions.php file, and renaming them accordingly in the templates.
I checked with the PUE developer with the other error, and he said the errors you are getting are most likely a bug with the Zend/PHP setup, so it’s not an event espresso problem, but unique to this server’s setup. More information here:
The support post ‘Event posts layout conflict with theme’ 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.