이 솔루션을 찾고 있는데 아무 것도 저에게 효과가없는 것 같습니다. 거래는 이미 다른 프로젝트에서 동일한 라이브러리 (PHPExcel) 잘 작동했지만 지금은 무엇이 잘못되었는지 알지 못합니다.require_once() [function.require] : 실패한 열기가 필요합니다.
두 프로젝트에서 CodeIgniter를 사용하고 있지만 PHP 버전 문제인지 또는 잘못된 작업을 수행하고 있는지 알 수 없습니다. 그래서, 여기에 코드입니다 :
$this->load->library('PHPExcel');
require_once (base_url().'applications/proyect/libraries/PHPExcel/Cell/AdvancedValueBinder.php');
이 표시됩니다 :
A PHP Error was encountered
Severity: Warning
Message: Users::require_once(http://localhost/my_proyect/applications/proyect/libraries/PHPExcel/Cell/AdvancedValueBinder.php) [function.Usuarios-require-once]: failed to open stream:
An error occurred during the connection attempt because the connected party did not properly respond after a period of time, or there was an error in the connection established because connected host has failed to respond
Fatal error: Users::require_once() [function.require]:
Failed opening required 'http://localhost/my_proyect/applications/proyect/libraries/PHPExcel/Cell/AdvancedValueBinder.php' (include_path='.;C:\php5\pear'
나는 C:\php5\pear
일이 무엇인지 모르겠지만, 나는이 require_once
문제를 처리 할 수 없습니다.
고맙습니다. 라이브러리 폴더에서 phpExcel을 사용하고 있습니다.로드 -> 라이브러리를 호출하면 phpExcel이 제대로 작동합니다. 이전 proyect에서 약간의 문제가 있었고 require_once를 사용해야 만했기 때문에 그렇게했습니다. 문제는 요구 사항과 함께 있지만 더 이상 사용하지 않아도되므로 부분적으로 해결됩니다. – hedka77
도움이 되셨 다행입니다! 부분적으로;) –