![]() |
Integrate Zend Framework Barcode Library2 in Codeigniter 2.1.3 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Integrate Zend Framework Barcode Library2 in Codeigniter 2.1.3 (/showthread.php?tid=58123) |
Integrate Zend Framework Barcode Library2 in Codeigniter 2.1.3 - El Forum - 05-18-2013 [eluser]zoellsche[/eluser] Hello, I have a problem to integrate the zend framework 2 (i want use the barcode class) in CI 2.1.3. This is the tutorial i used http://www.beyondcoding.com/2008/02/21/using-zend-framework-with-codeigniter/ but this error massage is shown after I load the barcode zend class ($this->zend->load('Zend/Barcode/Barcode')) Error:Fatal error: Class 'Zend_Barcode' not found So far I found no answer at google.... The tuts are only for older versions... There must be something wrong with the path ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . APPPATH . 'libraries'); require_once(): Failed opening required 'Zend/Barcode.php' (include_path='.;C:\\xampp\\php\\PEAR;application/libraries') and if i you use require direct i got this error: Class 'Zend_Barcode' not found. Do you have any solution for this problem? Integrate Zend Framework Barcode Library2 in Codeigniter 2.1.3 - El Forum - 05-27-2013 [eluser]XMadMax[/eluser] Hey, The Zend libraries can be installed under /third_party/Zend I modified /libraries/Zend.php (the loader) : Code: class Zend Also, remember to instantiate the class after load: Code: $this->load->library('Zend','Zend/Barcode/Barcode'); |