Hi guys,
I need help. While converting my IPB to SMF 2 I encountered this error:
Converting calendar events...Error in convert script - line 571!
Unsuccessful!
This query:
TRUNCATE `travels4_sm4440`.kdq_calendar
SELECT
event_id AS id_event,
event_unixstamp AS start_date, event_unixstamp AS end_date,
'0' AS id_board, '0' AS id_topic, SUBSTRING(event_title, 1, 60) AS title, event_member_id AS id_member
FROM `travels4_4xforum`.ibf_cal_events
LIMIT 0, 500;
Caused the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT
event_id AS id_event,
event_unixstamp AS start_date, event_unixstamp AS' at line 2
I'm a newbie so please be gentle haha :D
Thanks in advance, guys.
Which converter? From which IPB version?
Quote from: margarett on December 01, 2014, 09:55:10 PM
Which converter? From which IPB version?
IPB version 2.3.x to SMF 2
Thanks, Margarett.
And are you using the converter from here http://download.simplemachines.org/?converters;software=invision ?
This one: "Invision 2.3 to SMF 2-0"?
edit: there is an error, yes. Open the .sql file, line 551, you will find this:
TRUNCATE {$to_prefix}calendar
It misses a ; at the end, so it should become:
TRUNCATE {$to_prefix}calendar;
Pesky semicolons.
Thanks. Now this is the error I'm getting:
Converting calendar events...Wrong value type sent to the database. Date expected. (start_date)
I'm sorry, I have no access to a IPB database. Can you please take a printscreen of some records of your IPB's "cal_events" table?
Here are screenshots of some of the tables (2 parts to show all available columns) :
http://awesomescreenshot.com/0d73ygkud0
http://awesomescreenshot.com/0e43ygl808
Could you please order that table for "event_unixstamp" (click on the column header)?
I'm trying to understand if you have some null or empty rows in this column ;)
Quote from: margarett on December 03, 2014, 05:46:47 AM
Could you please order that table for "event_unixstamp" (click on the column header)?
I'm trying to understand if you have some null or empty rows in this column ;)
I checked and there weren't any null or empty rows :(
I have to change something on the converter to test, then. I'm not on the computer, will check later ;)
Quote from: margarett on December 03, 2014, 08:53:03 AM
I have to change something on the converter to test, then. I'm not on the computer, will check later ;)
OK. Thanks for the time. Really appreciate it.
Try this, please. If it succeeds, make sure that the dates are correctly converted ;)
Quote from: margarett on December 04, 2014, 02:26:43 PM
Try this, please. If it succeeds, make sure that the dates are correctly converted ;)
Thanks! Will try it and update you :)
Got this error :(
Converting members...Wrong value type sent to the database. Date expected. (birthdate)
Which means that worked :)
Let me do the same for members.
Quote from: margarett on December 05, 2014, 06:36:39 PM
Which means that worked :)
Let me do the same for members.
Thanks!
Quote from: margarett on December 05, 2014, 06:36:39 PM
Which means that worked :)
Let me do the same for members.
Hi Margarett. Any updates?
Thanks.
Ups, I forgot, sorry :(
This is different from the other issue, though. And now that I think about it, members are converted before calendar so this error should have triggered first...
Can you get me a printscreen of your members table, with the columns bday_year, bday_month, bday_day? Also please check for inconsistent entries in these columns
And of course, mask out sensitive informations from your members ;)