<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: config.php</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: config.php</description>
<language>en</language>
<pubDate>Mon, 13 Oct 2008 12:36:26 +0000</pubDate>

<item>
<title>archasek on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6227</link>
<pubDate>Sat, 31 Mar 2007 10:32:58 +0000</pubDate>
<dc:creator>archasek</dc:creator>
<guid isPermaLink="false">6227@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;code&#62;Warning: Cannot modify header information - headers already sent by (output started at /home/kmr/ftp/forum/config.php:1) in /home/kmr/ftp/forum/bb-includes/pluggable.php on line 166&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;when i login. i don't have print_r funciton.&#60;/p&#62;
&#60;p&#62;edit:&#60;br /&#62;
ok, everything seem to be working ok. thank ya ! :)
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6222</link>
<pubDate>Sat, 31 Mar 2007 04:23:14 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">6222@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I accidentally left a print_r() command in the first upload of the patch. Check line 64 of db-mysli.php, if it has &#60;code&#62;print_r($server);&#60;/code&#62; on it, just remove that line completely.&#60;/p&#62;
&#60;p&#62;print_r() forces output, which may explain the errors. Sorry about that.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6217</link>
<pubDate>Fri, 30 Mar 2007 22:53:22 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">6217@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The error &#34;Warning: Cannot modify header information - headers already sent by&#34; is generally caused by white space before the &#38;lt;?php or after the ?&#38;gt; in a file you edited.  Check for that and I think you will find your problem.&#60;/p&#62;
&#60;p&#62;Thanks Sam for submitting that patch :)
&#60;/p&#62;</description>
</item>
<item>
<title>archasek on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6215</link>
<pubDate>Fri, 30 Mar 2007 21:57:03 +0000</pubDate>
<dc:creator>archasek</dc:creator>
<guid isPermaLink="false">6215@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;ok works, but i have 2 warnings:&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home/kmr/ftp/forum/config.php:1) in /home/kmr/ftp/forum/bb-admin/install.php on line 9&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home/kmr/ftp/forum/config.php:1) in /home/kmr/ftp/forum/bb-includes/functions.php on line 1819&#60;/p&#62;
&#60;p&#62;and 3 when i logout in forum:&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home/kmr/ftp/forum/config.php:1) in /home/kmr/ftp/forum/bb-includes/pluggable.php on line 37&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home/kmr/ftp/forum/config.php:1) in /home/kmr/ftp/forum/bb-includes/pluggable.php on line 37&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home/kmr/ftp/forum/config.php:1) in /home/kmr/ftp/forum/bb-includes/pluggable.php on line 166
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6200</link>
<pubDate>Fri, 30 Mar 2007 18:27:09 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">6200@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You have download your copy of /bb-includes/db-mysqli.php and then put in the parts in GREEN and take out the parts in RED out of this file:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://trac.bbpress.org/attachment/ticket/627/mysqli-connection-port-build788.patch&#34; rel=&#34;nofollow&#34;&#62;http://trac.bbpress.org/attachment/ticket/627/mysqli-connection-port-build788.patch&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>archasek on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6196</link>
<pubDate>Fri, 30 Mar 2007 17:38:46 +0000</pubDate>
<dc:creator>archasek</dc:creator>
<guid isPermaLink="false">6196@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;great, how can i install a patch?
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6195</link>
<pubDate>Fri, 30 Mar 2007 17:20:28 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">6195@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;By the looks of things, mysqli_connect doesn't support the &#34;hostname:port&#34; syntax on remote mysql servers (i.e. other than localhost), but mysql_connect does...&#60;/p&#62;
&#60;p&#62;I've reported this as a bug and submitted a patch here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://trac.bbpress.org/ticket/627&#34; rel=&#34;nofollow&#34;&#62;http://trac.bbpress.org/ticket/627&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>archasek on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6193</link>
<pubDate>Fri, 30 Mar 2007 16:40:50 +0000</pubDate>
<dc:creator>archasek</dc:creator>
<guid isPermaLink="false">6193@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;wordpress:&#60;br /&#62;
define('DB_HOST', 'sql.kmr.nazwa.pl:3305');&#60;br /&#62;
define('DB_NAME', 'kmr');&#60;br /&#62;
bbpress:&#60;br /&#62;
define('BBDB_NAME', 'kmr');&#60;br /&#62;
define('BBDB_HOST', 'sql.kmr.nazwa.pl:3305');
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6192</link>
<pubDate>Fri, 30 Mar 2007 16:29:15 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">6192@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;What do you have in your wp-config for the host and database name in wordpress?&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>archasek on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6191</link>
<pubDate>Fri, 30 Mar 2007 16:16:55 +0000</pubDate>
<dc:creator>archasek</dc:creator>
<guid isPermaLink="false">6191@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;sql.kmr.nazwa.pl:3305 i tried also localhost and host without port defined.&#60;br /&#62;
version of server: 5.0.26-log&#60;br /&#62;
version of mysql: 4.1.11&#60;br /&#62;
&#60;a href=&#34;http://www.kmr.nazwa.pl&#34; rel=&#34;nofollow&#34;&#62;www.kmr.nazwa.pl&#60;/a&#62; - wordpress&#60;br /&#62;
&#60;a href=&#34;http://www.kmr.nazwa.pl/forum&#34; rel=&#34;nofollow&#34;&#62;www.kmr.nazwa.pl/forum&#60;/a&#62; - bbpress.
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6184</link>
<pubDate>Fri, 30 Mar 2007 15:41:05 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">6184@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;What host are you using?    What database version are they setup with?    Have you asked them about it because it should find the available port without actually having it defined in your config as long you just define the hostname or try using localhost.&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>archasek on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6182</link>
<pubDate>Fri, 30 Mar 2007 14:44:05 +0000</pubDate>
<dc:creator>archasek</dc:creator>
<guid isPermaLink="false">6182@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;yeah it is exactly the same syntax. i would like any moderator to answer.&#60;/p&#62;
&#60;p&#62;it's really important for me.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6174</link>
<pubDate>Fri, 30 Mar 2007 13:55:24 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">6174@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It looks like Wordpress uses the same exact syntax for the connection, so, it SHOULD work.  Are you certain the string is exactly the same as the one you have in wp-config.php?  If it works in Wordpress, I think it should work in bbPress.
&#60;/p&#62;</description>
</item>
<item>
<title>archasek on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6164</link>
<pubDate>Fri, 30 Mar 2007 05:26:59 +0000</pubDate>
<dc:creator>archasek</dc:creator>
<guid isPermaLink="false">6164@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;yes, i tried and doesn't -  i get 'Cannot select DB.' . in wordpress it works.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6159</link>
<pubDate>Fri, 30 Mar 2007 03:53:01 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">6159@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sorry, I do not.  Wordpress is like this too with no provision AFAIK for a non-standard port.&#60;/p&#62;
&#60;p&#62;But, I was looking at bb-includes/db.php just now and the mysql_connect function is being used.  That function can user &#60;code&#62;dbservername.com:port&#60;/code&#62; by default according to this page: &#60;a href=&#34;http://www.php.net/function.mysql-connect&#34; rel=&#34;nofollow&#34;&#62;http://www.php.net/function.mysql-connect&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So, in theory, this should work:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;define(&#38;#39;BBDB_HOST&#38;#39;, &#38;#39;blabla.bla.pl:3305&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Did you try that and it does not work?
&#60;/p&#62;</description>
</item>
<item>
<title>archasek on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6143</link>
<pubDate>Thu, 29 Mar 2007 18:55:40 +0000</pubDate>
<dc:creator>archasek</dc:creator>
<guid isPermaLink="false">6143@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;yeah thx for reply but actually im using 3305 unfortunately.. 1337 was only an example.&#60;br /&#62;
so... any idea?
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6137</link>
<pubDate>Thu, 29 Mar 2007 17:52:54 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">6137@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Looking through the source for &#60;a href=&#34;http://trac.bbpress.org/browser/trunk/bb-includes/db-mysqli.php&#34; rel=&#34;nofollow&#34;&#62;http://trac.bbpress.org/browser/trunk/bb-includes/db-mysqli.php&#60;/a&#62; I don't see the provision for setting a port number (someone correct me if it is actually accounted for somewhere else.)&#60;/p&#62;
&#60;p&#62;MySQL normally operates on port 3306, not 1337, so I don't know if you are making up that port or if your host actually runs MySQL on that port.  If he does run MySQL on that port, then I don't know what to do.&#60;/p&#62;
&#60;p&#62;If it's actually port 3306, everything will work fine if you set this in config.php:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;define(&#38;#39;BBDB_HOST&#38;#39;, &#38;#39;blabla.bla.pl&#38;#39;);&#60;/code&#62; with no http and no colon and no port.&#60;/p&#62;
&#60;p&#62;HTH
&#60;/p&#62;</description>
</item>
<item>
<title>archasek on "config.php"</title>
<link>http://bbpress.org/forums/topic/configphp#post-6124</link>
<pubDate>Thu, 29 Mar 2007 16:00:23 +0000</pubDate>
<dc:creator>archasek</dc:creator>
<guid isPermaLink="false">6124@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;my database host is like that:&#60;br /&#62;
blabla.bla.pl:1337&#60;br /&#62;
what do i have to write in my&#60;br /&#62;
define('BBDB_HOST', '');&#60;br /&#62;
?&#60;br /&#62;
if i add blabla.bla.pl:1337 or &#60;a href=&#34;http://blabla.bla.pl:1337&#34; rel=&#34;nofollow&#34;&#62;http://blabla.bla.pl:1337&#60;/a&#62; it doesn't work..
&#60;/p&#62;</description>
</item>

</channel>
</rss>
