chrishajer (@chrishajer)

Forum Replies Created

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

    Participant

    swaymedia: the full path should not be a URL but a filesystem path, something like:

    /home/picbico/public_html/wp-blog-header.php

    I tried on my forum and a relative path works there, so I’m not sure that’s the issue.

    Be sure that’s the second line of bb-config.php – the first line should be <?php:

    <?php
    require_once('/home/picbico/public_html/wp-blog-header.php');

     

    PHP doesn’t think the file is where you say it is. Can you take a screenshot of the directory listing in an FTP program or command line, and post that? Something does not make sense.

    @chrishajer

    Participant

    WordPress functions are defined and available to WordPress.

    https://codex.wordpress.org/Function_Reference

    If you don’t need to use those functions, then don’t include WordPress. You don’t need to include WordPress like that to have integrated users.

    In reply to: No user found

    @chrishajer

    Participant

    Sam, that did not work. Signed out of this account, signed in with the hajii account and I get the same error trying to access my profile page.

    Please try creating a new dummy account and logging in with that, with a new browser even, and see if you can access your profile.

    @chrishajer

    Participant

    You can install this with a free standing WordPress installation. Instructions are here.

    In reply to: No user found

    @chrishajer

    Participant

    mdawaffe: that has no effect. I logged out of this chrishajer account, then logged in with a new account from today, hajii. I tried to change the password since it is the default emailed one. I get the error about the user being unable to be found when I try to access the profile page. (Screenshot above.)

    It might be new accounts: that hajii account is from today. And it appears to happen only on member accounts, so you might need to create member account and see if you experience the same thing.

    The only people who can fix the problem won’t be able to see it, as moderator or keymaster. :D

    In reply to: No user found

    @chrishajer

    Participant

    Sorry, that error screen doesn’t say too much; just that you don’t exist, although you can post, so you obviously do exist.

    Very interesting. With my normal account I can access my profile just fine, but I created a new account and cannot access the profile there. I will let someone know.

    In reply to: No user found

    @chrishajer

    Participant

    This link appears to work for me:

    https://bbpress.org/forums/profile/fietsverzekering

    Can you take a screenshot of the error you are seeing, put it online somewhere (imageshack or photobucket) and post a link to it here? Thanks.

    In reply to: wrong password

    @chrishajer

    Participant

    I think the reason it was correct sometimes would be due to the content of the password. bbPress originally (or a while ago anyway, pre-0.9*) used a 6 character alpha-numeric password. Now, it uses something more complex, and depending on what characters are in the password, maybe some certain characters get dropped in that plugin. If you post a link to the plugin you’re using, I can look at it and see if this is likely. You could also contact the plugin author and see if they have any idea.

    On the special characters in the password email. I suspect the message is just sent as plain text, but those are html entities. I didn’t look too hard at it. Maybe you could just put the รจ in the text of the message and hope the email client can handle it.

    @chrishajer

    Participant

    It’s great that you have shell access. You can backup all the files with something like rsync, and you can use a shell script to backup the database tables you want. Since there are no wildcards in mysqldump, you will need to explicitly name all the tables in your installation; just separate them with spaces.

    You can put something like this into a bash script and run it daily (or whenever) from cron:

    mysqldump --add-drop-table -h host -u user -p password dbname 
    ( bb_forums
    bb_meta
    bb_posts
    bb_tagged
    bb_tags
    bb_terms
    bb_term_relationships
    bb_term_taxonomy
    bb_topics
    bb_topicmeta
    bb_users
    bb_usermeta ) | bzip2 -c | bbpress.bak.sql.bz2

     

    You would have to consider putting the password into the script and hiding that from prying eyes. Alternatively, you could create a user with limited privileges and no password, and use that in the backup script.

    You should also verify the table prefix, and that those are all your bbPress tables. I think there are different tables for different bbPress versions.

    Good luck.

    @chrishajer

    Participant

    Can you please explain what you mean? What did you do, and what effect did it have?

    @chrishajer

    Participant

    That line is supposed to allow you to use WordPress functions from inside a bbPress page. It looks like you just got the path to it wrong. Does the file wp-blog-header.php actually exist one directory level up from where the bb-config.php is right now?

    @chrishajer

    Participant

    Please post your contact details and then a moderator will close this topic.

    In reply to: wrong password

    @chrishajer

    Participant

    With the plugin turned off, I received the password promptly and it worked. I would place a bet on that Approve Registration plugin causing the trouble.

    Also, the password message I received has some odd looking characters in it.

    Il tuo nome utente &egrave;: myusername
    La tua password &egrave;:

    The password email arrived with è in it twice, just like above.

    In reply to: wrong password

    @chrishajer

    Participant

    Try one thing at a time. Let me try registering again and see what the password looks like this time.

    @chrishajer

    Participant

    I actually started on this as a plugin, my first one. We’ll see how it goes.

    In reply to: wrong password

    @chrishajer

    Participant

    I did receive my password, thanks. The password that was sent does not work though. It appears that the password is not the proper length. Maybe the approve registration plugin is mangling the password somehow, chopping off some characters or stripping some out.

    Here is a good password from another forum:

    Nq@bDVwS!APP

    Here is the one I received from your forum:

    et@ORSFzWx

    I changed one or more characters in each password. It’s the length I don’t like.

    @chrishajer

    Participant

    fiat, to do what you’re talking about, you can load WordPress inside bbPress, to have access to WordPress functions inside bbPress. It’s not recommended, but here it is:

    https://bbpress.org/documentation/integration-with-wordpress/#func

    https://bbpress.org/forums/topic/wp-integration-header-integration#post-17084

    @chrishajer

    Participant

    Do you have access to a shell at your host? If so, you can do it pretty easily. If not, I don’t know of an automatic backup plugin for bbPress.

    In reply to: wrong password

    @chrishajer

    Participant

    Looks like you’re using the Approve Registration plugin (my account is on hold right now.) I would turn that off and see if passwords work properly. If they do, then it’s likely this plugin causing problems.

    The other possibility is that it’s due to a language file, since this forum is in Italian.

    @chrishajer

    Participant

    I think you need to set up permalinks on your server if you want pretty or name based ones. False works fine, so it’s definitely a permalinks issue. Not sure why it was working before, but this is what needs to be done now:

    https://bbpress.org/documentation/faq/#pretty-permalinks

    @chrishajer

    Participant

    You can make the data dynamic, but you need to use bbPress functions, not WordPress functions.

    If you are intent on using WordPress functions, read this and this.

    @chrishajer

    Participant

    Is it related to using a language file? I seem to recall a problem people would posting HTML while using a language file. Can you change yours temporarily and see if you can post HTML again?

    @chrishajer

    Participant

    I don’t know of a plugin yet that will take an RSS feed and display it in bbPress.

    How about creating a plugin out of something like RSS2HTML and using that in bbPress?

    http://www.rss2html.com/

    @chrishajer

    Participant

    > Any other suggestions? Should I try this sollution?

    Yes. The same problem is happening in another file. Your host has disabled or does not allow the glob function. So, you have the 2nd error. Same type of error, just in a different file now. You should change line 7 in bb-admin/plugins.php to this:

    if ( function_exists( 'glob' ) && is_callable( 'glob' ) ) {

    That will take care of the 2nd error. Then, post your results.

    UPDATE: are you saying making this edit did not work? What was your result? Another error? Post the results please.

    I am not certain about exporting and importing the database, so I would hold off on this. Please make a database backup now, before upgrading, if you haven’t already done so.

    @chrishajer

    Participant

    To anyone reading in the future:

    Please use different table prefixes for bbPress and WordPress. bb_ for bbPress and wp_ for WordPress are the defaults, for good reason. You can change them to something else if you like, but make sure they are different for WordPress, bbPress, and anything else you might install in that database.

    Integration does not require the same table prefix, and using the same table prefix means bbPress will try to use WordPress tables (of the same name) that have already been created.

Viewing 25 replies - 3,151 through 3,175 (of 4,477 total)