0
即時消息遇到麻煩,包括phpexcel
當我運行它在我的local server
它的工作,但後我UP它在一些託管網站它不是工作了。有人可以幫我解決這個問題嗎?警告:包括(/../類/ PHPExcel/IOFactory.php):未能打開流
線3
include('/../Classes/PHPExcel/IOFactory.php');
錯誤
Warning: include(/../Classes/PHPExcel/IOFactory.php): failed to open stream: No such file or directory in /srv/disk11/2468402/www/censored/teacher/data/subject_model.php on line 3
目錄
老師
類
- PHPExcel
- IOFactory.php
- PHPExcel
數據
- subject_model.php
刪除起始斜槓。應該是'include('../ Classes/PHPExcel/IOFactory.php');' – Marwelln
你只需要向上移一層'../'不是'/../' – Akintunde007
'Warning:include(../類/ PHPExcel/IOFactory.php):未能打開流:在第3行/srv/disk11/2468402/www/censored/teacher/data/subject_model.php中沒有這樣的文件或目錄仍然出現錯誤:3 – nethkennnnn