-
Author
Tagged: ajax, buddypress
-
December 7, 2014 at 13:11 #37967
valuser
ParticipantHi,
Have a very unusual problem .
On JUST ONE Server/Host (wpengine) your wonderful theme doesn’t function properly (just the buddypress activity ajax part)
I attach the debug log.
see http://dogdrill.com/activity/ (see login details below)
The “whats-new-options” div just doesn’t appear.
Your theme works spendidly on test installs on local installs and on other server/hosts
Support at wpengine just repeats what is in the debug.log (attached) and says go to the buddypress devs ?????
The fact is your theme works on every other server – but this is the situation that i am in.
Any help at all much appreciated.
Could be linked to
Can give superadmin access privately
Any help at all much appreciated.
Cheers,
Val
December 7, 2014 at 13:22 #37972valuser
ParticipantSuperAdmin Login
username: bingo
password: Ckktmk1234!December 7, 2014 at 13:29 #37974sharmstr
ModeratorYou’re not the only one having that exact issue when hosting with WPEngine
https://archived.seventhqueen.com/forums/topic/submit-button-not-showing-up-for-public-message
https://archived.seventhqueen.com/forums/topic/attachment-and-post-buttons-for-whats-new-posts-on-groups-were-hiddenI dont know if either of those two ever sorted it out with WPEngine, but the second link has some code we came up with to band-aid it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 8, 2014 at 01:24 #38089valuser
ParticipantAgain many thanks for your help.
The insert to functions.php solved it.
Would really appreciate it that you might notify me of a change (if it comes about) that doesn’t require this insert into the theme. ??
However FYI I append a short history of this issue from my perspective.
(not a coder- but really excellent at copying and pasting)My encounter with this error pre-dated (mid Sept 14) the notice you got and solved/provided fix in Oct 14 in this topic
Attachment and Post Buttons for “What’s new posts” on groups were hidden
(https://archived.seventhqueen.com/forums/topic/attachment-and-post-buttons-for-whats-new-posts-on-groups-were-hidden).Through trial and error I had narrowed it down to a server issue.
I then tested Kleo on buddypress test sites on Bluehost (single site), Siteground (multisite/multinetwork), Hosting Ireland (multisite/multinetwork) and on Hostgator (multisite/multinetwork – now taken down)
There were no signs of this error (as far as i could tell) on these servers.
Some of these are on very very low cost standard shared hosting and “memory issues” surely would have arisen ?????
I did put a ticket down on your site on Sept 29 2014 https://archived.seventhqueen.com/forums/topic/buddypress-error-problem-on-one-serverhost-only.
Unfortunately it wasn’t picked up by one of the SeventhQueen Moderatorss. No worries.
I then contacted support at wpengine.
The reply from wpengine was
1)
I’ve taken a look into this issue, and from what I can see, it appears to be an issue with BuddyPress. The caching on the page is fully disabled, and there is only one error popping up consistently in the error log. Could you provide this to BuddyPress to see if they are aware of why this might be occurring on a small install?
[Sun Sep 28 03:22:31 2014] [error] [client 66.162.212.19] WordPress database error Out of memory (Needed 4194276 bytes) for query SELECT COUNT(DISTINCT b.blog_id) FROM wp_bp_user_blogs b LEFT JOIN wp_blogs wb ON b.blog_id = wb.blog_id WHERE wb.deleted = 0 AND wb.spam = 0 AND wb.mature = 0 AND wb.archived = '0' AND user_id = 1 /* From [dogdrill.com/activity/] in [/nas/wp/www/cluster-1717/dogdrill/wp-content/plugins/buddypress/bp-blogs/bp-blogs-classes.php:322] */ made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, bp_init, do_action('bp_init'), call_user_func_array, bp_setup_nav, do_action('bp_setup_nav'), call_user_func_array, BP_Blogs_Component->setup_nav, bp_get_total_blog_count_for_user, bp_blogs_total_blogs_for_user, BP_Blogs_Blog::total_blog_count_for_user2)
As for the issue with the memory limit on the server, this is unfortunately a limitation on the server here.
Since our server is configured to stop the sites set up on it from running anything that could impact the performance we wish to give to our customers.The best option moving forward on our platform is to optimize that function to use less memory. I would recommend contacting the developer to see if we can get some information from them as to how that can be done.
I then posted this topic on the buddypress forums
https://buddypress.org/support/topic/buddypress-error-problem-on-one-serverhost-only/#post-202159There was a good response from the moderators and contributors etc but no solution.
I left it there until i contacted you again on this ticket.
Now am really thrilled that there is a fix for it but there is also a little niggling worry, hopefully unfounded, “Is Kleo a memory hog???”
Is Kleo with buddypress so resource intensive that some hosts just won’t tolerate it ??
December 8, 2014 at 01:28 #38090sharmstr
ModeratorNo. If you read the link I sent you to the other topic, you’ll see that it happens with the 2014 Theme as well. Its not a Kleo issue and AFAIK has only happened on WPEngine hosted sites.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 8, 2014 at 01:37 #38091valuser
ParticipantFrom my experience i would also say it IS confined to wpengine.
But this could harm your sales – hopefully not.
Anyway thanks for the fix and so quick on a Sunday!!!!
December 8, 2014 at 01:49 #38093sharmstr
ModeratorNo problem. Glad to help.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 17, 2014 at 02:39 #39382sharmstr
ModeratorThat’s great news. Thanks for the update.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.