Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 1,701 through 1,725 (of 11,582 total)
  • Author
    Search Results
  • #196764

    In reply to: phpBB import (again)

    Gregg
    Participant

    Resolved!

    Grab a cup of coffee and a seat and I’ll tell you the story of how you might be able fix this. It may take several hours so be prepared…

    Situation I was in:
    Older version of phpBB 3.1v and wanting to port all topics, replies, and users to bbPress (latest version at the time). A handful of issues existed that were causing more trouble than they were worth. Host of the old site is GoDaddy. The new site is on WP Engine.

    Forum Stats (approx)
    Users: 2200
    Topics: 7800
    Replies: 22500

    Outcome:
    Successfully ported all topics, replies, and users to bbPress.

    Updated phpBB
    REMOVE ALL MODS, STYLES, anything that’s not a part of the out-of-the-box install. Then follow the upgrade instructions. Make backups (I kept a copy of the existing site on my local machine and duplicate database on the host). I found these instructions most helpful: https://www.phpbb.com/support/docs/en/3.2/ug/upgradeguide/upgrade31/

    The Issues
    There were two issues I ran into (in different flavors but it turns out they just stemmed from these two). 1st – utf8 formatting and 2nd missing fields. These issues are with the import and NOT the upgrade for phpBB. I was able to resolve those issues by making sure I followed the instructions on that link to the letter.

    The first error (I don’t remember the exact error string but it was either utf8mb4 or just utf8 but it simply means the database holds the data in an older format. The solution is to export the date from the database then create a new database and restore the data into it. By creating the new database the fields will use the proper format and when the restoration is complete this issue should be resolved.

    The second error was a little more mysterious – as in I’m not sure why it happened but essentially the import routine is looking for fields that don’t exist in the phpBB install even after I successfully updated it. The solution was to create the fields needed. How?

    How to create the fields to get rid of the missing field errors
    Note I created a copy of the functioning database on my phpBB install so I could screw it up and not hurt the functioning website. So here’s an example.

    The error I got basically said the script couldn’t find “users.user_from” in the database I was trying to import from. That’s not an exact quote but the gist. So I edited the copy of my database and added the missing field (user_from) to the table it was looking for it in (users) using datatype VARCHAR and length of 255 (all else was left to default). I had to do this about a dozen times between the users, topics, and forums tables.

    I should note I imported all of my users as well. I had to try this whole process several times. I’ve spent 40+ hours trying to figure this all out (I’m not that familiar with phpBB or bbPress) but the actual process once I figured out the issues – took about 6 hours – mostly waiting for the script to process the data. If your import bombs – read the error and look carefully at what it’s looking for or doesn’t like. Most likely it’s looking for something that’s not there.

    I was worried that the connections between topics and replies and users would somehow be messed up. But in the end, it looks like it all came out fine. I’m pretty sure I’ll find something amiss – that’s my cynical side but maybe I’ll be pleasantly surprised.

    Good luck!

    #196739
    engin1984
    Participant
    <!DOCTYPE html>
    <!--[if IE 7]>
    <html class="ie ie7" lang="en-US" prefix="og: http://ogp.me/ns#">
    <![endif]-->
    <!--[if IE 8]>
    <html class="ie ie8" lang="en-US" prefix="og: http://ogp.me/ns#">
    <![endif]-->
    <!--[if !(IE 7) | !(IE 8)  ]><!-->
    <html lang="en-US" prefix="og: http://ogp.me/ns#">
    <!--<![endif]-->

    testing some code…
    edit: YEP! Code tag is working .

    #196703
    Robin W
    Moderator

    I’m just a user who helps out here, and I haven’t tested it. Most authorities (eg Yoast, Wordfence) recommend holding off on 5.0 until 5.1 with bug fixes probably around January is likely to be released.

    I’ll do my test site then

    #196650
    Foliferous
    Participant

    Hi people,

    look here.

    I noticed that’s there one space in front of “Admin” here:

    This forum contains 2 topics and 2 replies, and was last updated by Admin 9 hours, 17 minutes ago.

    You can also see it on the right hand side under “Latest forum posts”.

    Best regards.

    #196645
    Robin W
    Moderator

    I am author of the style pack plugin, and 4.0.3 shouldn’t have anything that would affect your site, but please as a test, deactivate it and check that it is not causing any issue, you will not lose any settings, and as soon as you have looked you can re-enable it.

    Then come back

    #196611
    Wasca
    Participant

    I should also not that this is only happening in Chrome not Firefox. I’m seeing this in the console. (sanitized)

    Uncaught DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
        at et_core_page_resource_fallback (https://mydomain.com/topic/test-video/embed/:12:160)
        at HTMLLinkElement.onload (https://mydomain.com/topic/test-video/embed/#?secret=HEI33yuPgo:158:289)
    et_core_page_resource_fallback @ (index):12
    onload @ VM2025 :158
    #196610
    Wasca
    Participant

    Testing a link back to this thread.

    Only Allow YouTube and Vimeo oEmbeds

    On my forum, this would have rendered the post here and not just created the heading.

    #196603
    Robin W
    Moderator

    you should have version 2.5.14 which is the latest authorised release.

    Download

    #196543
    PHC Solutions
    Participant

    I am currently testing the RC5 with a vBulletin 3 import and I am encountering fatal errors. Or should errors be indicated for a resolution?

    #196494
    calepwhoward
    Participant

    Here are the details:

    ~ WordPress 4.9.8
    ~ Travel Eye Pro theme
    ~ BBPress Version 2.5.14

    This issue is with a company Intranet so not accessible from the Internet.

    When a new topic is created via the Topic option in the WordPress dashboard subscribers are not notified. When a new Topic is created on the Forum page using the New Topic fields and editor subscribers are notified. I’ve tested this across multiple forums and this behavior is repeatable. I see the new topics in the forums regardless of where they’re entered but subscribers are only notified if the topic is created from the forum webpage. Have I missed a configuration step in WordPress or is this a bug?

    Thanks in advance for any help anyone can offer. Happy Monday!

    #196404
    msmohanish2017
    Participant

    I have installed the plugin suggested by you. I am trying to test it with two users(subscribers). I am still facing an issue that when a subscriber creates a Topic in the forum that topic is visible to another subscriber.
    I want if any new Topic or Reply is created, it should be held for moderation(pending for approval) and after approval only by Administrator, it should get displayed to the frontend.

    Please suggest.

    Thanks

    robertstaddon
    Participant

    Thank you, @robin-w!

    So I found found the cause of the bug. There is a typo on line 303 of the “bbpress/includes/topics/template.php” file in the latest version of bbPress (2.5.14). It tries to set the “post_status” query value to “readable”. This is an invalid value for “post_status”. What the programmer intended was to set the “perm” query value to “readable”.

    #196330
    longtall
    Participant

    Tearing my hair out here trying to change the content container to transparent. I’ve tried changing the bbpress.css file, putting custom css in the bbl style pack, but nothing seems to work.
    Really appreciate some help here as I don’t what else I can do.
    WordPress 4.9.8
    bbPress 2.5.14
    http://dftasmania.com/forums/topic/test-topic/
    Thanks in advance.
    Cheers
    Longtall

    #196323
    nemoprofeta
    Participant

    Hello,
    we are migrating our site which includes a bbPress forum. The migration process is pretty long. So we’d rather not close the forum for a long time.

    We’ll start the migration import the whole database. The rest of the process will take several days. This means that in the meantime new discussions will be added to the forum.

    We thought we could add those new discussions using the XML importer. But in our tests it didn’t work. The discussions don’t show up in the frontend. And when we try to fix them with the bbPress tools, they disappear.

    Is there a way to do it?

    #196318
    maxlevel
    Participant

    @robin-w 1 and 2 both yes and I will contact you.


    @odevbul
    Thanks, I already tested the above plugin as well as this
    bbPress Moderation By Ian Stanley

    The problem is that both plugins work for all forums and I need it for only one of my forums.

    #196309

    In reply to: Custom Fields

    Robin W
    Moderator

    you need to alter ‘post’ to topic and reply eg (untested)

    function adding_custom_meta_boxes( $post_type, $post ) {
        add_meta_box( 
            'my-meta-box',
            __( 'My Meta Box' ),
            'render_my_meta_box',
            'topic',
            'normal',
            'default'
        );
    add_meta_box( 
            'my-meta-box2',
            __( 'My Meta Box 2' ),
            'render_my_meta_box',
            'reply',
            'normal',
            'default'
        );
    
    }
    add_action( 'add_meta_boxes', 'adding_custom_meta_boxes', 10, 2 );
    #196307
    Robin W
    Moderator

    It could be a theme or plugin issue issue, so you’ll need to test to find out which

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    #196283
    rgilman
    Participant

    Hi Robin, thanks for your response. It looks like (style pack) latest activity gets me close and will provide a great starting point and tutorial from a bbp master.

    Apologies for the lack of clarity in my initial post. Let me explain a bit more.

    I’m developing a site that builds on Commons In A Box. You can see more about what we are doing at https://github.com/ContextInstitute/bfcom. The readme and wiki are out-of-date in the details but the general direction is right.

    We are designing for a large number of BuddyPress groups, each with its own forum. It will be a private site with access only to registered users. Most users will be involved in only a subset of the groups/forums.

    Each user will have a personalized home page/dashboard. One of the features on that dashboard will be a listing of the most recent posts/replies in topics in all of the forums to which that user belongs. So we need to start from something like groups_get_user_groups( bp_loggedin_user_id() ) and then go into something like what you do in (style pack) latest activity.

    Having (style pack) latest activity as a starting point feels like a tremendous help.

    Thank you again. 🙂

    #196273
    Robin W
    Moderator

    If I understand it, my ‘recent activity widget’ does that

    you can find it in

    bbp style pack

    once activated you’ll find a new widget called

    (style pack) latest activity

    #196261
    Robin W
    Moderator

    not tested as going out soon, but this should work

    add_action ( 'bbp_new_topic', 'myprefix_assign_tag_to_post', 10, 4 );
    add_action ( 'bbp_edit_topic', 'myprefix_assign_tag_to_post', 10, 4 );
    
    function myprefix_assign_tag_to_post($topic_id, $forum_id, $anonymous_data, $topic_author) {
    if( $forum_id == '168'  && bbp_current_user_can_publish_topics() ) {
    	wp_set_post_terms( $topic_id, 'introductions', 'topic-tag', true );
    }
    
    elseif($forum_id == '1343' && bbp_current_user_can_publish_topics() ) {
    		wp_set_post_terms( $topic_id, 'discovery', 'topic-tag', true );
    
    }
    }
    #196164
    domeboys
    Participant

    I tried several other tests.

    Test 1: I deactivated WP Super Cache and activated bbPress. I cleared cache. The white screen with 500 error occurred immediately.

    Test 2: I deactivated both WP Super Cache and bbPress. The home page comes up and articles can be viewed. The root page for the forums can be viewed, but the individual forums are not displayed.

    At this point, I reverted back to WP Super Cache active and bbPress not active.

    #196161
    domeboys
    Participant

    Robin, I did not explain well.

    Last week’s problem was high CPU usage. Installing WP SuperCache was part of the recommended fix. The site seemed stable since.

    Today’s problem was 500 errors keeping anyone from being unable to access the site. Upgrading PHP and disabling bbPress were two of the actions taken. The site is stable except for the forums.

    All I am trying to achieve right now is to get my forums running again. If off the top of your head, you know how to exclude bbPress from WP SuperCache, that information would be helpful. If not, I will try to figure it out and test it.

    I appreciate your help.

    #196156
    domeboys
    Participant

    Thank you, Robin. I am new here, and wanted to ensure I was at the right place. I’ve had bbPress installed for the last 16 months with no problems until now.

    To answer your question directly, that earlier error description is all HostGator gave me when I asked them for documentation to provide you.

    Here is further background on the problem.

    Today’s issue began with all users presented with “500 Error. Internal Server Error.” when accessing the site, which is a mix of free and subscriber content and has both free and subscriber forums.

    By clearing browser cache, one could get on the site (both articles and forums) for about a 10 minute period before the 500 errors returned. However, during that window, one could only view the free forum, but could not enter replies, because being logged in first is a site requirement. For that same reason, one could not view subscriber articles or the subscriber forum.

    During that approximate 10 minutes, when trying to log in, one was presented with a message that said “Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.” This seemed to make no sense, since cookies were in fact enabled.

    I tested the problem with three different browsers and it was the same – MS Edge, Firefox and Chrome. I can get into my backend WP Dashboard to administer the site with no issue.

    HostGator support determined that by disabling all plugins, the problem would go away. Then the process of going through the plug-ins one by one led them to identify bbPress as the culprit. When bbPress is enabled, the 500 errors return. With it disabled, logins and both free and premium article access work normally. But both forums are down.

    If there is other information I can gather, please let me know what and how to get it. Or if you need backend access to my WP installation, I am happy to grant that.

    #196127
    liyacaty
    Participant

    Hi all.
    After a lot of testings and experiments in order to get the board running with all the same functionalities I had before in 3.0.14, I tried to install a clean version of 3.20, then install the extensions needed. The tentative was successful so I decided to follow this way to bring my old board to the new version in production mode.
    The problem is related to the data migration from 3.0 to 3.2.
    I’ve managed to export the old data from a clean 3.0.x DB (without any mod installed) and then import them in the new, empty 3.2 DB, but the two structures differ a lot, giving me many errors.
    I’ve tried to manage those errors, but editing a 150MB SQL file it’s a huge waste of time.
    I’ve looked for a routine in the php migration code present in the install subdir, but I didn’t find anything usable in a easy way.
    Has anyone met the same problem and is there anybody that could give me a draft solution?
    Thanks in advance.

    haddly
    Participant

    Hi there,
    I want to do a test mailing in my staging area, to see if a new WP plugin works for BBpress. In order to do this, i want to change all emails to my personal email address for all that are subscribed to the forum (so i don’t accidentally send out mails to real users,(this has actually happened to me before)). The problem is that the WP user_email is found in the DB wp_users and the forum meta info is found in the DB wp_usermeta. What SQL statement would i use if i wanted to change the email of all bbpress “Participants” to “myemail@email.com”. I want to do something like:
    UPDATE wp_users SET user_email = "myemail@email.com" WHERE wp_usermeta.meta_key = "participant";

Viewing 25 results - 1,701 through 1,725 (of 11,582 total)
Skip to toolbar