Events Made Easy › Forums › How do I … › Stuck getting Front-end-submit working
Tagged: front-end-submit
- This topic has 3 replies, 2 voices, and was last updated 10 years, 10 months ago by Franky.
-
AuthorPosts
-
Wed 22 Jan 2014 at 19:26 #44140AnonymousInactive
http://www.AdventureRidingNZ.co.nz/rides-events/
Wordpress 3.8
PHP Version 5.3.24
Windows Server 2008 R2 Web Server Edition Service Pack 1
I have EME installed and it’s showing up my events on the events page, the backend is working fine etc, however I can’t get front end submit working.
I am using TwentyTwelve with a child theme and I have tried installing config.php, form.php and style.css in a subfolder named events-made-easy-frontend-submit under both the TwentyTwelve and TwentyTwelve-child theme folders.
My config file currently reads as below, however I have tried numerous incarnations with public_submit=false and a public_not_allowed_page defined also.
<?php
$config = 2150;
$config = false;
$config = true;
$config = false;
?>
When I go to my front-end-submit page all that is displayed is the shortcode
http://www.adventureridingnz.co.nz/rides-events/submit-an-event/
Add an event
[submit_event_form]
Where am I going wrong?
Thanks
Eddie
Wed 22 Jan 2014 at 19:55 #51109FrankyKeymasterFirst make sure you’ve copied the folder extras/plugins/events-made-easy-frontend-submit in your wordpress plugins folder, then activate it as any other plugin. Then it should work.
Thu 23 Jan 2014 at 09:23 #51110AnonymousInactiveThanks Franky, Thats got the form coming up. That doesn’t appear to be in the readme in the events-made-easy-front-end-submit folder.
I’m now testing the form and on my first submission I have been given a WP db error. I am using the form as it is out of the box, which allows the users to submit location name, address and town values, but doesn’t give the users the ability to select a pre entered location, which is how I want the form to work. In the INSERT that was generated location_id is blank and that appears to be what is causing the error.
WordPress database error: [Incorrect integer value: ” for column ‘location_id’ at row 1]
INSERT INTO
wp_eme_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
,registration_wp_users_only
,event_seats
,event_contactperson_id
,event_notes
,event_page_title_format
,event_single_event_format
,event_contactperson_email_body
,event_respondent_email_body
,event_url
,event_category_ids
,event_attributes
,location_id
,creation_date
,modif_date
,creation_date_gmt
,modif_date_gmt
) VALUES (‘Cold Kiwi 2014′,’5′,’2014-09-05′,’2014-09-07′,’12:00:00′,’12:00:00′,’0′,’0′,’0′,’0′,’0′,’-1′,’Ruapehu Motorcycle club\'s Cold Kiwi rally, since 1972′,”,”,”,”,’http://www.coldkiwi.co.nz/’,’4′,’a:0:{}’,”,’2014-01-23 21:14:08′,’2014-01-23 21:14:08′,’2014-01-23 09:14:08′,’2014-01-23 09:14:08′)Thu 23 Jan 2014 at 12:21 #51111FrankyKeymasterThe plugin is not really mine, but anyway …
The location should be filled in, that’s why you’re getting this error. When you type anything in the location name field, it should show autocomplete info of matching locations.
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.