关于thinkphp的Vendor导入第三方类库的奇怪有关问题

WBOY
Release: 2016-06-13 13:50:20
Original
949 people have browsed it

关于thinkphp的Vendor导入第三方类库的奇怪问题
php上传并读取execl文件到数据库


在本地测试是无误的,本地是windws

上传到服务器,服务器是linux

之后,总是提示服务器500错误


经过不断的注释检查

发现问题出在这个上面  

Vendor("Excel.reader");
thinkphp导入第三方类库的方法

这句注释之后,不会出现500错误,页面会往下执行

这个问题困扰了我好几天,一直没有检查出原因

我反复检查了文件名类名看有没有大小写什么的,一般的问题都检查过了,但一直没有检查出问题,一有这句就提示500错误

求指点

------解决方案--------------------
Vendor("Excel.reader");
进类库里去调试
------解决方案--------------------
我记得thinkphp中有对vender的说明,找来看看吧!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!