Fatal error: Cannot redeclare get_root_category() (previously declared in D:\wwwroot\xxxxx如何处理

如题所述

这句话的意思是 get_root_category()重复定义,该函数在 d:\wwwroot\xxxxx 中已定义过了。
如果 get_root_category() 是在其他脚本文件中定义 ,通过 require() 或 include()引用的话,
可以将require()或include() 改成require_once()或 include_once()试一下。
温馨提示:答案为网友推荐,仅供参考
第1个回答  2011-04-15
重复定义了 换个名字 真服了
相似回答