Importing Customers ...
................................................................................ ................................................................................ .......................................200 -|
................................................................................ ................................................................................ .................................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 '
[email protected]', customers_default_address_id = '507', customers_teleph' at line 7
What can I do to dismiss this problem?
Do you have Magic Quotes ON?
My guess is that you have magic quotes off.
If this is unknown to you below these two lines about line 320
Code:
// Test access and connect to source data base
$connected = mysql_connect(
$dataopened = mysql_select_db(
add this code it will test and set magic quotes
Code:
// Test Magic Quotes
if(get_magic_quotes_gpc()) {
echo 'Magic Quotes = ON';
} else {
echo 'Magic Quotes = OFF';
echo '<br />I will turn Magic Quotes ON';
set_magic_quotes_runtime(true);
if(get_magic_quotes_gpc()) {
echo 'Magic Quotes NOW ON';
} else {
echo 'Magic Quotes FAILED';
}
}
You should also place the code above this line about 530.
Code:
echo 'Starting Importation of osCommerce Data Into <b>'.$target_db.'</b> Zen Cart Data Base<br />';