Jump to content

Recommended Posts

this is the error

 

An error occurred in script '/home/DOMAIN/public_html/csvtophp/classes/dn_records_csv.php' on line 46:

Query: LOAD DATA INFILE '/home/DOMAIN/public_html/csvtophp/csv_storage/TECH016348708201310PM.csv' INTO TABLE `dn_records_temp` FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"' ESCAPED BY '\\' IGNORE 1 LINES (`ACKNOWLEDGED`,`MGT_AREA`,`TECH_NUMBER`,`UNITS`,`CSG_STATUS`,`WORK_ORDER_TYPE`,`CSG_LAST_CHANGED_DATE`,`AUTO_ASSIGNED_TECH_NUMBER`,`SCHEDULED_DATE`,`ACTIVITY`,`CUSTOMER_NAME`,`CUSTOMER_PHONE`,`CSG_ACCT_NUMBER`,`WORK_ORDER_NUMBER`,`MDU`,`CUSTOMER_ADDRESS`,`CUSTOMER_CITY`,`CUSTOMER_ZIP`,`SERVICE_CODES`,`HARDWARE_DELIVERY`,`CLASSES`,`WO_CREATE_DATE`,`WO_INSERT_DATE`,`REASON1`,`REASON2`,`REASON3`,`REASON4`,`RESO1`,`RESO2`,`RESO3`,`RESO4`,`NBU`,`RR_CANDIDATE`,`RBU_WORKED`,`CATEGORY`,`SEGMENT_OUTPUT`,`SECONDARY_PH`,`RETAILER_NAME`,`WORK_ORDER_STATE`,`ROUTE_DATE`,`ROUTE_ID`,`ROUTE_NAME`,`ROUTE_STOP_SEQUENCE`,`USERLOGINID`,`ONSITE_TIME`,`COMPLETE_TIME`,`ESTIMATED_DURATION`,`MILEAGE`,`SCHEDULE_STATUS`,`VAN_DESCRIPTION`,`RADIO_DESCRIPTION`,`PREVIOUS_SCHEDULED_DATE`,`CUSTOMER_STATE`,`TECH_STATE`,`SECOND_ASSIGNED_TECH`,`DISPATCHER_NOTES`,`ACTIVE`,`VISITED`,`LEP`,`DEADLINE`,`AGE`,`PRECALL_STATUS`,`WO_COST`,`ACCT_DESIGNATION`,`COMPASS`,`NETWORKS`,`CHANNELS`,`OTA`,`WB`)

MySQL Error: Can't get stat of '/home/DOMAIN/public_html/csvtophp/csv_storage/TECH016348708201310PM.csv' (Errcode: 13)

 

I have no idea what is going on. It works on a local server, but after I upload it kicks out this error when trying to use .csv or .txt to import into MySql. I have no idea what it means by "Can't get stat..."

 

anyone?

Link to comment
https://forums.phpfreaks.com/topic/66556-load-data-infile-error/
Share on other sites

Hmm, the LOCAL command with LOAD DATA isn't allowed on any of my servers/hosting packages. But if the file isn't found, well that makes not since so it must mean it cannot access it. Hmmmm. This makes no sense at all since I've had it working on the server before.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.