VBulletin ImpEx error: “headers already sent by”

August 29, 2010

in vbulletin

So after a couple of weeks of preparation I finally hit the go button on my e107 to vBulletin forum migration.

I had run tests, built bbcodes, checked that all my old functionality worked and all looked good to go.

And, despite having run plenty of test imports, when the big day came I got this error when trying to enter my customer number into Impex:

headers already sent by (output started at /usr/www/users/xxx/impex/ImpExConfig.php:1) in /usr/www/users/xxx/impex/impex_auth.php on line 22

Now I really don’t understand how this happened as I had run vBulletin’s Impex e107 import routine several times and had no such problem – just goes to show that no matter how much preparation you do it can still all go wrong on the day!

What is the “headers already sent” error?

This happens when PHP tries to construct the page but a previous script has already outputted something – this can be anything, even just a single invisible space.

Normally when this error comes along you need to check that none of your scripts have any “white space” at the start or end of the <php> code.

Solution:

In the case of Impex I was able to just to re-upload the whole set of files an it all started working again.  Ensure your FTP software is configured to upload ASCII transfers.

The new forum can be seen here:  Samsung Netbook Forum.

Related posts:

  1. vBulletin User Profile Error: mktime() expects parameter 4 to be long

Leave a Comment

Previous post:

Next post: