Thinkphp 3.1.3 Cannot redeclare T()
程序员文章站
2024-02-06 12:37:58
...
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 ]
刚下载的包,导入项目运行报这个错,应该如何解决
错误位置
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)