当前位置:Gxlcms > PHP教程 > Thinkphp3.1.3CannotredeclareT()

Thinkphp3.1.3CannotredeclareT()

时间:2021-07-01 10:21:17 帮助过:63人阅读

Cannot redeclare T() (previously declared in D:\xampp\htdocs\ThinkPhp\Common\common.php:25)
错误位置

FILE: D:\xampp\htdocs\ThinkPhp\Common\common.php  LINE: 56

ThinkPHP3.1.3 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]

刚下载的包,导入项目运行报这个错,应该如何解决


回复讨论(解决方案)

http://www.thinkphp.cn/topic/3047.html

搭建好运行环境后, 并在Index.php添加了
define('APP_DEBUG',TRUE);
require 'ThinkPHP.php';

运行后报错, 请问如何解决? 谢谢
Fatal error: Cannot redeclare t() (previously declared in E:\DevSoftware\AppServ\www\ThinkPHP\Common\common.php:25)

人气教程排行