rabx Posted October 8, 2012 Share Posted October 8, 2012 Hello, I am seeing issues after importing my clients into the tblclients table under my WHMCS database. By mapping the fields properly, I am able to produce an xls (MS Excel) file that contains my existing clients. As you know, to get a tab delimited file form XLS you save it as a .txt file. When viewing the .txt file using 'cat' the file is clean. Here is my import script: LOAD DATA INFILE '/home/whmcs/WHMCS_full-client-filtered.txt' INTO TABLE tblclients FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n' When viewing this file in phpmyadmin, this data looks clean. Here is the issue: When I log into WHMCS > Clients > View. Everything looks good. When I click on a client and see the summary, everything looks good. When I go to edit the client's details, I see strange symbols before and after every character. Bug? 0 Quote Link to comment Share on other sites More sharing options...
rabx Posted October 8, 2012 Author Share Posted October 8, 2012 Resolved the issue but importing the tblclients data and then exporting it to SQL. When exporting it to SQL I noticed /0 in front of everything. Did a find/replace in notepad and re-imported. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted October 9, 2012 Share Posted October 9, 2012 Character encoding problem, or something odd about your import script - we pull in clients from over a dozen external systems and other WHMCS installs and never have an issue. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.