Going from 1.0.3 to 2.0 – what needs to be done

Hi. Sorry if I am posting this in the wrong section. I did some searching and did not see any answers on this. I currently have bbpress 1.0.3 installed on a WP 3.2 platform. If I choose to upgrade to bbpress 2.0, what do I need to do for this since these appear to be two completely different installation methods?

When it hangs, PHP is likely running out of memory. If you turn debug on in your wp-config.php file then you may be able to see more detail of what is happening.

You can free up some memory by temporarily disabling all other WP plugins. I imported a fairly large forum and I ended up having to export my data to a copy of my site on my local computer where I could bump up PHP’s memory quite high.

However, if I boost that limit in my php.ini file to 500M and confirm that the memory limit is indeed 500M in php_info(), I still get the same error on import.

Any ideas on what memory limit I need to set? The machine itself has 1024M of ram

“free -m” tells me:

total used free shared buffers cached

Mem: 1024 705 318 0 6 424

-/+ buffers/cache: 274 749

Swap: 2047 38 2009

I should also mention that I re-wrote the import script so that bb_cache_first_posts doesn’t take all topics at once in on single array, but instead breaks them up for processing into chuncks of 20 using array_chunck

I found that bumping the memory limit up in my php.ini wasn’t enough. If I’m reading the WordPress admin code right, it sets a memory limit which may actually be lower than what you’re trying to use and it overrides your settings.

I added the following overrides to my wp-config.php file and that allowed me to complete the import. This was on a local machine with a large forum so you would probably want to try it with a lower limit to start.

Once I increased the memory limits in my php.ini AND set defined those limits in my wp-config.php it solved it. I’d also make sure all other plugins are disabled just to be sure they aren’t setting anything. I know I’ve seen at least one plugin that tried to increase memory limits.

The same thing happened to me. You need to rename the tables back to wp_users and wp_usermeta. You can do this with the command line mysql client…or with phpmyadmin. Depending on your version, you should be able to click on the table name. This gives you a new page with that table’s info. Then under “operations” in the top right, you should find a menu to change the name of the table back to the original name.