Search Results for 'code'
-
Search Results
-
Topic: Forum could not be created!
WordPress 2.6.2 svn checkout r8849
bbPress trunk svn checkout r1794
I installed WordPress first and that went fine. I logged in and changed my password. Then I went to install bbPress. bbPress installation appeared to go fine. I used simple keys with WordPress so that bbPress wouldn’t choke on them.
I got to the final step and got a message “There were some errors encountered during installation!” and then I checked off “Show messages” to reveal the following:
“Forum could not be created!” (that may have been visible before revealing the messages as well – I can’t recall.)
After that, I tried to access the forum anyway, but I get an error in Firefox3:
Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.
* Have you disabled or blocked cookies required by this site?
* NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.There is no .htaccess in the WordPress directory or in the bbPress directory. bbPress was installed in a subdirectory of WordPress.
/var/www/htdocs/ch/wordpress
/var/www/htdocs/ch/wordpress/forums
Any ideas?
I have wordpress 2.6 and bbpress 1.0 alpha. The bbpres is installed in a subfolder of wordpress instalation. All works very fine. But when I try get access to wordpress funcions I add the following code in the first line of bb-confing: require_once(dirname(__FILE__) . ‘/../wp-blog-header.php’);
After this, when I try to login in the forum, I see a “Page not found” page. If I refresh the page, it appears as if I’m not logged in, but when I am in the blog, I’m logged in.
d\EtH
v;aK&V9;
)L@rZ7-{P~u}~C~”N4O]=Cnw1pl=c2 !6-~b6!VHt9n;>&Tj-That was my AUTH_KEY for WordPress 2.6.2 which was working fine. When I tried to integrate bbPress, it apparently read that key, but on step three of the installer, I saw this error:
http://www.chrishajer.com/bbpress/installer-step-3.png
As you can see, part of that key is displayed there (
&Tj-
) and I suspect it shouldn’t be, and was not being used properly in this case.I wonder if this is why so many people are having log in/log out issues with WordPress integration. I am going to try a plain vanilla key (alphanumeric only) and see how that works.
Hello, I have a little issue with logging in between wordpress and bbpress at my website http://www.ridelegend.com/ & http://www.ridelegend.com/community/
1. When I log in at BBpress it logs me out of WordPress. I can access the BBpress admin page.
2. When I log in at WordPress it logs me in at both WordPress and BBpress, but I cannot log out at BBpress. I can access both the bbpress and WordPress admin panels fine though, and logging out at WordPress works.
I have no plugins active other than akismet. My custom theme is based on the alpha 1 theme, but I modified to match the alpha 2 theme via the list of changes in the tracker. Is this just a glitch with alpha 2 or is there something I can do?
Thank you!
Topic: No avatars show up
Hi.
I recently installed bbPress on my WordPress site here at http://agitainment.com/ics/forum/.
I’ve built a theme based on 1col_fixed 1.1 (I believe it’s kakumei with most of the CSS stripped out). In any case, when I go to my forums I can see my Gravatars and default avatars in kakumei, but when I switch on my theme they disappear.
Is there a php file I’m missing or a block of code somewhere I need to copy over from the kakumei theme to get these to work? If so, where should I put the code?
Thanks!
Hi. This si not a true plugin – just a stupid script for removing “deleted” topics and posts from the DB. Thanks in advance for any feedback.
$link=mysql_connect("host","user","password");
mysql_select_db("database");
//delete topics metadata
$res=mysql_query("SELECT topic_id FROM bb_topics WHERE topic_status>0;") or die(mysql_error());
while($row=mysql_fetch_row($res)) {
mysql_query("DELETE bb_meta.* FROM bb_meta WHERE object_type='bb_topic' AND object_id=$row[0];") or die(mysql_error());
};
mysql_free_result($res);
//delete posts metadata
$res=mysql_query("SELECT post_id FROM bb_posts WHERE post_status>0;") or die(mysql_error());
while($row=mysql_fetch_row($res)) {
mysql_query("DELETE bb_meta.* FROM bb_meta WHERE object_type='bb_post' AND object_id=$row[0];") or die(mysql_error());
};
mysql_free_result($res);
//delete topics & posts
mysql_query("DELETE bb_topics.* FROM bb_topics WHERE topic_status>0;") or die(mysql_error());
mysql_query("DELETE bb_posts.* FROM bb_posts WHERE post_status>0;") or die(mysql_error());
mysql_query("DELETE bb_meta.* FROM bb_meta WHERE meta_key='deleted_posts';") or die(mysql_error());
//some extras - attempt to "correct" autoincrement
$row=mysql_fetch_row(mysql_query("SELECT MAX(topic_id) FROM bb_topics;"));
if($row[0]!="") {
$correct=$row[0];
}
else {
$correct=1;
};
mysql_query("ALTER TABLE bb_topics AUTO_INCREMENT=$correct;") or die(mysql_error());
$row=mysql_fetch_row(mysql_query("SELECT MAX(post_id) FROM bb_posts;"));
if($row[0]!="") {
$correct=$row[0];
}
else {
$correct=1;
};
mysql_query("ALTER TABLE bb_posts AUTO_INCREMENT=$correct;") or die(mysql_error());
$row=mysql_fetch_row(mysql_query("SELECT MAX(meta_id) FROM bb_meta;"));
if($row[0]!="") {
$correct=$row[0];
}
else {
$correct=1;
};
mysql_query("ALTER TABLE bb_meta AUTO_INCREMENT=$correct;") or die(mysql_error());
mysql_close($link);Topic: Problem with rss/topics
Hello,
i have a problem with the rss feed of topics: many topics have only the title displayed, with “1/01” date
why?
Bye
Topic: 1.0 Alpha 2 install issue
Hey, I thought I’d try out the latest 1.0 alpha release (2) but when I go to install I get the following error:
Fatal error: Call to undefined function: bb_glob() in /home/wired/public_html/forums/bb-admin/class-install.php on line 322
Any idea how to fix this? One for the bugs list?