Simple Machines Community Forum

SMF Support => Converting to SMF => IPB => Topic started by: pjn on April 18, 2010, 01:52:24 AM

Title: eror when i upload sql
Post by: pjn on April 18, 2010, 01:52:24 AM
שאילתת SQL:

/* ATTENTION: You don't need to run or use this file! The convert.php script does everything for you! *//******************************************************************************/ ---~ name : "Invision Power Board 2"/******************************************************************************/ ---~ version : "SMF 2.0" ---~ settings : "/conf_global.php" ---~ globals : INFO ---~ from_prefix : "`$INFO[sql_database]`.$INFO[sql_tbl_prefix]" ---~ table_test : "{$from_prefix}members"/******************************************************************************/ - -- Converting members...
/******************************************************************************/ TRUNCATE {$to_prefix}members;



MySQL אמר: 

#1064 - 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 '---~ name: "Invision Power Board 2"
/*******************************************' at line 4







what i need to do?
Title: Re: eror when i upload sql
Post by: Norv on April 18, 2010, 08:37:54 AM
Please don't import the sql file into MySQL. You only need to upload it, along with the convert.php file found in the same package (Downloads > Converters > your ipb version), in your SMF folder, then run the convert.php file.

Please see the proper procedure to convert: Converting to SMF (http://docs.simplemachines.org/index.php?board=4.0;sort=subject)
Title: Re: eror when i upload sql
Post by: pjn on April 18, 2010, 01:00:55 PM
ok i will try it...

thanx!