Forum Replies Created
-
I’m trying to keep this conversation within topic here where you originally mentioned it, rather than wild in the activity stream.
I’ve managed to get forums working on a 1and1 shared hosting…
I don’t think any of the wp-config.php or .htaccess or php.ini tricks for increasing memory work for 1and1 shared hosting. Even if wordpress tells you it has more, it will still behave as if it hasn’t…
As ray said, you should disable as many plugins as possible at least till the forums are enabled. I already mentioned what I had done about plugins here
To find out how much memory a plugin or theme is using I use https://wordpress.org/extend/plugins/wp-system-health/.
You appear to be using buddypress social theme – which I haven’t tried but it has lots of options and may use lots of memory. With limited memory it would be better to use a simple child theme of buddypress default and customise it.
I think you are right about needing a better host, but it isn’t that simple…
All the hosts I recently had a look at don’t publish their memory constraints in their advertising.
One I know of said on the phone that their memory was effectively unlimited (and it seemed so for what I was trying to do), or so I was told by their custormer…. but I think that they were down for about 29 hours in a row recently…
@r-a-y – If this is a 1and1 shared hosting memory issue then that will not help. WordPresss may report a higher memory but 1and1 servers will still be stuck at 30mb….. I would love to get round this problem myself, other than by limiting what plugins and themes etc I can run….
You look like you are using 1and1 shared hosting which has very low memory allowances for running buddypress….. see https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/rss-error-in-dashboard#post-88690 if you are.
1and1 have also disabled any tricks I have found that were supposed to increase memory….
They say on their uk website that even if wordpress reports more than 30mb it won’t be accurate – and my experience shows it should be less than that!
suffusion doesn’t use the BP template pack plugin as it has it’s own: https://buddypress.org/community/groups/suffusion-buddypress-pack/
I found https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-edit-headerphp#post-45900 invaluable in helping to create my community menu …. but it wasn’t an easy task ….
I think I may have just found a way – I saved the following as a plugin myself and it works. So If you change the Case text for your own it may help – I run single site so i can’t try it out…
`<?php
/*
Plugin Name: Text Mangle
Original Author URI: http://quirm.net/
Description: Replacing buddypress texts the eshop plugin way.
Based on PJW Translation Mangler by Peter Westwood http://blog.ftwr.co.uk/
Originally cut and pasted from: http://quirm.net/wiki/eshop/changing-displayed-text/
Author: Rich Pedley
Version: 0.01
*/
class buddypress_Translation_Mangler {
/*
* Filter the translation string before it is displayed.
*/
function filter_gettext($translation, $text, $domain) {
$translations = &get_translations_for_domain( ‘buddypress’ );
switch($text){
case “Who’s Online Avatars”:
return $translations->translate( “Who’s Online…” );
break;
}
return $translation;
}
}
add_filter(‘gettext’, array(‘buddypress_Translation_Mangler’, ‘filter_gettext’), 10, 4);
?>`
I would like to know if there’s anything wrong with using this technique in buddypress?I had similar issues due to a lack of memory on my 1and1 shared hosting.
Buddypress, in single site mode, currently uses about 6.61 mb ( https://wordpress.org/extend/plugins/wp-system-health/ ).
I had to remove the suffusion theme, which if i remember correctly used about 4 or 5 mb, replacing it with a customised version of the default theme.
I also removed nextgen (about 2mb?) and other smaller non-essential plugins – am still looking for a replacement for wassup and all in one SEO which both use a lot of memory…
This enabled it to run without error. I still have problems importing images and upgrading plugins which easily use up memory.