PDA

View Full Version : Fatal error during the import of posts



be cool
Sun 25th Nov '07, 9:35pm
Hi guys

I tried to import my data of my live site to vb using the import script downloaded here. Everything went fine until it was the time to import the posts.


Source - SMF 1.1.4
Target - vBulletin 3.6.8 Patch Level 2 (http://www.vbulletin.com/forum/../)
Module- Importing postsThis is the fatal error I got


Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 40359 bytes) in /data/members/paid/d/o/my site.com.com/htdocs/vb-test/test/impex/ImpExFunction.php on line 247And this was around line 247 at the ImpExFunction.php file


$htmlcode = preg_replace('#<p\s*/?>#i', "\n\n", $htmlcode);Any suggestion as to what might cause this? Thank you


Edit: I solved it. Maybe it can help others that will run into the same problem. I lowered the number of importation from 2000 that it was by default to 500 and that did the trick.

I hope that I won''t run into more problems.

Good night everyone

be cool
Mon 26th Nov '07, 3:13pm
A small update. The conversion went just fine. I repeated the process 3-4 times and every time it went without a hitch. The on line manual has been a great help, searching the other posts here has helped a lot as well.