- This topic has 3 replies, 2 voices, and was last updated 13 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › Database Insert Error
Tagged: database, field list, insert
I’ve installed Evnets Manager and tried posting my first event but get the following message.
WordPress database error: [Unknown column ‘event_name’ in ‘field list’]
INSERT INTO wp_dbem_events
(event_name
,event_status
,event_start_date
,event_end_date
,event_start_time
,event_end_time
,event_rsvp
,rsvp_number_days
,registration_requires_approval
,event_seats
,event_contactperson_id
,event_notes
,event_page_title_format
,event_single_event_format
,event_contactperson_email_body
,event_respondent_email_body
,event_category_ids
,event_attributes
,location_id
,event_author
) VALUES (‘Jubilate Choir’,’1′,’2011-01-12′,’2011-01-12′,’13:03:00′,’14:03:00′,’0′,’0′,’0′,’0′,’1′,’tests’,”,”,”,”,’1′,’a:0:{}’,’4′,’1′)
Any suggestions. I’m using WP 3.04
Thanks that’s fixed that error and I can insert events. When I try to view the event on my page I get:
Fatal error: Call to undefined function tern_wp_events() in /home/aspex/public_html/ianhigginson.co.uk/wp-content/themes/station/events.php on line 7
The script I have is:
<?php
/*
Template Name: events
*/
?>
<?php
tern_wp_events();
?>
I don’t know that function, must be something in your theme.