bbPress/BuddyPress forum issues

Hi,

We’ve been working on a website which also has a forum - which you can view here: https://wordpress-318507-975506.cloudwaysapps.com/nsfmg-forum/

At first, we were supposed to have the forum set up for anonymous posting with the registration process completely removed.
Now, the forum is supposed to have users be able to register again and we’ve created a dedicated page for that which we also connected to the bbPress settings, however, when we try to create a new account, we can’t - the page “refreshes” itself and we’re staring right back at our information with no notifications about an account being created or needing to click a link sent via email.

Another issue is that when you enter a forum, subforum or topic and click on the “To Forum List” button on the top left corner of the post or subforum, you end up at this page: https://wordpress-318507-975506.cloudwaysapps.com/forums/ instead of this page again https://wordpress-318507-975506.cloudwaysapps.com/nsfmg-forum/ .

We’re also hoping to have the links for logging in, registering and lost password appear at all subforums and topics, not just on the main forum page (/nsfmg-forum/).

We’re attaching another link in a secure note where we kept a sort of documentation of issues for ourselves, which may also help better with explaining our issues, since we supplied it with screenshots. We’re also attaching the username and password for the website.

As always, thank you for your help!

Hello Paper+Screen,

Thanks for writing in!

I have tried to register as a new user. It did not go well because I encountered an error at the end. There could be a fatal error right after the registration. Can you please enable the debug mode? You can do this by opening wp-config.php and adding


define('WP_DEBUG', true);

/* That's all, stop editing! Happy blogging. */

After that, we can try to register again. We might find out the detailed information related to the fatal error.

Meanwhile, “nsfmg-forum” page should be assigned as your forum root slug. You can do that in Settings > Forums > Forum Root Slug.

ANd to always make sure that the login, register and forget password is always at the bottom of the bbpress pages, since you have your child theme active and ready, please follow these steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file

<?php

// =============================================================================
// VIEWS/INTEGRITY/WP-BBPRESS.PHP
// -----------------------------------------------------------------------------
// bbPress output for Integrity.
// =============================================================================

get_header();

?>

  <div class="x-container max width offset">
    <div class="<?php x_main_content_class(); ?>" role="main">

      <?php while ( have_posts() ) : the_post(); ?>
        <?php x_get_view( 'global', '_content', 'bbpress' ); ?>
      <?php endwhile; ?>

      <br>
      <br>
      <p><b><a href="/log-in/">Log In</a><a> – </a><a href="/register/">Register</a> – <a href="/lost-password/">Lost Password</a></b></p>

    </div>

    <?php get_sidebar(); ?>

  </div>

<?php get_footer(); ?>

3] Save the file named as wp-bbpress.php
4] Upload this file to your server in the child theme’s folder /wp-contents/themes/pro-child/framework/views/integrity/

You will need to create the folder path since it does not exist yet in your child theme’s folder.

Thank you very much for your help!
We’ve gone in and did the three items mentioned in your reply.

Looking forward to next steps.

Hi @INcroatia,

I tried to register and I got this error:
The site is experiencing technical difficulties.
On the console, I got this
Failed to load resource: the server responded with a status of 500 ()
That means a php fatal error. Can you please also add FTP credentials inside a secure note so we can inspect the error log and see where the error is coming from? Usually when you set DEBUG to TRUE like @RueNel’s suggestion, the error should be visible. Since I can’t see it when I tried to login, we need the FTP credentials.

Hi Lely,

We are using WP File Manager so if you login with the credentials in the secure note above you should be able to access everything.

Thanks!

Hi @INcroatia,

Unfortunately, even using WP FILE Manager, I can’t see the error log. Since you are using CLOUDWAYS, logs are not inside PUBLIC HTML that you can access on WP FILE MANAGER. Usually on the root cause of your installation where public_html is located, there is log folder in there. Please check the latest error log report.

For the mean time, please save a backup of the site. Then after try to switch to a default wordpress theme like 2019. Check the register issue. Let’s just isolate where it is coming from. Thanks.

I am unable to attach so I will paste here:

