Search Results for 'wordpress'
-
Search Results
-
I had some trouble with a wp install wich give some fatal errors due to excessed memory_limit. I searched and read a lot. Write some tickets, asked on forums. I have no solution, only a opinion for the moment. Here is what i want to share.
From 1.0 to 1.5 wpmu was working with PHP CGI
Since 1.5.1 it use PHP as module, given as faster (3 – 5x)
This is one of the main reason why wpmu cannot be used, in 99% of case, on a shared host, because the php memory allowed to each user is rarely over 8 or 12M. On good performing shared host you can find 16 or 20M. Rarely more.
Actually a single WP with only BP activated cannot support gettext with 20M memory_limit.
With 25Mo, such a install is consuming 92% of memory ressource.
My tests on a shared host
* PHP Version : 5.2.12 / 32Bit OS
* Memory limit : 25 MByte
WP single alone, no plugins
* Memory usage : 14.64 MByte – 59%
WP single + BP
* Memory usage : 23.08 MByte – 92%
3 or 4 plugins more and i’m over the hill. And i didn’t test with a active forum.
On some shared host, you can find PHP with CGI. It is lower for the end user but more secure for the server. That’s why you find sometimes With such kind of offers access to the php.ini where you can set – more or less freely – the php memory_limit. Saying you have 16 by default and you need more. So you choose 64 and done. The only thing it’s shared memory ! This means that you can have 64 at 1:00 am, but only 32 or 8 at 3:00 pm, during high affluence hours. In both case, the two methods are not constant on shared hosts. One is already fast but can lack, the other is lame and can lack too.
So you’re software dependant. Actually 64M with WPMU and 32M with WP. And the only best solution to adopt is a dedicated server, and a handfull of good prayers and incantations that nothing goes wrong with Apache, because on dedi’s, problem are for yourself, yes, you alone, they aren’t shared and solved by others…
64M settings means also that each user on your site has this quantity allocated. Now count how much your server uses when you have 20 members at the same time on your site.
Memory exhaustivity ? Sure !
Energy overuse ? Probably !
wpmu 1.5.1- may 2008 – memory_limit:32M
http://trac.mu.wordpress.org/browser/tags/1.5.1/wp-settings.php
wpmu 2.6 – july 2008 – memory_limit:32M
http://trac.mu.wordpress.org/browser/tags/2.6/wp-settings.php
wpmu 2.7 – january 2009 – memory_limit:32M
http://trac.mu.wordpress.org/browser/tags/2.7/wp-settings.php
wpmu 2.8.1 – june 2009 – memory_limit:32M
http://trac.mu.wordpress.org/browser/tags/2.8.1/wp-settings.php
wpmu 2.8.2 – july 2009 – memory_limit:64M
http://trac.mu.wordpress.org/browser/tags/2.8.1/wp-settings.php
WP 3.0 – summer 2010 – 128M ?
Fast to read:
about PHP module or CGI
http://www.tuxradar.com/practicalphp/18/6/0
about script weight:
http://www.tuxradar.com/practicalphp/18/6/0
about WP memory
In BP, if a WordPress article visibility is to Private so only site members can see it, its message for non-users is misleading.
It will say “Page Not Found. The page you were looking for was not found.”
Is there a way to have it tell the user the page exists but they must login or join the site to see it? Also, if a page truly doesn’t exist, that page message should remain. Any suggestions? Thank you.
Hello.
My fresh install is on http://auregime.net
WPMU version 2.9.1.1
BuddyPress installation is 1.1.3
Template used is CosmicBuddy
My problem is that i didn’t see any FORUM options anywhere.
On Buddypress forum setup only things showed is:
“Forums Setup
bbPress forum integration in BuddyPress has been set up correctly. If you are having problems you can re-install
NOTE: The forums directory will only work if your bbPress tables are in the same database as your WordPress tables. If you are not using an existing bbPress install you can ignore this message.”
I’m reinstall it, and same message.
On component setup “bbPress Forums” is enabled.
Shoud I install bbpress “alone” somewhere else, or install a extension ? I supose that bbpres is a part of buddypress, isn’t it ?
Thanks for all.
Best rgards.
Topic: BuddyPress Maps
Hi, I’m currently developping a plugin to display and save maps (google maps) in BuddyPress.
The core component allows to save,edit and display markers on a map; and you can use it for your own plugins.
For example, I made a plugin to “attach” a map to a user’s profile,
and i’m working on another one to display a map with all the locations of the users of a group.
demo : http://dev.benoitgreant.be/wordpress-mu/members/admin/profile/public/
You can try to register on this demo site and edit your profile to see how it works.
There are many options to customize the maps; one of them is the “dynamic” parameter (both/static/dynamic).
Both (default) means that the map is displayed as a picture. If you click it, it loads a real map wherin you can move. This should avoid loading to much javacript.
You can also choose the number of markers a map can include,
If titles and descriptions are available for this marker, etc.
I’m also working on the privacy (not yet fully working) : for each marker, the user can choose who (visitor,member or friend) :
-can/can’t see the marker
-if he can see the marker, you can also choose to not display the exact location (it will be a random location at +-150m of the original location). Eg. for a profile location : you can choose that visitors (non registered users) will not be able to see your marker; that a regular member will be able to see it but not the exact location; and that your friends will be able to see the exact point.
In the future, i’ll try to use this to filter query results for geo-location.
Well; I guess there is lot of potential for this one !!!
Would someone help me with this problem? When I activate BP plugin I get the following 500 error. Could it be conflict between BPver 1.1.3 and WPMU ver 2.9.1? :
Error message:
Premature end of script headers: plugins.php
With plugin active or deactive I get the following error when I try to open with BP default theme:
Fatal error: Call to undefined function bp_page_title() in /home/www/wordpresstester.com/mu/wp-content/themes/bp-sn-parent/header.php on line 9
I can delete BuddyPress folder from wp-content/plugins and WPMU install works fine.
Here’s my stats:
Running WPMU version 2.9.1 – new installation
MU installed in subdirectory
WP/MU was functioning properly before installing BuddyPress
Buddy version 1.1.3 – new installation
No other plugins running or installed
standard BP theme
No modifications
No custom functions in bp-custom.php
Not running bbPress
Hosting at efficientsites.com – Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7e mod_auth_pgsql/2.0.3
php version 5.2.6
Hi all,
I am planning to turn a 10 year old but popular spaghetti-coded html/php mishmash of a site into something more, well, current and valid

