我在导入模板的时候出现这个错误求救啊!Warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='.:/php/includes:/siteroot/appserver/ZF/library') in /siteroot/wwwroot/bbs/include/template.func.php on line 25Current template pack do not have a necessary language file 'templates.lang.php' or have syntax error!

解决方案 »

  1.   

    Current template pack do not have a necessary language file 'templates.lang.php' or have syntax error!目标模板包缺少一个语言包文件templates.lang.php或者解析错误。
      

  2.   

    但是的确石油个 templates.lang.php的 晕啊
      

  3.   

    确认你使用的风格和默认风格内的templates.lang.php文件的权限问题,这个问题不要光看这个文件所在目录还要看上级目录,linux主机上这类问题比较麻烦的,设置的时候一定要把上级目录一直到文件本身的权限全部要设置对才行,最简单的方法是使用ftp连接上以后整个bbs目录下所有目录和文件均设置为777(用flashfxp做比较好)
      

  4.   

    chmod -R 777 /siteroot/wwwroot/bbs/include