Get Involved m2f
connecting communities
m2f @ SourceForge.net  

v2.0 Troubleshooting

How to ask for support

First, be sure to check if your problem is already being discussed on the m2f forums, or if a bug report is already submitted on our issue tracker . You can use the search functino on these sites just to be sure.

If you are pretty sure that the problem is a m2f-related bug, you should post a bug report right away (scroll down to see how to submit a bug report). Otherwise, post on the proper forum your support request, depending on the m2f version you are using.

How to submit a bug report

Al l bug submissions must be registered on our issue tracker (Registration is required).

Before submitting a bug report, be sure to try and replicate the bug first. It really helps a lot if you do a clean install of m2f and other necessary software (ie. phpBB forums) in order to check if the bug is a m2f-core problem or a configuration/corrupted sources issue.

When submitting the bug report, please use this template:

PHP Version:
Mysql Version:
phpBB Version:
M2F Version:
Operating System:

Configuration (ie. chains, hosts,etc.):
Scenario (steps to reproduce the problem):
Error message(copy and paste the error if possible):
Expected behavior:

If you have an installation of m2f, phpBB, etc. for testing purposes, remember to clean everything before trying to replicate the bug. These are the necessary steps to clean everything up (DO NOT use these in productions environments!):

Method #1 (Recommended): Cleaning up SQL commands

*Important* These SQL commands are dangerous! Remember that depending on your installation, the table prefix could be different to “phpbb_”. DO NOT try these if you are not comfortable with SQL language.

These will clean up posts, indexes, etc. but not your configuration.

# Clean up m2f
 
TRUNCATE TABLE m2f_message_index;
TRUNCATE TABLE m2f_message;
TRUNCATE TABLE m2f_message_list
 
# Clean up phpBB3
 
UPDATE phpbb_config SET config_value = 0 WHERE config_name = "num_posts";
UPDATE phpbb_config SET config_value = 0 WHERE config_name = "num_topics";
UPDATE phpbb_forums SET forum_posts = 0, forum_topics = 0, forum_topics_real = 0, forum_last_post_id = 0, forum_last_poster_id = 0, forum_last_post_subject = "", forum_last_post_time = 0, forum_last_poster_name = "", forum_last_poster_colour = "" WHERE forum_id = 2;
TRUNCATE TABLE phpbb_posts;
TRUNCATE TABLE phpbb_topics;
TRUNCATE TABLE phpbb_topics_posted;
TRUNCATE TABLE phpbb_topics_track;
TRUNCATE TABLE phpbb_topics_watch;
TRUNCATE TABLE phpbb_forums_track;
TRUNCATE TABLE phpbb_search_wordlist;
TRUNCATE TABLE phpbb_search_wordmatch;
UPDATE phpbb_users SET user_lastpost_time = 0, user_posts = 0 WHERE user_id = 1;
DELETE FROM phpbb_users WHERE user_id = 999999;
DELETE FROM phpbb_user_group WHERE user_id = 999999;
 
# Clean up phpBB2
TRUNCATE TABLE phpbb_posts_text;
TRUNCATE TABLE phpbb_posts;
TRUNCATE TABLE phpbb_search_wordlist;
TRUNCATE TABLE phpbb_search_wordmatch;
TRUNCATE TABLE phpbb_topics;
TRUNCATE TABLE phpbb_topics_watch;
UPDATE phpbb_forums SET forum_posts = 0, forum_topics = 0, forum_last_post_id = 0;
UPDATE phpbb_users SET user_posts = 0;
 
ALTER TABLE phpbb_posts AUTO_INCREMENT = 1;
ALTER TABLE phpbb_topics AUTO_INCREMENT = 1;
 
ALTER TABLE phpbb_search_wordlist AUTO_INCREMENT = 1;

Method #2: Cleaning configuration DB and posts

These steps will wipe out your m2f configuration and posts. phpBB’s configuration will be untouched.

  1. Run from the test suite, the following tests (These will gracefully delete all posts from phpBB test installations):
    • Phpbb2InsertPostTest
    • Phpbb3InsertPostTest
  2. If using sqlite, just delete the m2f.sqlite file under the “db/” folder in m2f. If using mysql or other, drop the m2f database.
  3. Click on “Install” on the m2f Admin Cp, and reinstall the configuration tables.
  4. Re-configure chains, hosts, etc.

Method #3: The clean and hard way

Delete everything and reinstall from scratch :) This is by far the best option for developers because a lot of problems come from faulty or corrupted installations.

Share this post:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Slashdot