Title: admin-ajax.php
Last modified: August 11, 2017

---

# admin-ajax.php

 *  Resolved [wong](https://wordpress.org/support/users/wongpk/)
 * (@wongpk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/)
 * I tried to import a library template, it stopped at admin-ajax.php on error 500.
 * I increased the memory to 512mb and deactivate all plugins, it’s still going 
   to the same issue with admin-ajax.php. Even reinstall WordPress still having 
   the same issue.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/#post-9400276)
 * Hi [@wongpk](https://wordpress.org/support/users/wongpk/)
 * Does your hosting service have mod_security enabled?
 * It could be server limits are being reached. Error 5XX should also show up in
   the server logs with more detail as to the source. i.e. permissions, memory
 *  Thread Starter [wong](https://wordpress.org/support/users/wongpk/)
 * (@wongpk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/#post-9400337)
 * Hi [@pingram3541](https://wordpress.org/support/users/pingram3541/),
 * But previously it works, after the update it doesn’t anymore.
 * I checked error_log from cPanel, but nothing shows up regarding the ajax.
 * I’m with share hosting so my error log may be limited. Do you have any suggestion
   as to where can I work around it anymore?
 * Thanks!
 *  [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/#post-9400454)
 * You may have to reach out to your hosting company because the server error_log
   should show that exact 500 error.
 * Other things I’ve had to do is go into cpanel php version and often there is 
   a way to toggle into advanced options of which you can increase PHP memory and
   post maximums. It could be you’re hitting a maximum on the length (time) or query
   qty (# of queries at once) or even hitting a maximum on the memory allowed per
   single post size. I’ve seen default post size @ 2MB which often effects large
   imports.
 * I’m thinking that is likely where you might be able to also verify you have access
   to 512M or more of actual PHP memory allocated to the system. Often I have to
   increase my PHP memory limits in cpanel before I can increase the memory defined
   in wp-config.php
 *  [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/#post-9400460)
 * Also, when you say previously it works, are you still referring to importing 
   the exact same template? Is it only the import function that breaks? Can you 
   try to import something basic, like a single section with basic text…something
   small just to see if it’s the mechanism itself or the size of the import the 
   causes the issue.
 *  Thread Starter [wong](https://wordpress.org/support/users/wongpk/)
 * (@wongpk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/#post-9400466)
 * [@pingram3541](https://wordpress.org/support/users/pingram3541/),
 * Thanks for the info.
 * Not the same template, however the file is just 64KB+/-.
 * Maybe the hosting issue, as I tried another host, it works just fine. Only this
   exact host (2 WordPress sites) can’t import and has the exact same issue.
 * Will check on PHP increase before wp-config limit.
 * Thanks for the head up and your time, appreciate it.
 *  [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/#post-9400771)
 * Np, best of luck. If you do figure it out, please post back, maybe someone else
   could benefit. Cheers.
 *  Thread Starter [wong](https://wordpress.org/support/users/wongpk/)
 * (@wongpk)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/#post-9406077)
 * Hi [@pingram3541](https://wordpress.org/support/users/pingram3541/),
 * I found out that I did not install the zip extension on PHP 7.1.
 * It’s working now after I add the extension.
 * Thanks for your time.
    -  This reply was modified 8 years, 9 months ago by [wong](https://wordpress.org/support/users/wongpk/).
 *  [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/#post-9408790)
 * Glad you got it figured out and thanks for sharing your solution! Makes sense
   too as they recently added a feature to upload multiple templates via zip vs 
   just a single json file.

Viewing 8 replies - 1 through 8 (of 8 total)

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

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [pingram](https://wordpress.org/support/users/pingram3541/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/admin-ajax-php-4/#post-9408790)
 * Status: resolved