在Excel5.php中找不到类"PHPExcel" [英] Class 'PHPExcel' not found in Excel5.php

查看:239
本文介绍了在Excel5.php中找不到类"PHPExcel"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在PHPExcel中遇到以下错误:

I'm getting the following error in PHPExcel:

Fatal error: Class 'PHPExcel' not found in [...]/PHPExcel/Reader/Excel5.php on line 587

这很奇怪,因为我没有在网上搜索到它. PHPExcel在其原始位置工作,该位置上传到我复制它的位置的HTTPS服务器(一切正常).

This is pretty odd, because I haven't encountered it searching on the net. PHPExcel works in its original location which uploads to an HTTPS server (where everything works fine), which is from where I copied it.

PHPExcel中实际发生错误的行:

The line in PHPExcel where the error actually occurs:

$this->_phpExcel = new PHPExcel;

任何想法或建议都将不胜感激,谢谢!

Any ideas or suggestions at all would be appreciated, thank you!

推荐答案

此后,我已经通过重新安装整个程序包来解决此问题.完全不确定哪个文件或配置会导致该错误,可能与使用该代码的先前人员有关.但是无论如何,现在修复.

I've since fixed this by reinstalling the whole package. Not at all sure what individual file or configuration would have caused the error, might have been to do with previous person to use that code. But anyway, fixed now.

这篇关于在Excel5.php中找不到类"PHPExcel"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