I have encountered a problem I can’t really figure out – I can’t get the class.upload to work properly with CodeIgniter framework.
To implement it I tried the code snippet supplied here but it is still not working. I’ve turned logging on and all I get is
ERROR – 2012-05-06 17:51:24 –> Severity: Warning –>
include_once(application/core/MY_Imaging.php) [function.include-once]: failed to
open stream: No such file or directory
/var/www/mypage/application/config/config.php 376
ERROR – 2012-05-06
17:51:24 –> Severity: Warning –> include_once() [function.include]: Failed opening
‘application/core/MY_Imaging.php’ for inclusion
(include_path=’.:/usr/share/php:/usr/share/pear’)
/var/www/mypage/application/config/config.php 376
It tries to include MY_Imaging.php for reasons unknown to me. I haven’t made any libraries for codeigniter, but I know that by using $this->load->library("imaging"); it should load library Imaging which it is not doing.
I’m currently out of ideas on how to solve this.
Thank you for your time
The link you provided clearly says
Looking at your error.. You haven’t created the library
MY_Imaginginapplication/library