-
AuthorPosts
-
January 15, 2017 at 5:26 am #733676
Help! It seems like Enfold is causing issues on my site and that it’s saturating the database connections. I keep getting 502 and 503 errors when navigating my WP dashboard. Possible incompatible layer going on? When GoDaddy swapped the theme to a default theme, the site was no longer triggering 503 and the database usage went way down. We tried disabling all plugins, no change. Enfold is up to date, WP is up to date. Can you take a look and is there a hot fix available? Thank you!
January 15, 2017 at 1:10 pm #733732Hi camtay!
That is something we hear for first time.
Can you ask godaddy to monitor which resources are running and they return that errors?
It would be helpfull, so we can direct our support.Thank u
Cheers!
BasilisJanuary 16, 2017 at 4:52 am #733863Hi Basilis. They didn’t say which resources. Do you mean what I’m trying to do when those errors happen? Anything from uploading an image, updating a plugin, flushing the cache, sometimes just trying to load a post, etc.
Also, my Avia layout builder is not working, just spinning wheel the entire time. Not sure if that’s related. Thank you!
Cheers,
CamilleJanuary 16, 2017 at 8:48 am #733946Hey!
From what I can say, it seems to be a mod_security issue that is blocking a script.
Can you please ask them to let you know exactly what are the errors, so we can be able to locate them?Thank you
Cheers!
BasilisJanuary 18, 2017 at 4:54 am #735092Hi Basilis. Okay I’ll call them back today. In the meantime, I think I’ve pinpointed my other issue with the Avia builder not loading to a single page. It loads fine elsewhere it seems, but not here. It’s a heavy page with lots of media, but it used to work fine. Could you take a look while I reach out to GoDaddy to get more info?
Thank you!!!January 18, 2017 at 8:47 am #735190Hi Camille,
You are getting a 502 error on a WordPress file on that page, could you bring that up with your host as well maybe? Please see private for more info.
Best regards,
RikardJanuary 21, 2017 at 3:25 am #736688Yes, I spoke to GoDaddy just now and they said that the admin-ajax.php file is what’s causing the 502/503 errors. It’s the file that handles the comments functionality of the theme. The problem is that it’s being blacklisted by mod_sec for not having captchas… We need to either add a captcha or disable the comments functionality.
I’ve tried disabling comments for that post specifically, but every time I update the page I get…a 502 error.
Does this help you pinpoint the issue?
Thanks!
CamilleJanuary 26, 2017 at 6:39 am #738735Hi,
The admin-ajax.php file is utilize by many functions in a WordPress environment and I’m not sure how you can run a WordPress installation without it. Have you tried increasing the PHP and WP MEMORY LIMIT to at least 128M?
// http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/
Best regards,
IsmaelJanuary 28, 2017 at 10:24 am #739700Well the user.ini file said from the beginning:
; Wordfence WAF
auto_prepend_file = ‘/home/content/p3pnexwpnas10_data01/59/2497059/html/wordfence-waf.php’
; END Wordfence WAF
file_uploads = On
post_max_size = 1024M
upload_max_filesize = 128M
memory_limit = 256M
max_execution_time = 300
max_input_vars = 5000But I added the memory code to the wp config file anyway, just in case. Things seems to be loading faster in general, but I still can’t load the Avia builder on that page… Haven’t had any 502s yet, will keep testing.
January 30, 2017 at 9:52 am #740093I’m no longer encountering the 503 and 502 errors…perhaps a bit early to say but I think the memory thing fixed it…?
However, I’m still not able to load the Avia builder on this page: https://nutsandboltsspeedtraining.com/powerpoint-shortcuts/ (post #6628).
Help :)
Thanks,
CamilleJanuary 31, 2017 at 7:17 am #740504Hi!
The file is still causing 502 (Bad Gateway) error in the page. Please install the following plugin.
// https://wordpress.org/plugins/heartbeat-control/
Set the Control heartbeat locations to “Disable Everywhere” or set the frequency to 50 seconds. Or add this code in the functions.php file:
add_action( 'init', 'stop_heartbeat', 1 ); function stop_heartbeat() { wp_deregister_script('heartbeat'); }
Regards,
IsmaelJanuary 31, 2017 at 8:52 am #740529Okay, I just installled and activated it, and set it to ‘Disable everywhere’. Now what should I do?
February 4, 2017 at 9:16 am #742724Hi!
The admin-ajax.php file should have lesser request because the heartbeat-api is disabled. Please remove browser cache before testing the page where the advance layout builder is not working.
Cheers!
IsmaelFebruary 5, 2017 at 5:12 am #742916It worked once. So I started making changes to the page. No problem. Then when I hit ‘Update’, I got a 502 Bad Gateway error. Now the Avia builder doesn’t load anymore on that page.
February 6, 2017 at 3:15 am #743104Hey!
I’m not really sure what’s going on in your installation. Could you please ask your hosting provider if they blocked the admin-ajax.php file? What is the current PHP version? I can’t install a plugin because of the admin-ajax.php error. If possible, please install this extension manually.
// https://wordpress.org/plugins/debug-this/
Cheers!
IsmaelFebruary 6, 2017 at 10:14 am #743237Hey Ismael, Okay, I’ll try and contact GoDaddy again. But in the meantime, I just installed Debug This. Now what? And should I keep the Hearbeat plugin running? Thanks.
February 7, 2017 at 9:43 am #743758Hi!666
But in the meantime, I just installed Debug This. Now what?
We suggested that plugin so that we can inspect the server and php info. Unfortunately, we can’t find anything unusual on it Are you on a shared hosting? And yes, you should keep the heartbeat plugin running.
As of this moment, we are not sure why this is happening in your installation. Most likely, the admin-ajax.php file is being blocked by your hosting provider. Do you have other sites from a different host?
Cheers!
IsmaelFebruary 10, 2017 at 2:53 am #745173Have you checked what they said before about how the admin-ajax.php file is being blacklisted by mod_sec for not having captchas…?
February 10, 2017 at 12:46 pm #745370Hey!
The file is not just responsible for the comments section, it is widely use in the administration side of a WordPress environment. And regarding the captcha, did they provide any reference for that? They should not block the file and if I am not mistaken, they can manually disable whatever rule that is blocking the file.
// https://www.binarymoon.co.uk/2011/05/wordpress-mod-security-2/
Best regards,
IsmaelFebruary 16, 2017 at 4:32 am #747764Okay, so GoDaddy thinks that page has too much content on it and that my internet is struggling to load the page’s editor because of that. They suggested I try removing some of the content (like first, the videos) and then seeing if it loads better. Is there a way to edit the page without the Avia builder?
February 16, 2017 at 7:42 am #747813I switched from Go Daddy due to the nonstop 502 and 503 errors… they started last November and if you read their support forums for Managed WordPress, they have continued since then. I was pulling my hair out. This is not a theme issue. I switched to WP Engine and am happy with them but there are many hosting providers that are much better than Go Daddy. Make the switch away from GD, you won’t regret it. I wish someone had given me this advice 2 years ago! Good luck.
February 16, 2017 at 9:10 am #747853Hey!
@goldengate415: Thank you for the confirmation. The said hosting provider does cause a lot of issues in a lot of installations recently. Unfortunately, I can’t say anything about that because I’m not expert in server configurations.Okay, so GoDaddy thinks that page has too much content on it and that my internet is struggling to load the page’s editor because of that.
@camtay: The content is not the cause of the problem. The issue is that they’re blocking the admin-ajax.php file. You can use the default editor but the page will look a bit more different. Please ask your hosting provider not to block that particular file. Or move to another host.Best regards,
IsmaelFebruary 17, 2017 at 2:25 am #748186Thanks for the feedback. I’m definitely planning to switch soon, but for now I need this page to work! :)
February 17, 2017 at 8:30 am #748262Hi!
I’m sorry but we can’t fix it on our end. As long as the admin-ajax.php file is blocked, a lot of WordPress and theme features, including the advance layout builder, are not going to work properly.
Best regards,
IsmaelMay 1, 2020 at 11:30 pm #1209004Hello @camtay
i know this is an old post but i am facing a similar issue with my site going 502 only when i try to edit anything or when i am in admin area trying to manage the site backend (plugins etc..)my host is saying that it is an issue with my theme and there is a vast amount of resources that is being used which results in spikes and site crash !
i have been struggling with this .. did you find out what causes the problem and fix it maybe ?
thanksMay 4, 2020 at 2:22 am #1209375I’m sorry – I stopped using Enfold years ago and have no recollection of how I solved this in the end. Good luck!
May 4, 2020 at 6:54 pm #1209653May 4, 2020 at 6:54 pm #1209655May 4, 2020 at 7:05 pm #1209659Ive seen it yes .. i am hosted on Dreamhost with managed wordpress
my subscription is 1.5gb ramive noticed that the website consumes around 1 to 1.3gb when no visitors are online and when i am not editing any post or pages
only when i start editing a page, the avia builder (ALB) consumes around 200 to 250MB then about 10 minutes later after i update a page, it goes down to the normal ..but sometimes, it spikes and the site crashesi have noticed that sometimes the memory usage under same conditions (no visitors and no edits being made) is very high around 1.4gb
this is weird and confusing .. why would it be 1gb and sometimes 1.4gb under SAME conditions !!!!
May 5, 2020 at 12:56 am #1209768This reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.