shellxie Posted January 16, 2012 Share Posted January 16, 2012 我是1.4.6.2版本。上传英文分类目录没有问题。上传中文分类目录时,在本地主机WAMP环境下也是可以的。我开始上传到GODADDY虚拟空间,上传不了。我有两个分类文件。一个是一级分类,名叫cat1.csv;一个是二级分类,名叫cat2.csv.其中的Name列,我都用中文。上传好两个文件后。我先选好“分类”,选中上传好的cat1的csv文件,点击‘下一步’,结果发现在“名称”这列都是空的。这个文件没法批量上传了。再看二级分类cat2.csv文件,选中后,点击“下一步”,还好,“名称”列正常列出来分类的名称,再继续点击“导入CSV数据”,结果出错“ Cannot be saved Category->name is empty for default language.” 我用英文的类别名称时,都能正常CSV导入,我把以上的中文类别名称的文件导入我的本地主机(WAMP环境)时,能正常导入,可就是往Godaddy虚拟主机里导入中文目录时就出错,请明白人告诉我错在哪儿?我反复试验,折腾一天了,还没找到错处。谢谢帮忙。 我刚才想到,这个问题是否与我的虚拟空间的数据库有关?我用的是Godaddy的Linux+Apache+MySQL+PHP空间。是否由于Godaddy的空间不支持中文字段的商品名称呢? 我已经去信询问Godaddy了。请大家帮忙,谁有这方面的经验。 Link to comment Share on other sites More sharing options...
shellxie Posted January 17, 2012 Author Share Posted January 17, 2012 现已查明原因,因为Godaddy数据库的字符集和字符集校对的设置不对。在我本地电脑的WAMP环境可以导入含有中文的批量文件,在Godaddy空间就出错。我把本地电脑数据库的字符集和Godaddy空间数据库的字符集都检查一下,作个对比,发现他们不一样,但我也不懂,不知怎么修改Godaddy空间的我的数据库。我还不知道怎么设置Godaddy空间数据库的字符集和校对规则,请知道的朋友告知,谢谢。 Link to comment Share on other sites More sharing options...
shellxie Posted January 31, 2012 Author Share Posted January 31, 2012 请版主关注下这个问题,好吗? Link to comment Share on other sites More sharing options...
xzl08 Posted September 15, 2012 Share Posted September 15, 2012 没人关注~来关注下~这是在prestashop第二个回复 Link to comment Share on other sites More sharing options...
yooes Posted October 5, 2012 Share Posted October 5, 2012 (edited) 误闯进这个论坛了,, 有空可以看下我的网站 http://www.nfljerseysyes.com/ Edited October 5, 2012 by yooes (see edit history) Link to comment Share on other sites More sharing options...
feiyingjiancg Posted March 19, 2013 Share Posted March 19, 2013 顶楼主,围观………期待问题解决。 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now