Module User Imports

  • warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
  • warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.

ผมได้สร้าง ตาม format ที่มีตัวอย่างให้แต่พอผม Imports เข้าไปมันได้แค่ อีเมลืกับ พาส ส่วน user มันไม่เป็นชื่อ User เลยงับ ใครพอใช้เป็นบ้างครับ

sugree's picture

username ที่ได้กลายเป็นยังไงครับ ยกตัวอย่างหน่อย

ex.
ใส่ชื่อ monthria ค่าที่อยู่ในตารางเป็น okjukhbdhgyj แบบนี้เลยครับ

sugree's picture

ขอตัวอย่าง CSV ที่ใช้หน่อยครับ

First Name,Last Name,Password,Telaphone,Fax,Email
monthira,Klinrod,030006,303,0-2XXX-XXXX,monthira@aaaa.co.th
tuangporn,Chuetat,060035,301,0-2XXX-XXXX,tuangporn@aaaa.co.th
samrej,Thinna,010067,302,0-2XXX-XXXX,samrej@aaaa.co.th

sugree's picture

ดูเหมือนจะไม่มีอะไรผิดปกติ ตอนบันทึกไฟล์นี้เลือกเป็น DOS หรือ UNIX ครับ

DOS งับ
ตอนนี้ผมมทำได้แล้วงับ ต้องกำหนดค่า ID สักอย่างตอน Import ค่าเริ่มต้นเป็น 0 ให้กำหนดเป็น 1 ก็ได้แล้วงับ
ขอบคุณงับ

ย้าย Codenone

ประกาศย้าย Codenone ไปใช้ Forum ของ Blognone แทนครับ ตามไปตั้งกระทู้ต่อได้ที่ Codenone Forum (รายละเอียดอ่านจากกระทู้ ย้าย Codenone ไปรวมกับ Blognone)

กระทู้เก่าๆ จะย้ายตามไปในภายหลัง ตอนนี้ปิดการโพสต์กระทู้ไว้ เหลือไว้เฉพาะอ้างอิงเท่านั้น