chrishajer (@chrishajer)

Forum Replies Created

Viewing 25 replies - 3,651 through 3,675 (of 4,477 total)
  • @chrishajer

    Participant

    You can edit your post for a fixed period of time, but I think that time has expired. I tagged the thread modlook so a moderator can edit it.

    In reply to: Using RSS Feeds

    @chrishajer

    Participant

    I’ve heard of this problem recently but have not seen a solution.

    https://bbpress.org/forums/topic/rss-result-is-empty#post-13571

    I thought I saw something regarding RSS checked into the code around revision 1044 – 1046 so maybe it’s fixed in development:

    https://trac.bbpress.org/changeset/1045

    In reply to: Error

    @chrishajer

    Participant

    There are lots of people out there who know how to fix it.

    I think the problem you are having related to glob() is fixed in revsion 1075. I would download that as a zip archive. It works around the fact that glob is not available on some servers.

    You can download any revision you want right here (look at the bottom of the page for zip archive and download that, when you find r1075.)

    https://trac.bbpress.org/

    There is a quick fix also:

    https://bbpress.org/forums/topic/php-error-messages#post-13143

    @chrishajer

    Participant

    What do you mean by dump? It doesn’t look like there’s anything there to save, so I would drop the tables and start over by letting WordPress and bbPress create new tables in the database with the proper (different) table prefixes (from your configs.)

    @chrishajer

    Participant

    Interesting…

    I don’t know why it would redirect to the home page vs. giving you a failed login attempt. I registered, received my email, tried logging in, and it seemed like it just redirected to the front page of the forum again.

    Is the WordPress installation going to be here:

    http://www.johnwade.ca/puppyplaydate/ ?

    If so, with integration, the bbPress installation should be here then (I believe):

    http://www.johnwade.ca/puppyplaydate/Forums/

    but it’s actually here:

    http://www.johnwade.ca/Forums/

    I wonder if the cookie path is wrong and that prevents bbPress from setting the proper cookie and thus thinks you’re not logged in, or that you logged back out since there is no valid cookie?

    I checked the cookies that were set and I have a cookie path of /puppyplaydate/ for wordpressuser and wordpresspass. I would expect the cookie path to be /Forums/ with this setup.

    As a test, I just stopped accepting cookies for my site (integrated with WordPress as well), then tried logging in. If I tried to log in while I was viewing a forum, it just silently redirected me to the forum home page. This seems like confirmation that it’s a cookie issue at this point. I can make mine do what yours is doing.

    If I set the 2 cookies manually in Firefox, I am logged in! Check this out:

    Screenshot of me logged into your forum:

    http://www.chrishajer.com/bbpress/ppd-profile.png

    Screenshot of the cookies I manually set (note path /Forums/):

    http://www.chrishajer.com/bbpress/ppd-cookies.png

    Here is the response from your server where it tries to set the cookies with a path of /puppyplaydate/:

    http://www.chrishajer.com/bbpress/ppd-response.txt

    HTH

    @chrishajer

    Participant

    What actually happens when you try to login and post? Can you post the URL where this is occurring? It’s hard to guess why you can’t login and post without seeing the actual error you’re getting (if you posted the error previously, sorry, I missed it.)

    @chrishajer

    Participant

    Did you clear out the user in WordPress and start over by creating a new user? Did you reinstall WordPress as well? I wonder if any modification were made by bbPress to the WordPress tables when you tried to install bbPress with the same table prefix for both bbPress and WordPress.

    Can you try just logging in as a user, or registering a new user, then logging in? Does that work, and does the forum work, it’s just that you can’t access bb-admin directly?

    @chrishajer

    Participant

    I believe that is due to the language files. Look here for more info:

    https://bbpress.org/forums/topic/latest-wordpress-038-bbpress-in-another-language

    It looks like your site is in Portuguese, but maybe this Spanish thread will be useful:

    https://bbpress.org/forums/topic/en-espanol

    @chrishajer

    Participant

    In your config.php, you should start with mod_rewrite being false. I suspect you have it set to true or slugs, and that is creating problems for you as well.

    $bb->mod_rewrite = false;

    That should take care of the bb-admin issue, unless you are currently logged in and NOT a keymaster or admin. If you are logged in as a regular member and try to access the admin page, I believe you are directed to the bbPress installation instead of admin.

    UPDATED INFO after thinking about it: It’s also possible that this redirection is occurring because the creation of tables and modification of tables did not go well, and it’s not reading your user information properly and it does not know you are keymaster with access to bb-admin.

    Regarding the SQL errors, is it possible your WordPress installation already used ppd_ as a table prefix, and then you used it in your config.php for the bbPress table prefix as well? If that’s the case, the errors are because it is trying to create tables that already exist or modifying tables with the wrong names. From the snippet of config.php you posted earlier, you showed $bb->wp_table_prefix = 'playdate_'; but also ppd_ in the line below (the ‘for example’ part), and the errors here show ppd_ as the table prefix. Oddly enough, there are some errors with just ppd and no underscore as the table prefix as well.

    Seems like it’s a combination of configuration things at this point. Maybe the $bb_table_prefix was set to the same thing as the $bb->wp_table_prefix with the exception of the underscore (so, ppd vs. ppd_). That info doesn’t agree with the piece of the config.php you posted though where you said $bb->wp_table_prefix = 'playdate_';

    I suspect the whole picture has not been posted since you’re working on it and trying things and then you make a change and the old information no longer applies.

    Right now, you have the database connection issue figured out. You should be using different table prefixes for wordpress and bbpress: wp_ and bb_ are the defaults. In the bbPress config.php, the $bb->wp_table_prefix should be the same as whatever it is in your wp-config.php and THAT should be different from the bbPress table prefix, set earlier in the config.php at $bb_table_prefix.

    @chrishajer

    Participant

    Yes, absolutely on the localhost issue. I always have to change that since my database is on a different server. What DB_HOST is used in the WordPress wp-config.php? If you are using the same database, user and password, but with different tables, then the BBDB_HOST and DB_HOST should be the same value in both files. Whatever you are using in WordPress you need to use in bbPress since you mentioned previously that you were going for an integrated install.

    Very simply, the DB_HOST and BBDB_HOST are just machine names where the database lives. If the database (MySQL) is on the same machine as your web server, then localhost is appropriate. If it’s on another host, then you need to enter the publicly accessible name of that host, like mine is always something like db1234.perfora.net. That machine exists on the Internet, and MySQL connections to it are done via port 3306 by default (you don’t need to tell it to do that.)

    Once this database connection issue is resolved, I think there is still going to be the error with the bb_walker stuff…

    @chrishajer

    Participant

    The db connection problem is a most certainly a problem with the information in config.php. If you can post your config.php , someone might be able to help. When you edit the details, be sure to edit carefully, or maybe just change one character rather than trying to obliterate the whole db name, user, password or host. Something could be lost in your editing.

    On second thought, it’s not going to help much to post the config.php because it’s not that there are syntax errors, it’s a problem with the details. Posting the config with the details there or not will not help to debug it.

    Did you cut and paste the whole section from the wp-config.php? Did you change the name of the constants from DB_NAME and DB_whatever to BBDB_NAME and BBDB_whatever for use with bbPress?

    Also, are you trying to use a port or socket with the db connection?

    @chrishajer

    Participant

    Maybe a template is calling that function in lowercase, but it’s been changed to uppercase in the source? Are you using a template other than kakumei? Or any plugins? I would try with the default template and no plugins if nothing else seems to be working.

    @chrishajer

    Participant

    This error points to a problem in the config file:

    Parse error: parse error in /home/cust2/user1080446/html/bbpress/config.php on line 4

    Line 4 is the first line of the database config stuff, starting with database name. This error was not mentioned previously by you and maybe there is a new problem there.

    The bb_walker error is interesting. In your error message, it’s lower case, but in the source, it appear like this, with some uppercase: BB_Walker_ForumAdminlistitems and BB_Walker. Not sure if that’s a typo in the source or a problem with the upload or something else.

    My guess is that it’s used in lowercase for the function call, and it’s defined in uppercase, which doesn’t work, I don’t think. I’ve had that happen before when the development of a plugin or function is developed on a Windows machine where the case does not matter, and it’s loaded onto a Linux server where the case does. Maybe it’s something like that?

    Looks like your server is Linux, so case matters there.

    This is not a comforting note from the trunk: backPress: BOOM! this will break *everything*

    Did you download the 0.8.3.1 release or a trunk release? I am fairly certain trunk is broken right now, but 0.8.3.1 should work. There was a post from sambauers here about a month ago saying that r980 was the best version to try:

    https://bbpress.org/forums/topic/broken-profiles-for-users-with-spaces-in-the-names?replies=5#post-12769

    bbPress is in flux right now. It’s not normally anywhere near this difficult to get up and running. Sorry for the troubles.

    @chrishajer

    Participant

    That Cannot select DB error is most definitely a database connection error. Your connection details before were fine. I imagine once you get the connection details right here, you will be back to the original error. It would be weird if just downloading it again and reinstalling would have helped (unless the download or FTP upload was corrupt or something.)

    @chrishajer

    Participant

    That’s not a database connection error at all, and I haven’t see it before. What version bbPress did you install and what is your server setup?

    In reply to: add a link

    @chrishajer

    Participant

    Just put what ever sort of link you want (button, image, text link) in whatever page template you want the link to appear in. Just edit the proper template (maybe header.php) and put something like this in it where you want the link to appear (maybe near the login form around line 36 in the 0.8.3.1 release):

    <a href="http://www.server.com/blog/" title="return to blog">Return to Blog</a>

    @chrishajer

    Participant

    Sounds like a local DNS issue:

    http://drupal.org/node/1155

    Of course, Google knows more about it that I do too:

    http://www.google.com/search?q=sendmail+%22stat%3DData+format+error%22

    @chrishajer

    Participant

    A lot of times the 404 at Google Webmaster Tools is temporary. Have you tried it again?

    @chrishajer

    Participant

    I use http://www.1and1.com and have for the past 4 years or so, since their 3-year free preview began. You will find lots of negative things online about 1&1 if you look around, but honestly, I haven’t had any major issues with them. I did have a problem at one point with the box they had me on being overloaded, and it took some work to convince them that the problem was some other site dragging the whole box down, but since they moved that site (or my account, I’m not sure which) things have been great. Convincing support to escalate a ticket is sometimes difficult, but if you know what you’re talking about, they do it. They always follow up via email as well. I have called for things and been on hold, but I don’t know of a hosting company out there where that won’t happen occasionally. Thankfully, I haven’t had to call them much in 4 years.

    They have been rock solid reliable for me, and I have never had a problem with email delivery. MySQL, Perl, PHP4 and 5 all included on a shared Linux server.

    I also have two root servers with them which I’m entirely happy with.

    @chrishajer

    Participant

    Or, just turn off permalinks in your config.php:

    $bb->mod_rewrite = false;

    At least at that point, things would work for you.

    @chrishajer

    Participant

    That’s a good idea: if a host can offer it pre-installed, it would definitely increase usage. We’d need to get it to a pretty stable point before doing that though.

    In reply to: bbpress on flat-file

    @chrishajer

    Participant

    I think installing PHP and MySQL on localhost is beyond the scope of the bbPress support forums. Looks like you already found this:

    http://us2.php.net/mysql

    It would be less stressful to just get a hosting account that already supports those PHP and MySQL, then install bbPress there. Then the site can be Internet accessible as well.

    Regarding flat file forum software:

    myUPB

    PBLang

    I don’t have experience with any of those, just found them at http://www.opensourcecms.com/

    You could also use a hosted solution like Yahoo! Groups or something like that.

    @chrishajer

    Participant

    It is most certainly a problem with the details you have entered for the database. One of the four items is incorrect: that is precisely what the Cannot select DB error is telling you.

    I can help you off list of you would like to contact me (check my profile for a website where you will find contact information.) I will need access to the config.php and your Dreamhost control panel to see the database details.

    @chrishajer

    Participant

    Posting an edited config will not help in this case. The error you have is because it cannot connect to the database, and the only way for someone to verify that would be to see your database connection details. Are you certain the database name, username, password and host are all absolutely correct? Do you use that same database elsewhere (like for WordPress maybe) where you can verify things are entered exactly the same in both places?

    In reply to: Announcement Board

    @chrishajer

    Participant

    “Put in a plugin” means:

    1. create a new file with a text editor.

    2. give it a name like “bb-restrict-new-topic.php”

    3. create a header in the file that tells bbPress this file is a plugin, like this:

    <?php
    /*
    Plugin Name: Restrict New Topic
    Description: Restrict new topic creation by members
    Version: 0.1
    */

    4. put the text from that other page into the rest of the file.

    5. be sure to close the file with a ?>

    6. put that new file in your bb-plugins folder.

    7. activate the plugin in your admin panel

    8. test test test

    I think the plugin file will look like this when you’re done.

    http://pastebin.com/f488c97d5

Viewing 25 replies - 3,651 through 3,675 (of 4,477 total)