desta88 / Codeigniter-Barcode

Create barcode generator for Codeigniter using Zend Library (Support Codeigniter 2 & 3)
MIT License
32 stars 52 forks source link

Non-existent class: Zend #2

Closed gutasaputra closed 8 years ago

gutasaputra commented 8 years ago

hello there, i have some issue with your library. when i tried to show my barcode, i got error like this

Non-existent class: Zend

please tell me what to do.

im using codeigniter v 3.05 zend framework v 2.49

thanks

desta88 commented 8 years ago

Hai man, Do you've to load your library into controller?

gutasaputra commented 8 years ago

halo @desta88

yes of course. btw i already fix this issue. the problem is on the zend class. all you need to is go to zend library, and change the name into zend.

desta88 commented 8 years ago

Great @gutasaputra,

But, What do you mean change the class of name? or? I'm must to try before

Thanks for your contribution..

gutasaputra commented 8 years ago

i download brand new zend lib. when i open those file, the class name is CI_Zend, thats why codeigniter will tell you this error : Non-existent class: Zend

when i change the class name into zend. everything work perfectly fine.

desta88 commented 8 years ago

Hay @gutasaputra

I think the issue is differences zend library version betwen you and me, I dont know it would be work on Codeigniter 2 or not?

But ASAP I'll try to your library and must work in Codeigniter 2 (You know in Indonesia Codeigniter 2 still familiar :ghost: )

Thanks for your contribution bro.. :+1:

workeywebworks commented 5 years ago

I do have the same problem the Zend library says Non-consistent class, I just rename the Zend class into Zend instead of CI_Zend..

Thank you man