-
AuthorPosts
-
March 23, 2019 at 6:45 pm #1082154
Searched all topic and web and have exhausted my knowledge level with web site stuff :(
Server running:
Debian Linux 8
Apache 2.4
PHP 5.6
Enfold 4.5.4Symptom is that when editing a page with avia editor it just sits there with the spinning circle.. if I leave it long enough it does a failed autosave and breaks the page code and thus I need to reload the template “Landing Page”
Chrome console shows:
POST http://www.quadwizard.com.au/wp-admin/admin-ajax.php 400 (Bad Request) VM5220:1[edit]
apache logs say: [24/Mar/2019:04:25:40 +1100] “POST /wp-admin/admin-ajax.php HTTP/1.1” 400 563 “http://www.quadwizard.com.au/wp-admin/post.php?post=12&action=edit” “Mozilla/5.0So it has to be an apache config issue right?
I really have no idea what else to do any and all help would be appreciated.
Regards
James- This topic was modified 5 years, 8 months ago by jeaustin. Reason: added apache log reference
March 25, 2019 at 2:15 am #1082449Hey jeaustin,
Thank you for contacting us.
There could me multiple reasons why the Layout BUilder is not loading properly for you. Please carefully follow the troubleshooting steps mentioned in the docs.
Best regards,
VinayMarch 25, 2019 at 2:19 am #1082451Hey Vinay,
I looked at the docs and comment below:
1. First of all, make sure that you are running the latest version of the theme – you can find out what the latest version is here
Done2. Clear your browser cache and restart – Guide to clearing your browser cache
Done3. Try a different browser to verify if you are getting cached results or not – preferably a browser you have never used to log into the WordPress installation in question with before. If it works as expected in this browser, then you are getting cached results in the first one.
Done4. Disable all plugins to see if there is a conflict with any of them – if there is a conflict, you can reactivate them one by one to find out which one is causing the problem.
Done6. Increase the WordPress memory limit.
Done now at 256MB7. If none of the above should work, then try to overwrite your theme files with a fresh copy from your Themeforest account – Please make sure to properly back your site up prior to attempting this. Refer to this guide for further instruction on updating via FTP.
Done8. Still not working? Please open a new ticket in the support forum with admin login details for your installation supplied in private, and we’ll have a closer look at it for you.
Its still not working, and I thought this was the support forum? should I just link details in the private content on this topic?
- This reply was modified 5 years, 8 months ago by jeaustin.
March 28, 2019 at 6:16 am #1083922Hi,
Thanks for the update.
We can reproduce the issue and see the same error. It is perhaps an issue with the PHP version. Have you tried updating PHP to 7.0 or later versions? Also, try asking your hosting provider if the mod_sec rule blocks or blacklists the admin_ajax.php file.
Best regards,
IsmaelMarch 28, 2019 at 6:29 am #1083929Hey Ismael,
mod_sec is not included in our config below are active modules; also if mod_sec were blocking it there should be a trace in the apache log file right?
I have ssh access to the machine so here is the loaded Aapache modules:
root@roadrunner:/var/www/wizard/quad/wp-content# apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
watchdog_module (static)
http_module (static)
log_config_module (static)
logio_module (static)
version_module (static)
unixd_module (static)
access_compat_module (shared)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
filter_module (shared)
log_sql_module (shared)
log_sql_mysql_module (shared)
log_sql_ssl_module (shared)
mime_module (shared)
mpm_prefork_module (shared)
negotiation_module (shared)
perl_module (shared)
php5_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
status_module (shared)Seems odd that Enfold works under Apache2.2 with PHP5.6 but not Apache2.4…
I dont really want to upgrade to PHP7 as some other sites will break as they rely on the PHP5.6 old way of doing things.. and this will cause me a whole lot of work :(
Is there nothing we can try _before_ upgrading to PHP7 as that route will require me to configure Apache with both PHP5.6 and PHP7 and I am yet to get that to reliably work :(
Regards
James- This reply was modified 5 years, 8 months ago by jeaustin.
April 1, 2019 at 11:59 am #1085441Hi,
We are really not that familiar with server configs and we usually deal with users using standard or preconfigured hosting plans, not custom ones like yours, so we may not be able to help you with this one. Only thing we noticed that is worth noting is the PHP version. Have you tried enabling the WP debug mode?
// https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG_LOG
Best regards,
IsmaelApril 1, 2019 at 1:38 pm #1085499Thank you I will enable WP debug and see where that gets me prior to update to PHP7.. 5.6 is very old and really my server should be on 7 by now… :)
Thank you, I will let you know what happens…
April 2, 2019 at 8:04 am #1085913Hi,
Thanks for the update, we’ll leave this thread open in case you should need any further help from us.
Best regards,
RikardApril 8, 2019 at 7:11 am #1088148Hi Rikard and Ismael,
This ticket maybe closed now as the matter is now finalised.
Everything works fine after a full system upgrade to:
Debian 9
Apache 2.4.25
PHP 7.0.33
Newest Enfold!Thank you.
April 8, 2019 at 3:46 pm #1088349Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Updated to Enfold 4.5.4 and now get admin-ajax 400 error’ is closed to new replies.