AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] wpForo database update warning: 42 topics and 140 posts stored but not visible

14 Posts
5 Users
1 Reactions
395 Views
Posts: 7
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jevon)
Active Member
Joined: 3 weeks ago
[#73291]

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.


13 Replies
Sofy
Posts: 5927
 Sofy
Admin
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 9 years ago

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?

  1. Navigate to Dashboard > wpForo > Tools > Debug > Database Tables and share a screenshot of the entire table list, including any reported errors.

  2. Open the Dashboard > wpForo > Boards page and share a screenshot showing the existing board configuration.

  3. 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.

  4. 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!


Posts: 7
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jevon)
Active Member
Joined: 3 weeks ago

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:

  • 42 topics
  • 140 posts
  • Active forums with IDs 2, 8, and 9
  • 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.


Posts: 7
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jevon)
Active Member
Joined: 3 weeks ago

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?


1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 9 years ago

Support Team
Posts: 5927
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Hi @jevon 

You can try clicking the Repair button under Dashboard > Forums > Tools > Debug > Database Tables.

However, before doing so, please make sure you have a complete database backup.

The Repair function is designed to resolve detected wpForo database structure issues and may help fix the current problem.

After running it, please check whether your existing topics and posts are displayed correctly.

If the issue persists, please let us know and share the updated information from the Database Tables and Errors & Issues sections so we can investigate further.


Posts: 7
Topic starter
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jevon)
Active Member
Joined: 3 weeks ago

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


1 Reply
Robert
Admin
(@robert)
Joined: 10 months ago

Support Team
Posts: 10800
Translate ▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Hi @jevon,

Could you please explain why the boardid is 2? This should some database manipulation that has crashed the interconnections of data.  In this case you have to recreate tables and I'm not sure if all data are moved to bourdid=2 correctly. In most cases moving back to boardid=0 is the best solution. Do you have more than one board that are in use?


Page 1 / 2
Share: