Search Results for '"wordpress'
-
AuthorSearch Results
-
April 8, 2008 at 4:45 am #63980
In reply to: bbpress 0.9.0.1 > 30 queries per page
Sam Bauers
ParticipantI can only give you a vague idea of loads we experience in our environments. They aren’t exactly standard setups.
On WordPress.com the forums are served by the same infrastructure as the blogs. The forums don’t really make a dent in the load on that setup (hundreds of servers). Average of all queries is about 45 queries per second, over 90% of this is handled by MySQL query cache.
WordPress.org and bbPress.org are run from the same cluster which has three active load-balanced web servers and two database servers (one for writing and one for reading). The majority of the database load on this cluster is reads initiated by the forums and to a lesser extent reads initiated by the WordPress Codex (MediaWiki). Average load is about 700 reads per second, about 80% of those reads are cache hits.
Most of our servers have 2GB of RAM and 4 processor cores. Some DB servers might have more RAM. But there is nothing particularly special about the hardware otherwise. Pretty much the same as you would rent from a dedicated server provider.
April 8, 2008 at 3:30 am #63829In reply to: Pretty Permalinks on Debian VPS Server
_ck_
ParticipantYour bbpress htaccess in /forum/ looks fine EXCEPT for what I hope is just a manual typo
<ifmodule mod_rewrite.c>
case matters in htaccess if I recall correctly
It should be
<IfModule mod_rewrite.c>
note the IfModule
(eta: the apache manual does say “Directives in the configuration files are case-insensitive” but give it a shot anyway – bbPress doesn’t generate it like that so I am not sure why it’s lower case in your setup?)
If changing that does nothing, the htaccess in the webroot that runs wordpress is also bit messy and my bet would be it’s got rules conflicting with bbpress’s
Is your site active or can you temporarily rename/delete the htaccess in the webroot and see if suddenly the bbpress slugs start working correctly? MAKE SURE YOU BACKUP THE FILE FIRST.
ps. next time use something like pastebin.com for that long of a copy/paste and just post the link
April 8, 2008 at 12:01 am #64063In reply to: How To Make WordPress Integration a LOT Easier
charleyramm
MemberI agree. Simple integration is great, but not actually very simple yet.
April 7, 2008 at 11:00 pm #63828In reply to: Pretty Permalinks on Debian VPS Server
serimu
Memberthanks for your reply, I am sending my httpd.conf, and htaccess files for wordpress and bbpress. Im also using gallery2 which is located at /somegalleryfolder. I use a plugin to integrate it with wordpress. But it has no problem, before or after I moved to the new vps. Bbpress is located at /forum folder. And its htaccess is contains only the code generated by bb-admin/rewrite-rules.php
I found my httpd.conf file, I dont know whether there is a security issue to put it here or not. But I hope it give you some idea about what could be problem:
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
ServerRoot “/etc/httpd”
Listen 80
#LoadModule php4_module /usr/lib/apache/libphp4.so
LoadModule php5_module /usr/lib/apache/libphp5.so
#LoadModule suphp_module /usr/lib/apache/mod_suphp.so
LoadModule php5_module /usr/lib/apache/libphp5.so
User apache
Group apache
ServerAdmin admin@localhost
DocumentRoot “/var/www/html”
<Directory /home/*>
AllowOverride All
Options +MultiViews -Indexes +FollowSymlinks +IncludesNoExec +Includes
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<Directory />
Options All
AllowOverride All
</Directory>
<Directory “/var/www/html”>
Options +Indexes +FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
<IfModule mod_suphp.c>
suPHP_Engine On
suPHP_UserGroup webapps webapps
</IfModule>
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi
</IfModule>
<FilesMatch “^.ht”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
ErrorLog /var/log/httpd/error_log
LogLevel warn
<IfModule log_config_module>
#replace %b with %O for more accurate logging
<IfModule mod_logio.c>
LogFormat “%h %l %u %t “%r” %>s %O “%{Referer}i” “%{User-Agent}i”” combined
LogFormat “%h %l %u %t “%r” %>s %O” common
LogFormat “%O” bytes
LogFormat “%h %l %u %t “%r” %>s %b “%{Referer}i” “%{User-Agent}i” %I %O” combinedio
</IfModule>
CustomLog /var/log/httpd/access_log common
</IfModule>
<IfModule alias_module>
# Include some DirectAdmin alias
Include conf/extra/httpd-alias.conf
</IfModule>
<Directory “/var/www/cgi-bin”>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
DefaultType text/plain
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-gzip .tgz
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType video/x-ms-asf .avi
AddType video/mpeg .mpg
AddType video/mpeg .mpeg
AddType video/quicktime .mov
AddType video/x-ms-wmv .wmv
</IfModule>
#EnableMMAP off
#EnableSendfile off
#######################################################################################
# Do not change anything in included files, because they are rewritten by DirectAdmin #
#######################################################################################
# This is needed for PHP
Include conf/extra/httpd-php-handlers.conf
# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf
# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Language settings
Include conf/extra/httpd-languages.conf
# User home directories
#Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
# Deflate module settings
Include conf/extra/httpd-deflate.conf
# All the DirectAdmin vhosts
Include conf/extra/directadmin-vhosts.conf
# All suPHP directives
Include conf/extra/httpd-suphp.conf
# All the other includes needed by the custombuild script
Include conf/extra/httpd-includes.conf
#######################################################################################
# End of included files that are rewritten by DirectAdmin #
#######################################################################################
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
and this is my wordpress .htaccess file, it is in root folder for the domain
php_value upload_max_filesize "50M"
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery_remote2.php
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . – [L]
RewriteCond %{QUERY_STRING} view=core.DownloadItem
RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9+.-]+
/www.domain.com/ [NC]
RewriteCond %{HTTP:Referer} !^$
RewriteRule . /wp-gallery2.php [F,L]
RewriteCond %{QUERY_STRING} g2_view=core.DownloadItem
RewriteCond %{QUERY_STRING} g2_itemId=([0-9]+)
RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9+.-]+
/www.domain.com/ [NC]
RewriteCond %{HTTP:Referer} !^$
RewriteRule . /galery/main.php?g2_view=rewrite.DownloadItem&g2_itemId=%1 [L]
RewriteCond %{THE_REQUEST} /sitemap(?.| .)
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . /wp-gallery2.php?g2_view=sitemap.Sitemap [QSA,L]
RewriteCond %{THE_REQUEST} /tags(?.| .)
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . /wp-gallery2.php?g2_view=tags.TagCloud [QSA,L]
RewriteCond %{THE_REQUEST} /admin/(?.| .)
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . /wp-gallery2.php?g2_view=core.SiteAdmin [QSA,L]
RewriteCond %{THE_REQUEST} /comments/add/([0-9]+).html(?.| .)
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . /wp-gallery2.php?g2_view=comment.AddComment&g2_itemId=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /comments/([0-9]+).html(?.| .)
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . /wp-gallery2.php?g2_view=comment.ShowAllComments&g2_itemId=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /([^?]+)/slideshow.html(?.| .)
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . /wp-gallery2.php?g2_view=slideshow.Slideshow&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /photo/([^?]+)(?.| .)
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . /wp-gallery2.php?g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /([^?/]+)(?.| .)
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . /wp-gallery2.php?g2_view=tags.VirtualAlbum&g2_tagName=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /([^?]+)(?.| .)
RewriteCond %{REQUEST_URI} !/wp-gallery2.php$
RewriteRule . /wp-gallery2.php?g2_controller=permalinks.Redirect&g2_filename=%1 [QSA,L]
</IfModule>
# END Url Rewrite section
#
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule .* http://www.domain.com/ [L,R=301]
RewriteCond %{THE_REQUEST} ?(ref=.*)? HTTP [NC]
RewriteRule .? http://www.domain.com%{REQUEST_URI}? [R=301,L]
RewriteCond %{THE_REQUEST} ?(referer=.*)? HTTP [NC]
RewriteRule .? http://www.domain.com%{REQUEST_URI}? [R=301,L]
Redirect /x/ http://www.domain.com/y/
Redirect /a/ http://www.domain.com/b/
and this is bbpress .htaccess located on /forum folder, and my bbpress is also located on /forum. And I dont call wordpress from bbpress and I dont call bbpress from wordpress. I use integration method expressed in faq section of bbpress documents. And my setup was working before I moved to the new vps.
<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /forum/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([0-9]+)$ /forum/forum.php?id=$1 [L,QSA]
RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /forum/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([0-9]+)$ /forum/topic.php?id=$1 [L,QSA]
RewriteRule ^tags/(.+)/page/([0-9]+)$ /forum/tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/(.+)/?$ /forum/tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /forum/tags.php [L,QSA]
RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /forum/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)$ /forum/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /forum/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([0-9]+)$ /forum/profile.php?id=$1 [L,QSA]
RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /forum/view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([a-z-]+)$ /forum/view.php?view=$1 [L,QSA]
RewriteRule ^rss/$ /forum/rss.php [L,QSA]
RewriteRule ^rss/forum/([0-9]+)$ /forum/rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([0-9]+)$ /forum/rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([a-z]+)$ /forum/rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([0-9]+)$ /forum/rss.php?profile=$1 [L,QSA]
</ifmodule>
April 7, 2008 at 7:15 pm #63942In reply to: WordPress cookie secret key – why don’t I have one?
snoon
MemberI don’t have one either. And I am totally perplexed as to where you found documentation about creating one. My wp-config has no such animal and my bbpress install is blocked. I’m stopped until I get my mind around this one. HELP!
Scott
April 7, 2008 at 4:40 pm #3120Topic: Username set as “admin”
in forum Troubleshootingbradsucks
ParticipantSince I upgraded to 0.9.0.1 and WordPress 2.5 my username in bbPress (which is integrated with WordPress) shows up in bbPress as “admin” instead of “Brad”. Is there any easy way to fix this?
My guess is that bbPress is using user_login instead of user_nicename or display_name in the wp_users table. As user_login and user_nicename for my user record are both set to “Brad” but user_login is “admin”.
April 7, 2008 at 2:11 pm #63865In reply to: bbPress 0.9.0.1 released
txmom
MemberI have a new wordpress site which is the new 2.5. I’ve uploaded the new bbpress but when I go to install by visiting the url I get redirected to xxx/bb-admin/install.php/ which comes up as page not found (which ends up at the wordpress 2.5 home page).
I notice that install.php is now in the plug-in folder so tried
xxx/bb-plugins/bb-admin/install.php
and get:
Warning: main(../bb-load.php): failed to open stream: No such file or directory
Fatal error: main(): Failed opening required ‘../bb-load.php’ (include_path=’.:/usr/local/PEAR’)
both on line 9
Suggestions, some little thing I’m doing wrong?
Thanks!
April 7, 2008 at 12:51 pm #63827In reply to: Pretty Permalinks on Debian VPS Server
_ck_
ParticipantLet’s put it this way – bbPress is running with slugs and rewrite rules on literally thousands of servers, so the problem is likely your setup, not necessarily bbPress.
mod_rewrite should be virtually 100% internal to apache and not really depend on the OS/filesystem underneath but there’s always a chance for something to be interfering.
If you are using the
bb-admin/rewrite-rules.php
in your htaccess and you have slugs turned on and it doesn’t work, then I would bet that you have another mod_rewrite rule somewhere that is conflicting, either in the same htaccess file or in a directory above it. Do NOT use multiviews. I cannot help you if you are using multiviews.I need much more information, like your htaccess file, and any htaccess file in directories above your forum. Is bbpress running in /forums/ or in the webroot (ie. / )
Also are you running wordpress at the exact same time as bbpress? I don’t mean standalone integration, I mean loading within each other. Because I am not sure how that would be handled and I never recommend it.
April 7, 2008 at 12:06 pm #63826In reply to: Pretty Permalinks on Debian VPS Server
serimu
MemberI had godaddy hosting when I was setting up this forum. And it did not worked for permalinks. I moved to another shared hosting, and it worked. Now my website gets more traffic and I moved to a vps. But although I can change every setting on my vps, I dont know what to do. And technical stuff also did not know anything about the problem.
I used mod_rewrite rules in my previous hosting, and I use it for now, but it does not work. Forum is opening, but links are not working.
On godaddy, the mod_rewrite was also working for wordpress, and it also works for my vps. I think bbpress has some problem with those rewrite rules. Do I have to move back to shared hosting, which I dont want to do so, after I saw how fast my website is on a vps.
April 7, 2008 at 11:40 am #63711In reply to: Integrated registrations
Covi
MemberI have troubles too with cookies, login inconsistent between WordPress and BBpress:
Login on WordPress -> Log out on BBpress and vice versa
PD: Until the latest version, with the hack for 0.83, this was working fine
Web example: http://www.laguardiadejaen.com/web/
April 7, 2008 at 10:19 am #63979In reply to: bbpress 0.9.0.1 > 30 queries per page
_ck_
ParticipantThe bb->load_options = true brought the load of the cpu to 5 times that of the one with 30+ queries but I guess that comes from not having that many topics in the newly installed Db so I really don’t know what to make of this.
Turn on (or increase) your mysql caching. It’s fairly obvious you are running either without any or not enough of it if you can detect any load increase with load_options=true. The query to load all options would be exactly the same across all instances for all users and mysql would pick up on that immediately and keep it in the cache, always. At least that’s what happens on my installs. I don’t have a site with 50k views a day but I have a 0.8.2.1 version with 15k views a day and it runs very fast.
Also make sure you use a php opcode cache like eaccelerator, xcache, etc. Best thing you can do for bbPress or WordPress.
0.9 of bbPress is not some kind of radically different change since 0.8 – there are many bug fixes and a few features added but the db calls are almost identical (some plugins however can be sloppy about not caching queries so that can cause issues).
Try my bb-benchmark if you want to see what happening behind the scenes for each page generated.
April 7, 2008 at 9:35 am #3150Topic: require_once(‘path/to/wp-blog-header.php’);
in forum Troubleshootingpulk99
Memberat http://bbpress.org/documentation/integration-with-wordpress/ it says:
bbPress will not have access to WordPress’ functions unless you manually tell bbPress to load WordPress first. In order to do that, you need to put require_once(‘path/to/wp-blog-header.php’); in bbPress’ bb-config.php (wp-blog-header is in the same directory as WordPress’ wp-config.php file).
but if I do this, I can’t enter the admin area any more, cause, the relative path to the wp-blog-header.php isn’t right anymore. I can’t use the full url because of: URL file-access is disabled in the server configuration.
April 7, 2008 at 8:40 am #56984In reply to: bbpress / wordpress avatar?
affacat
Memberdoes this still work for latest versions (2.5, 9.0.1)?
April 7, 2008 at 7:15 am #63936In reply to: getting forum to show up on wordpress page
Sam Bauers
ParticipantIt is probably less work to use bbPress than using other forum software if your intention is to re-skin to match your blog. You can actually “load” WordPress inside bbPress (check the documentation), but there is a definite performance penalty in doing that.
The best performance choice is to integrate your user tables and auth cookies. Then skin your forum to match your blog, but don’t “load” WordPress into bbPress unless you intend to use WordPress functions inside bbPress quite extensively.
You will probably find the exercise of skinning your bbPress install quite simple compared to other forum software. The templating system is similar to WordPress, so it will be a familiar environment if you have done that before.
April 7, 2008 at 7:03 am #63976In reply to: bbpress 0.9.0.1 > 30 queries per page
Sam Bauers
ParticipantWe have been running revisions which are only slightly older than 0.9.0.1 at WordPress.org and WordPress.com for a while now without fault.
April 7, 2008 at 4:27 am #63935In reply to: getting forum to show up on wordpress page
Tommie Hansen
MemberWhy would anyone want the forum separated and have to do 2x the more work to redesign it all over? …
Integrating it fully in WP should be #1. Else one can use any other forum or just go with WP-united? …
April 6, 2008 at 3:49 pm #3146Topic: How To Make WordPress Integration a LOT Easier
in forum Requests & Feedbackcharliestout
MemberCan we not just give bbPress the URL of our WordPress installation, and have it make a best guess as to the location of the wp-config.php file, and then let it read all that databasey stuff out of there?
Seems like it would take a LOT fewer steps to get bbPress integrated with WordPress this way.
April 6, 2008 at 1:27 pm #63934In reply to: getting forum to show up on wordpress page
gswaim
Participantsilent1643,
You can’t just drop bbPress onto a blog page. bbPress is a totally separate installation and you have to link to it from your blog. You have to modify the bbPress templates to make it look like your blog. If this is done well, the user doesn’t realize they are jumping between two different programs.
mitheor
MemberHi,
For some reason I can’t see at the moment, comments made on bbpress don’t show up in their respective posts in wordpress, but the comment count does reflect them. I tried deactivating all my plugins and changing the template just in case, but the problem persists.
No comments appear at all in WordPress in posts shared between forum and blog, but they appear correctly in bbpress. Older posts not in bbpress are not affected.
I’m using bbpress 0.9, last build of bbsync and WordPress 2.5. Ideas?
Thanks in advance
April 6, 2008 at 6:20 am #64059In reply to: Site7 theme for wordpress and bbpress
RoseCitySister
MemberBeautiful!
April 6, 2008 at 3:13 am #3143Topic: Site7 theme for wordpress and bbpress
in forum Themesso1o
Participanthere is my latest theme
http://www.adityanaik.com/forums/
the site has a working integration of wp 2.5 and bb 0.9
April 6, 2008 at 12:55 am #3141Topic: Getting Not Found error
in forum Troubleshootingstuzog
ParticipantI’ve installed bbPress 0.9.0.1 in a WordPress 2.5 site. It works for a while then when I try to access a topic I get:
Not Found
Sorry, but you are looking for something that isn’t here.
and the theme displayed is that of the WordPress blog. After that, only the bbPress front page is useable.
April 6, 2008 at 12:42 am #63817In reply to: Broken integration with wp 2.5?
Sam Bauers
Participant@ Nosgroth
The functionality you describe is not available in bbPress/WordPress without plugins. You probably need to report this problem to the plugin author (I’m guessing bbSync).
April 5, 2008 at 9:21 pm #63816In reply to: Broken integration with wp 2.5?
nosgoroth
MemberI guess I’ll use this post.
For some reason I can’t see at the moment, comments made on bbpress don’t show up in their respective posts in wordpress, but the comment count does reflect them. I tried deactivating all my plugins and changing the template just in case, but the problem persists.
I’m using bbpress 0.9 and WordPress 2.5. Ideas?
EDIT: Ah, it’s worse than that. No comments appear at all in WordPress in posts shared between forum and blog, but they appear correctly in bbpress. Older posts not in bbpress are not affected. Sigh, my head hurts. Sleeping may be a good idea.
April 5, 2008 at 7:35 pm #63995In reply to: database error
chrishajer
ParticipantSat Apr 5 19:34:26 UTC 2008
I am getting a 500 error now, so maybe you’re working on it? I was going to see what version bbPress and WordPress you are running.
-
AuthorSearch Results