Home >Backend Development >PHP Tutorial >Thinkphp 3.1.3 Cannot redeclare T()

Thinkphp 3.1.3 Cannot redeclare T()

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:44:531257browse

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)

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn