0

我遇到了一个我无法真正弄清楚的问题 - 我无法让 class.upload 与 CodeIgniter 框架一起正常工作。

为了实现它,我尝试了此处提供的代码片段,但它仍然无法正常工作。我已经打开了登录,我得到的只是

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

4

1 回答 1

1

您提供的链接清楚地说明了

1. Copy the folder class.upload to libraries directory;

2. Create a new library with this code:

查看您的错误..您尚未在其中创建MY_Imagingapplication/library

于 2012-05-06T15:22:54.320 回答