[英]I am getting an error while trying to include reader.php
I keep getting this error even when I have put reader.php in the same directory. 即使将reader.php放在同一目录中,我仍会收到此错误。
require_once(): Failed opening required 'Spreadsheet/Excel/Reader/OLERead.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/spywgc/reader.php on line 31 require_once():无法在/var/www/spywgc/reader.php中打开所需的'Spreadsheet / Excel / Reader / OLERead.php'(include_path ='。:/ usr / share / php:/ usr / share / pear')失败在第31行
Look at the reader.php file to see of if the path to the OLERead.php file is hard coded to a specific path. 查看reader.php文件,以查看OLERead.php文件的路径是否硬编码为特定路径。 If so, modify the path to reflect where you placed the OLERead.php file. 如果是这样,请修改路径以反映您放置OLERead.php文件的位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.