Support

Home Forums Event Espresso Premium Front End is not saving events (2)

Front End is not saving events (2)

Posted: June 15, 2014 at 8:37 am

Viewing 2 reply threads


Suhaib Siddiqi

June 15, 2014 at 8:37 am

https://eventespresso.com/topic/front-end-is-not-saving-events/page/2/

Is there any solution? Can it be fixed?????????????????????????????????????????//


Sidney Harrell

June 16, 2014 at 2:28 pm

As a temporary fix, you can change line 234 of plugins/event-espresso/includes/event-management/add_new_event.php from:

<input type="text" name="event" size="30" tabindex="1" value="<?php echo isset($event_name) ? $event_name : ''; ?>" id="title" autocomplete="off" />

to:

<input type="text" name="event_name" size="30" tabindex="1" value="<?php echo isset($event_name) ? $event_name : ''; ?>" id="title" autocomplete="off" />

then in includes/event-management/insert_event.php change line 82 from:

$event_name			= !empty($_REQUEST['event']) ? sanitize_text_field($_REQUEST['event']) : $event_code;

to:

$event_name			= !empty($_REQUEST['event_name']) ? sanitize_text_field($_REQUEST['event_name']) : $event_code;

Finally, in plugins/espresso-event-manager/templates/fem_form_output.php change line 22 from:

<input class="required" name="event" tabindex="1" value="" id="event_title_field" type="text">

to:

<input class="required" name="event_name" tabindex="1" value="" id="event_title_field" type="text">


Suhaib Siddiqi

June 16, 2014 at 5:25 pm

Thanks Sidney, This took care of the problem.

Viewing 2 reply threads

The support post ‘Front End is not saving events (2)’ 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.

Event Espresso