From 82ec48bfd9264366124630fbb4fd3ee5ed6d81d8 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 14 May 2008 15:02:05 +0000 Subject: [PATCH] fixed bug in web lead loader and raised the reported errors to 1000000 git-svn-id: svn://192.168.202.10@863 3d104415-ff17-0410-8863-d5cf3c621b8a --- .../www/vicidial/new_listloader_superL.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/agc_2-X/branches/agc_2.0.4/www/vicidial/new_listloader_superL.php b/agc_2-X/branches/agc_2.0.4/www/vicidial/new_listloader_superL.php index 51c01ded..0b05dd69 100644 --- a/agc_2-X/branches/agc_2.0.4/www/vicidial/new_listloader_superL.php +++ b/agc_2-X/branches/agc_2.0.4/www/vicidial/new_listloader_superL.php @@ -20,11 +20,12 @@ # 70417-1059 - Fixed default phone_code bug # 70510-1518 - Added campaign and system duplicate check and phonecode override # 80428-0417 - UTF8 changes +# 80514-1030 - removed filesize limit and raised number of errors to be displayed # # make sure vicidial_list exists and that your file follows the formatting correctly. This page does not dedupe or do any other lead filtering actions yet at this time. -$version = '2.0.4-24'; -$build = '80428-0417'; +$version = '2.0.4-25'; +$build = '80514-1030'; require("dbconnect.php"); @@ -551,7 +552,7 @@ function ParseFileName() { $good++; } else { - if ($bad < 10000) {print "
record $total BAD- PHONE: $phone_number ROW: |$row[0]| DUP: $dup_lead $dup_lead_list\n";} + if ($bad < 1000000) {print "
record $total BAD- PHONE: $phone_number ROW: |$row[0]| DUP: $dup_lead $dup_lead_list\n";} $bad++; } $total++; @@ -766,7 +767,7 @@ function ParseFileName() { $good++; } else { - if ($bad < 10000) {print "
record $total BAD- PHONE: $phone_number ROW: |$row[0]| DUP: $dup_lead\n";} + if ($bad < 1000000) {print "
record $total BAD- PHONE: $phone_number ROW: |$row[0]| DUP: $dup_lead\n";} $bad++; } $total++; @@ -787,7 +788,7 @@ function ParseFileName() { print ""; } -#if ($leadfile && filesize($LF_path)<=8388608) { +if ($leadfile) { $total=0; $good=0; $bad=0; $dup=0; $post=0; $phone_list=''; if ($file_layout=="standard") { @@ -990,7 +991,7 @@ function ParseFileName() { $good++; } else { - if ($bad < 10000) {print "
record $total BAD- PHONE: $phone_number ROW: |$row[0]| DUP: $dup_lead\n";} + if ($bad < 1000000) {print "
record $total BAD- PHONE: $phone_number ROW: |$row[0]| DUP: $dup_lead\n";} $bad++; } $total++; @@ -1216,7 +1217,7 @@ function ParseFileName() { $good++; } else { - if ($bad < 10000) {print "
record $total BAD- PHONE: $phone_number ROW: |$row[0]| DUP: $dup_lead\n";} + if ($bad < 1000000) {print "
record $total BAD- PHONE: $phone_number ROW: |$row[0]| DUP: $dup_lead\n";} $bad++; } $total++; @@ -1456,7 +1457,7 @@ function ParseFileName() { } #} else if (filesize($leadfile)>8388608) { # print "
ERROR: File exceeds the 8MB limit.
"; -#} +} ?>