Events Made Easy Forums How do I … Stuck getting Front-end-submit working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44140
    Anonymous
    Inactive

    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

    #51109
    Franky
    Keymaster

    First 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.

    #51110
    Anonymous
    Inactive

    Thanks 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/&#8217;,’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′)

    #51111
    Franky
    Keymaster

    The 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top