Title: Error on admin-ajax.php
Last modified: August 21, 2016

---

# Error on admin-ajax.php

 *  [CorW](https://wordpress.org/support/users/corwols/)
 * (@corwols)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/error-on-admin-ajaxphp/)
 * I have secured my wp-admin directory by htaccess so only I can use this directory(
   IP block). Because the Ajax Event Calendar allows users to create events a call
   is made to wp-admin\admin-ajax.php
    This results in server errors (access denied
   by server configuration).
 * I think you should move the admin-part of AEC to another place. For the time 
   being I have commented out line 576 in ajax-event-calendar. I don’t want to let
   people add events, so for me that works.
 * [http://wordpress.org/extend/plugins/ajax-event-calendar/](http://wordpress.org/extend/plugins/ajax-event-calendar/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [CorW](https://wordpress.org/support/users/corwols/)
 * (@corwols)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/error-on-admin-ajaxphp/#post-3648579)
 * > For the time being I have commented out line 576 in ajax-event-calendar. I 
   > don’t want to let people add events, so for me that works.
 * This solution does not work. I hope there is another solution.

Viewing 1 replies (of 1 total)

The topic ‘Error on admin-ajax.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ajax-event-calendar_fdcdf9.svg)
 * [Event Calendar](https://wordpress.org/plugins/ajax-event-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-event-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-event-calendar/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [server-error](https://wordpress.org/support/topic-tag/server-error/)

 * 1 reply
 * 1 participant
 * Last reply from: [CorW](https://wordpress.org/support/users/corwols/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/error-on-admin-ajaxphp/#post-3648579)
 * Status: not resolved