Hello,
My wpForo forum on iactm.org is not displaying existing topics and posts.
The database currently contains: - 42 topics - 140 posts The forum board exists and is correctly configured: - Board ID: 2 - Page ID: 1058 - Slug: tctn-forum - Status: active - Standalone: disabled Member view permissions are enabled, display settings are enabled, the cache was cleared, and the forum tables show no obvious errors.
The wpForo Debug page still reports: “wpForo Database Update Problem - Action Required!” It suggests inserting a new board into wp_wpforo_boards, but the board already exists, so I have not run that SQL command.
Please advise how to repair the database-update state and make the existing topics and posts display without deleting or duplicating the forum board.
Hi,
Thank you for providing the detailed information.
Please do not execute the suggested SQL command to insert another board, since Board ID 2 already exists.
We'd like to investigate the database structure and verify that wpForo is correctly connected to the existing forum data.
Could you please provide the following information?
-
Navigate to Dashboard > wpForo > Tools > Debug > Database Tables and share a screenshot of the entire table list, including any reported errors.
-
Open the Dashboard > wpForo > Boards page and share a screenshot showing the existing board configuration.
-
Using phpMyAdmin or your hosting provider's database manager, please check whether the following tables exist and contain your existing data:
-
wp_wpforo_2_topics -
wp_wpforo_2_posts
Please also confirm whether these tables contain the expected 42 topics and 140 posts.
-
-
Please share the exact SQL command suggested by the database troubleshooter, along with any error messages displayed there.
Before making any database changes, please create a complete database backup.
Once we have this information, we can investigate why the existing forum data isn't being displayed and determine the safest way to resolve the database update warning without creating duplicate boards or affecting your existing content.
Thank you!
Hi Sofy,
Thanks for your reply and offer to help.
1.
A screenshot of the entire table list, including any reported errors, would require many screenshots, is that what you're asking for, or is it just the Problem fixer SQL commands? Moreover, I'm not currently able to access screeshots on my computer, so here are the SQL commands:
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
SET sql_mode='NO_AUTO_VALUE_ON_ZERO';
INSERT INTO `wp_wpforo_boards` (`boardid`, `title`, `slug`, `pageid`, `modules`, `locale`, `is_standalone`, `excld_urls`, `status`, `settings`) VALUES(0, 'Transpersonal Coaching & Therapy Network forum', 'tctn-forum', 1058, '{\"tags\":true,\"subscriptions\":true,\"mentioning\":true,\"follows\":true,\"notifications\":true,\"logging\":true,\"seo\":true,\"antispam\":true,\"akismet\":true,\"rss\":true,\"social\":true,\"revisions\":true,\"bookmarks\":true,\"wpforo-user-custom-fields\":true,\"wpforo-topic-custom-fields\":true,\"wpforo-private-messages\":true,\"wpforo-topic-prefix\":true,\"wpforo-advanced-reactions\":true,\"wpforo-advanced-attachments\":true,\"wpforo-embeds\":true,\"wpforo-memberpress\":true,\"wpforo-groups\":true,\"wpforo-suremembers\":true,\"wpforo-paid-membership-pro\":true,\"wpforo-woocommerce-memberships\":true,\"wpforo-mentioning\":true,\"wpforo-voice-posting\":true,\"wpforo-cross-posting\":true,\"wpforo-ad-manager\":true,\"wpforo-polls\":true,\"wpforo-emoticons\":true,\"wpforo-tenor\":true,\"wpforo-giphy\":true,\"wpforo-mycred\":true,\"wpforo-syntax-highlighter\":true}', 'en_GB', 0, '[]', 1, '{\"title\":\"Transpersonal Coaching & Therapy Network forum\",\"desc\":\"Transpersonal Coaching & Therapy Network forum\"}');
;SET AUTOCOMMIT = 1;
2.
| boardid | title | slug | pageid | locale | is standalone | enabled |
|---|---|---|---|---|---|---|
| 2 | Forums | tctn-forum | 1058 | en_US | NO | YES |
3.
The tables wp_wpforo_2_topics and wp_wpforo_2_posts do not exist in my database. The forum data is stored in wp_wpforo_topics and wp_wpforo_posts, which contain 42 topics and 140 posts respectively. The forum board is active and correctly linked to page 1058, but the topics and posts are not displayed on the site.
4.
The wpForo database troubleshooter displayed this warning:
wpForo Database Update Problem - Action Required!
Forum database is not updated properly. Please click the button below for further instruction.
It then suggested this exact SQL command:
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
SET sql_mode='NO_AUTO_VALUE_ON_ZERO';
INSERT INTO `wp_wpforo_boards` (`boardid`, `title`, `slug`, `pageid`, `modules`, `locale`, `is_standalone`, `excld_urls`, `status`, `settings`)
VALUES
(
0,
'Transpersonal Coaching & Therapy Network forum',
'tctn-forum',
1058,
'{\"tags\":true,\"subscriptions\":true,\"mentioning\":true,\"follows\":true,\"notifications\":true,\"logging\":true,\"seo\":true,\"antispam\":true,\"akismet\":true,\"rss\":true,\"social\":true,\"revisions\":true,\"bookmarks\":true,\"wpforo-user-custom-fields\":true,\"wpforo-topic-custom-fields\":true,\"wpforo-private-messages\":true,\"wpforo-topic-prefix\":true,\"wpforo-advanced-reactions\":true,\"wpforo-advanced-attachments\":true,\"wpforo-embeds\":true,\"wpforo-memberpress\":true,\"wpforo-groups\":true,\"wpforo-suremembers\":true,\"wpforo-paid-membership-pro\":true,\"wpforo-woocommerce-memberships\":true,\"wpforo-mentioning\":true,\"wpforo-voice-posting\":true,\"wpforo-cross-posting\":true,\"wpforo-ad-manager\":true,\"wpforo-polls\":true,\"wpforo-emoticons\":true,\"wpforo-tenor\":true,\"wpforo-giphy\":true,\"wpforo-mycred\":true,\"wpforo-syntax-highlighter\":true}',
'en_GB',
0,
'[]',
1,
'{\"title\":\"Transpersonal Coaching & Therapy Network forum\",\"desc\":\"Transpersonal Coaching & Therapy Network forum\"}'
);
SET AUTOCOMMIT = 1;
I did not execute this INSERT, because the board already exists:
boardid = 2
pageid = 1058
status = 1
is_standalone = 0
slug = tctn-forum
The database currently contains:
42topics140posts- Active forums with IDs
2,8, and9 - All checked topics have status
0
The exact phpMyAdmin error encountered during testing was caused by an accidentally concatenated query:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'boardid, title, slug, pageid, status...' at line 1
The combined query was:
SELECT * FROM `wp_wpforo_topics` WHERE 1SELECT boardid, title, slug, pageid, status
FROM wp_wpforo_boards
WHERE slug = 'tctn-forum';
That syntax error was corrected by running the queries separately. The plugin’s suggested INSERT has not been run because it appears to target an already-existing board.
Hi, my hosting comapny's AI assistant prodided this additional guidance today:
"The table wp_wpforo_email_queue does not exist. The database contains 42 topics in wp_wpforo_topics and 140 posts in wp_wpforo_posts. The active board is board ID 2, linked to page ID 1058. Please provide the correct schema/update procedure for creating the missing email queue table without changing the board ID or existing forum data."
Is that helpul info toward getting my forum working again?
Hi Sofy, thanks for your coninue assistance.
After clicking Solve database problems and then Recheck DB, the warning disappeared. However, the read-only query for wp_wpforo_email_queue still returns only the table_name heading, so the table does not exist. The active board is boardid=2, linked to page 1058, and the database still contains 42 topics and 140 posts, but none are displayed on the forum page. Please provide the exact migration or table-creation procedure required for this wpForo version.
My hosting company's AI suggests that I must not run the generated duplicate-board SQL or create the table manually.
Kindly advice