News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Converting members...Wrong value type sent to the database. Date expected. (birt

Started by lifesucks, June 06, 2013, 11:47:00 PM

Previous topic - Next topic

lifesucks

Hi,

I am trying to convert from mybb 1.6 to smf and i am facing these issues. Can someone help me here

Converting members...Wrong value type sent to the database. Date expected. (birthdate)

Then i did this

Code: [Select]
---* {$to_prefix}members

add after:
Code: [Select]
---{
/* fix invalid birthdates */
if(!preg_match('/\d{4}-\d{2}-\d{2}/', $row['birthdate']))
   $row['birthdate'] = '0001-01-01';
---}




Then also i am getting the same error message

Converting...
Converting members...Wrong value type sent to the database. Date expected. (birthdate)

Advertisement: