Home > Backend Development > PHP Tutorial > thinkphp下传异常解决办法

thinkphp下传异常解决办法

WBOY
Release: 2016-06-13 13:24:16
Original
980 people have browsed it

thinkphp上传错误解决方法
点击进入二级页面出错  修改 .htaccess 文件,
将 RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 替换为 RewriteRule ^(.*)$ index.php/$1 [QSA]首页打不开, 文件夹大小写问题, 万网服务器上是要区分大小写的。后台报错, 把main_top.php 去掉引用 global.php

'DB_HOST'=>'数据库地址的ip',

在控制器中echo出测试的东西时,上传时要将这个屏蔽掉或者去掉,不然后面的程序无法执行

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template