[Fri Oct 25 08:47:36.792160 2019] [proxy_fcgi:error] [pid 29303] [client 127.0.0.1:35285] AH01071: Got error ‘the log buffer is full (1024). The access log request has been truncated.\n’, referer: https://wordpress-318507-975506.cloudwaysapps.com/wp-admin/update-core.php
[Fri Oct 25 08:47:57.969468 2019] [proxy_fcgi:error] [pid 29315] [client 127.0.0.1:35307] AH01071: Got error ‘the log buffer is full (1024). The access log request has been truncated.\n’, referer: https://wordpress-318507-975506.cloudwaysapps.com/wp-admin/update.php?action=update-selected&plugins=posts-grid%2Fgs_wpposts.php%2Cnewsletter%2Fplugin.php%2Cwordpress-seo%2Fwp-seo.php&_wpnonce=8dc8bb63c9
[Fri Oct 25 12:58:25.320597 2019] [proxy_fcgi:error] [pid 3905] [client 127.0.0.1:37216] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function bp_xprofile_fullname_field_id() in /home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/wp-content/plugins/buddypress/bp-members/bp-members-functions.php:1779\nStack trace:\n#0 /home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/wp-content/plugins/buddypress/bp-members/screens/register.php(204): bp_core_signup_user(‘themeco101’, ‘themeco101’, ‘themeco@mail.co…’, Array)\n#1 /home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/wp-includes/class-wp-hook.php(286): bp_core_screen_signup(’’)\n#2 /home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)\n#4 /home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(359): do_action(‘bp_screens’)\n#5 /home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/wp-inc…\n’, referer: https://wordpress-318507-975506.cloudwaysapps.com/register/

2019/10/25 00:55:22 [error] 16167#16167: *128391 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.151, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 01:07:19 [error] 16167#16167: *128404 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 66.249.65.177, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 01:30:32 [error] 16167#16167: *128415 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.129, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 04:30:52 [error] 16167#16167: *128487 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.152, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 05:43:19 [error] 16167#16167: *128516 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.130, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 07:08:20 [error] 16167#16167: *128545 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.147, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 08:21:24 [error] 16167#16167: *128577 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.144, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 09:51:29 [error] 16167#16167: *128646 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.152, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 10:40:44 [error] 16167#16167: *128678 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.142, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 11:58:09 [error] 16167#16167: *128710 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.146, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 12:58:25 [error] 16167#16167: *128802 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/favicon.ico” failed (2: No such file or directory), client: 49.150.14.139, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /favicon.ico HTTP/2.0”, host: “wordpress-318507-975506.cloudwaysapps.com”, referrer: “https://wordpress-318507-975506.cloudwaysapps.com/register/
2019/10/25 13:08:41 [error] 16167#16167: *128843 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.145, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 13:45:25 [error] 5298#5298: *128970 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.163, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 14:29:08 [error] 5298#5298: *128991 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.137, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 15:12:31 [error] 5298#5298: *129005 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/favicon.ico” failed (2: No such file or directory), client: 85.244.56.210, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /favicon.ico HTTP/2.0”, host: “wordpress-318507-975506.cloudwaysapps.com”, referrer: “https://wordpress-318507-975506.cloudwaysapps.com/pro/
2019/10/25 15:33:47 [error] 5298#5298: *129131 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.131, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 17:29:20 [error] 5298#5298: *129172 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.150, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com
2019/10/25 18:05:07 [error] 5298#5298: *129191 open() “/home/318507.cloudwaysapps.com/ptmrkgzchy/public_html/robots.txt” failed (2: No such file or directory), client: 46.229.168.138, server: wordpress-318507-975506.cloudwaysapps.com, request: “GET /robots.txt HTTP/1.1”, host: “wordpress-318507-975506.cloudwaysapps.com

Hi @INcroatia,

The error is not related to the changes you made from above recommendation. The cause is bp_xprofile_fullname_field_id() called in bp-members-functions.php. Could you try re-installing your BuddyPress plugin and test it again?

You have the same issue here https://buddypress.org/support/topic/problem-with-register-in-buddypress/, and this https://buddypress.org/members/adrian122/forums/replies/. You may need to contact the plugin author for further information about the issue.

Thanks!

We’ve re-installed BuddyPress and the same issue appears. This is an approved Pro theme plugin - registering users to a forum is a pretty elementary function. The BuddyPress forum doesn’t seem particularly responsive. Do you perhaps have any other ideas on the best way to get the forum up and running?

Hello Paper+Screen,

Yes, the BuddyPress plugin is an approved and recommended plugin. Any bugs or errors generated by the plugin must be address by its respective creators since we do not have control over it. The error seems to have been in other threads. We really recommend that you contact with the creators of BuddyPress. They should be able to respond to this issue and resolve it. Please proceed here: https://buddypress.org/support/

Thank you for your understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.