I'm trying to run a script on localhost (on WAMPServer 2.0):
http://localhost/pr/produce_report.php?partno=182798&debug=yes
This is the output:
Warning: require_once(PHPExcel/Classes/PHPExcel.php) [function.require-once]: failed to open stream:
No such file or directory in /home/partrepo/public_html/create_report.php on line 4
Fatal error: require_once() [function.require]: Failed opening required 'PHPExcel/Classes/PHPExcel.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php:/home/partrepo/php') in
/home/partrepo/public_html/create_report.php on line 4
My document root is "E:\wamp\www". The directory containing the script is "E:\wamp\www\pr". Look at the paths, they look like the Linux paths on my online WEBSERVER.
The script I'm trying to run, produce_report.php DOES NOT have a require for PHPExcel. I don't even have it on my system any more. Why would it say that the require is in create_report.php anyway when I'm trying to run produce_report.php? These are the only two requires I have in produce_report.php:
require_once('tcpdf/config/lang/eng.php');
require_once('tcpdf/tcpdf.php');
I have cleared my browser cache. I cannot currently recycle my server because another script is currently running and I don't want it to stop.
Any ideas as to why this is happening?