Starting points:
– The domain is live and currently running on a simple Hostgator account (it is amazing how much traffic that can handle if you are not PHP-heavy).
– I have a Hybrid Server, which has already one other WPMU/BP community running, so I know the basics and have the resources.
– I want to build the new site -stealth- while the old one is still live and then when all seems well and ready, ‘flick the switch’.
Would this be the best practice or am I thinking wrong?:
– Install the new BP on a (temporary) domain on the new server and then populate it while being hidden to Google, regular visitors etc.
– Once everything is working, update MySql to the domain I really want to use.
– Change name servers to point to new server, change HTPPD.conf info for new (old) domain.
– Ready?
Am I missing something here and could you help me with the following:
– What is the best way to populate a ‘live’ (on a public server) site, view/test it online, but keep it hidden/private for non-admins (to prevent copycats, leaking, Google indexing etc)? The ‘privacy settings do no offer this choice? do I need a plugin for that?
– Which way to Chenge the Site url is working best (see http://codex.wordpress.org/Changing_The_Site_URL ), are the 2 ‘defines’ enough currently?
Many thanks for your help,
Cheers, Harry
Hello,
I noticed Buddypress confuses the use of the WP “siteurl” and “home” variables.
The following scenario applies to WPMU 2.9.1.1 and BP 1.2 RC2.
I have moved all my core WPMU files to their own directory instead of the root. This requires me to update the “siteurl” variable to point to those files. The “home” variable still points to the domain. (As recommended in http://codex.wordpress.org/Changing_The_Site_URL)
Meanwhile, in bp-core.php, the bp_core_get_root_domain() description says: “@return $domain The domain URL for the blog.” However, the actual functions return the value of “siteurl” instead of “home.” In this case, “siteurl” is *not* the value of the domain. If I manual edit this core file to make the change the problem goes away.
Otherwise, the result is that some links generated by BP, i.e. adminbar, look like http://domain/wpdir/members instead of http://domain/members (the addition of the <wpdir> folder).
Can this be changed in the next release?
Greetings. I’m not sure if this a WordPress MU or Buddypress question – but in order to avoid duplicate content on my site I think it’s a good idea to remove the post content from the blog page, leaving only the title.
Do you think so, and where do I get into this loop?
Ali