Guest Posted May 11, 2010 Share Posted May 11, 2010 PS1.3 RC4(1.3.0.7)LINUX/PHP5.2情况:在BO,第一遍利用CSV文件导入目录后,FO可以成功显示所有目录,但有错误提示 如下图。但第二遍导入修改后CSV文件时候,勾选删除所有原目录,后导入,发现FO没有任何目录显示,进入BO检查,发现目录属性中的GROUP ACCESS的勾选项,无论是目录还是子目录,均被置空,所以FO 无法显示。大家来看看,有没有遇到类似情况的?这到底是什么问题?还是RC4的BUG?BTW: 如何在BO删除所有的目录??先谢谢大家啦! Link to comment Share on other sites More sharing options...
21846657 Posted May 12, 2010 Share Posted May 12, 2010 Hi,你的13RC4是由其他版本update的还是fresh install的? BTW: 如何在BO删除所有的目录?? 在BO删除所有目录,有三种方法:1. Back Office >> Catalog >> 选择各目录的后的红色X图标,然后狂点鼠标。2. 在DB里,truncate这些tables:ps_category, ps_category_group, ps_category_lang, ps_category_product3. Back Office >> Tools >> Import >> 选择categories,勾选Delete all categories before import,然后导入只有一个目录的CVS Link to comment Share on other sites More sharing options...
Guest Posted May 12, 2010 Share Posted May 12, 2010 This bug has been fixed on SVN version at revision 2287. By Alain Folletete 我可以删除所有的目录,但是导入CSV的时候,结果一样,也是GROUP ACCESS都是空置了。IMPORT的时候勾选删除现有所有目录,对DB操作是否和自己在DB中删除相关表格一样?我每次导入的时候都有选择删除现有目录,但是结果都是GA空置了。 Link to comment Share on other sites More sharing options...
21846657 Posted May 12, 2010 Share Posted May 12, 2010 下面是官方的修复: Index: Category.php =================================================================== --- Category.php (revision 2286) +++ Category.php (revision 2287) [spam-filter] -689,6 +689,8 [spam-filter] $this->cleanGroups(); if ($list AND sizeof($list)) $this->addGroups($list); + else + $this->addGroups(array(1)); } static public function setNewGroupForHome($id_group) 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