chrishajer (@chrishajer)

Forum Replies Created

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

    Participant

    One other thing some servers do is complain if PHP file permissions are set to 777 or something similarly open with access to everyone. I think the PHP files for bbPress just need to be 644, and I think 755 will work as well, but if they are more than that (read/write/execute access to owner, group and everyone) maybe your server is complaining about that?

    @chrishajer

    Participant

    Is it possible you have a problem with your .htaccess file? Are you trying to use permalinks? Are you even using an .htaccess file? If so, I would recommend removing it and seeing if that works. Or possibly you uploaded the text files (php) as binary instead of ASCII? That could corrupt them.

    Without access to any error logs, these are all just guesses.

    @chrishajer

    Participant

    I like it a lot. Very nice.

    @chrishajer

    Participant

    So, why the PHP error then? Is it related to the PHP version (I think this was happening with PHP version 4.x vs servers with version 5.x)?

    Did anyone review this solution?

    @chrishajer

    Participant

    No, not avatars :)

    With WordPress, they include Hello which is an admin only plugin and it serves mostly to show how a plugin is done. It doesn’t affect the public site at all, and it’s not activated either. I would think a similarly benign plugin could be included, just so there is something there.

    @chrishajer

    Participant

    I’ve seen two or three seemingly unrelated problems pop up related to something like this:

    if ( is_callable( 'glob' ) )
    foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin )
    require($_plugin);

     

    Seems like if there are no underscore plugins, this fails. I don’t follow the code exactly, but further up in that file, it defines BBPLUGINDIR if it’s not already defined as (basically) my-plugins/. But this line just says “if glob is callable, then go through the directory for all underscore plugins”. What happens if there are no plugins there? This would return false, maybe, instead of an array?

    And, is there a good reason NOT to include a blank directory for my-templates and my-plugins? At least then people would know where to put stuff. I mean, what IS the reason? WordPress comes with wp-content/themes/ and wp-content/plugins/ directories, and by default, two themes and two plugins. That eliminates the possibility of something missing. Of course, people could delete those, but right off the bat, they wouldn’t and things would just work when they started out.

    At the very least, I think this should be fixed to have a conditional looking for underscore plugins before looping through them (i.e. if there are none, you can’t loop through them.)

    Maybe someone with a better read on it can explain to me exactly what’s happening.

    @chrishajer

    Participant

    I am interested to hear what this is. I’ve never heard of a secret between bbPress and WordPress…

    What is it that you’re unable to do (other than access phpMyAdmin)?

    @chrishajer

    Participant

    What problem are you having now? I can’t follow the thread…

    @chrishajer

    Participant

    I think what you’re looking for is bbSync, a WordPress plugin. Check this thread:

    https://bbpress.org/forums/topic/bbsync?replies=214#post-7922

    Read all the way to the end, or start at the end and work backwards, since a lot has changed since he original post 7 months ago.

    @chrishajer

    Participant

    Your error *sounds* like this one:

    https://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173

    Although the file and line numbers are different, that was related to underscore plugins. Maybe that’s related?

    @chrishajer

    Participant

    Thank you for this.

    @chrishajer

    Participant

    The next release will include the changes, but it might not be until WordPress 2.4 comes out, since there were a lot of changes to keep integration working. The bbPress version you install is highly dependent on the WordPress version, if you are looking to integrate the two.

    In reply to: help please anyone…

    @chrishajer

    Participant

    Oh yeah, this doesn’t look right (the path is wrong):

    http://konpaforum.com/bbpress/

    :D

    In reply to: help please anyone…

    @chrishajer

    Participant

    Damn: 16 seconds too slow, and wrong to boot?

    In reply to: help please anyone…

    @chrishajer

    Participant

    My guess is that you are trying to use permalinks and they’re not supported by your current configuration. I would try this first. In your config.php, find the mod_rewrite line, and make it look like this:

    $bb->mod_rewrite = false;

    That should make your forum accessible and should take care of the 404 error as well, at least for the forum software. The actual error you have there is because when a page cannot be found (like your forum pages) Apache is configured to serve up 404.shtml, but that file is not present. You could create one so that is shown when a 404 file not found error occurs.

    You access your admin panel by logging in as the keymaster (user you created when you created the forum) and then click the “Admin” link next to your logged in name. If it’s not there, you are not logged in as the keymaster. I would post the direct URL to bb-admin but it just redirects if you are not already logged in as keymaster. Try that first.

    @chrishajer

    Participant

    Thanks (I’m with you on the DIE Comic Sans DIE, as well.)

    @chrishajer

    Participant

    Sorry, still confused. From config.php:

    // Set to true if you want pretty permalinks, set to 'slugs' if you want to use slug based pretty permalinks.

    So, true, false and 'slugs' are all valid. Can you show an example of a slug based permalink vs. just a pretty permalink? I understand false pretty well since that’s what my forum uses.

    Thanks.

    @chrishajer

    Participant

    Just change it in config.php:

    // What are you going to call me?
    $bb->name = 'Totally New Site Name';

    @chrishajer

    Participant

    What’s the difference between pretty permalinks and slugs then?

    @chrishajer

    Participant

    Where did you put that .htaccess, in the parent folder or the forum folder?

    @chrishajer

    Participant

    In WordPress, when a page title is the same as a previous one, the slug gets a number appended to it, like this-was-written-about-before-1, so I imagine bbPress has the same protection built in. The slug needs to be unique.

    @chrishajer

    Participant

    That sounds like a permalinks issue. If you change the mod_rewrite line to false in your config.php, and it works, then you know pretty permalinks are messing things up.

    Should look like this when you’re done:

    $bb->mod_rewrite = false;

    If things work after that, then you can figure out what about your configuration is not allowing the permalinks to work.

    @chrishajer

    Participant

    If you deleted everything in your root WordPress folder, you’re going to have to reinstall WordPress first, then your theme and plugins. That would be the first step, well before installing bbPress.

    For the record, bbPress should be in a subdirectory of your WordPress installation if you’re going to try and integrate it.

    So maybe you have your WordPress at /var/www/goldfiinger/home/, and if so, you would put bbPress at /var/www/goldfiinger/home/bbpress/.

    @chrishajer

    Participant

    I created the ticket for you:

    https://trac.bbpress.org/ticket/767

    In reply to: Apostrophe issue

    @chrishajer

    Participant

    > So normal users will have to escape every apostrophe

    > they write in a post?

    No, they don’t. (<—- see? ) You have an issue with your installation, probably a plugin, as livibetter suggested.

Viewing 25 replies - 3,751 through 3,775 (of 4,477 total)