SMF Support > IPB

[SMF Converter] IPB 3.0

<< < (2/13) > >>

I had this problem too change the date structure in the SQL file provided.

mine hangs on coverting topics when it gets to topic 26546 it hangs talking about a duplicate key.

Fatal error: Call to undefined function loadDatabase() in /home/acropoli/public_html/ on line 414

i get this after enthering the pats

Please make sure you're using the converter to SMF 1.1.x on a SMF 1.1.12 installation, and the converter to SMF 2.0 RC4 on a SMF 2.0 RC4 installation.


--- Quote from: Sirandilas on November 04, 2010, 01:50:38 PM ---Converting members...Wrong value type sent to the database. Date expected. (birthdate) ? why :(

--- End quote ---

I've got this problem too. Please help ASAP!
My IPB version is 3.1.2

in ipb3_to_smf.sql find:

--- Code: ------* {$to_prefix}members
--- End code ---
add after:

--- Code: ------{
/* Fix for invalid birthdays */
if(!preg_match('/\d{4}-\d{2}-\d{2}/', $row['birthdate']))
$row['birthdate'] = '0001-01-01';
--- End code ---
then restart the conversion.


[0] Message Index

[#] Next page

[*] Previous page

Go to full version