<?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 Tag: uniqid</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: uniqid</description>
<language>en</language>
<pubDate>Sat, 10 Jan 2009 00:29:13 +0000</pubDate>

<item>
<title>goranlin on "Cannot create forum"</title>
<link>http://bbpress.org/forums/topic/cannot-create-forum#post-17534</link>
<pubDate>Tue, 22 Jul 2008 19:39:43 +0000</pubDate>
<dc:creator>goranlin</dc:creator>
<guid isPermaLink="false">17534@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thank you very much chrishajer! It worked and I now have a forum on &#60;a href=&#34;http://www.enkelwebbplats.se/forum&#34; rel=&#34;nofollow&#34;&#62;http://www.enkelwebbplats.se/forum&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I am writing a little book in Swedish on how to start a website with WordPress and include bbPress for a discussion forum. The major fault with bbPress is now that is does not work to use Swedish names with diacritic characters like my own, Göran. I have asked for help in this forum before but no solution seems to exist. Strange since many other languages also use such characters and most people are somewhat offended if they cannot use their name if they want. All suggestions how to solve this problem is highly appreciated!
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Cannot create forum"</title>
<link>http://bbpress.org/forums/topic/cannot-create-forum#post-17530</link>
<pubDate>Tue, 22 Jul 2008 16:07:31 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">17530@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Try this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$this-&#38;gt;random_state = microtime() . uniqid(rand(), true);&#60;/code&#62;&#60;br /&#62;
&#38;nbsp;&#60;br /&#62;
The warning is telling you the uniqid needs at least one parameter, so you should give it one.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://us2.php.net/uniqid&#34; rel=&#34;nofollow&#34;&#62;http://us2.php.net/uniqid&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>goranlin on "Cannot create forum"</title>
<link>http://bbpress.org/forums/topic/cannot-create-forum#post-17525</link>
<pubDate>Tue, 22 Jul 2008 15:51:09 +0000</pubDate>
<dc:creator>goranlin</dc:creator>
<guid isPermaLink="false">17525@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I changed line 42 into&#60;br /&#62;
		$this-&#38;gt;random_state = microtime() . uniqid();&#60;br /&#62;
but now get this warning:&#60;br /&#62;
Warning: uniqid() expects at least 1 parameter, 0 given in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php on line 43&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php:43) in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/pluggable.php on line 188&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php:43) in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/pluggable.php on line 228&#60;/p&#62;
&#60;p&#62;I am still not getting it working! Please help!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Cannot create forum"</title>
<link>http://bbpress.org/forums/topic/cannot-create-forum#post-17522</link>
<pubDate>Tue, 22 Jul 2008 15:08:02 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">17522@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This was discovered by someone else here:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/getmypid-often-disabled-on-shared-hosting-systems&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/getmypid-often-disabled-on-shared-hosting-systems&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Apparently getmypid is disabled on some hosts for security and your host may have turned it on suddenly or after an automated upgrade.
&#60;/p&#62;</description>
</item>
<item>
<title>goranlin on "Cannot create forum"</title>
<link>http://bbpress.org/forums/topic/cannot-create-forum#post-17520</link>
<pubDate>Tue, 22 Jul 2008 14:39:52 +0000</pubDate>
<dc:creator>goranlin</dc:creator>
<guid isPermaLink="false">17520@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I am trying to create a forum but get several warning messages. When creating the forum:&#60;/p&#62;
&#60;p&#62;Warning: getmypid() has been disabled for security reasons in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php on line 43&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php:43) in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/functions.php on line 2258&#60;/p&#62;
&#60;p&#62;The forum was created but I cannot log in. When attempting to log in:&#60;/p&#62;
&#60;p&#62;Warning: getmypid() has been disabled for security reasons in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php on line 43&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php:43) in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/pluggable.php on line 188&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/class-phpass.php:43) in /data/members/paid/e/n/enkelwebbplats.se/htdocs/www/forum/bb-includes/pluggable.php on line 228&#60;/p&#62;
&#60;p&#62;I have succesfully created a forum at the smae host earlier. I erased all database tables and all bbP-files and started fresh. But no success.&#60;/p&#62;
&#60;p&#62;I do not understand what is happening. Please help!
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "getmypid() - often disabled on shared hosting systems"</title>
<link>http://bbpress.org/forums/topic/getmypid-often-disabled-on-shared-hosting-systems#post-17345</link>
<pubDate>Wed, 16 Jul 2008 18:40:39 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">17345@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You can create a new ticket after logging in here:&#60;br /&#62;
&#60;a href=&#34;http://trac.bbpress.org/&#34; rel=&#34;nofollow&#34;&#62;http://trac.bbpress.org/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>i_xiter on "getmypid() - often disabled on shared hosting systems"</title>
<link>http://bbpress.org/forums/topic/getmypid-often-disabled-on-shared-hosting-systems#post-17336</link>
<pubDate>Wed, 16 Jul 2008 04:47:29 +0000</pubDate>
<dc:creator>i_xiter</dc:creator>
<guid isPermaLink="false">17336@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sorry, I dont know about the TRAC thing. Just explain and i will stick it up there.&#60;br /&#62;
BTW .. isnt there a PM system within bbpress ?
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "getmypid() - often disabled on shared hosting systems"</title>
<link>http://bbpress.org/forums/topic/getmypid-often-disabled-on-shared-hosting-systems#post-17335</link>
<pubDate>Wed, 16 Jul 2008 04:05:44 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">17335@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Oh wow I wonder when they slipped that in. Good find.&#60;br /&#62;
I bet it's just copied from the WordPress code.&#60;/p&#62;
&#60;p&#62;If you know how, you might want to stick that into TRAC (and if you have the time, check WordPress and it's TRAC too)
&#60;/p&#62;</description>
</item>
<item>
<title>i_xiter on "getmypid() - often disabled on shared hosting systems"</title>
<link>http://bbpress.org/forums/topic/getmypid-often-disabled-on-shared-hosting-systems#post-17333</link>
<pubDate>Wed, 16 Jul 2008 03:21:13 +0000</pubDate>
<dc:creator>i_xiter</dc:creator>
<guid isPermaLink="false">17333@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;In bb-includes/class-phpass.php on line 43, bbpress uses getmypid() to create the randomstate for password hashes.&#60;br /&#62;
On shared hosting systems, getmypid() is disabled very often.&#60;br /&#62;
I  replaced it with uniqid(), and bbpress didnt throw the WARNING anymore.&#60;br /&#62;
getmypid() does not return a unique value in all cases. Especiall when PHP is running as an apache module in shared hosting sytems. Also for this reason its much better to use uniqid().&#60;br /&#62;
uniqid() gives a 13 digits value. uniqid('', true) even 23 digits. I think this should be good enough for the randomstate. ;)&#60;/p&#62;
&#60;p&#62;Please consider to use uniqid() in future versions of bbpress.&#60;/p&#62;
&#60;p&#62;thx for your attention&#60;br /&#62;
ix
&#60;/p&#62;</description>
</item>

</channel>
</rss>
