-
Notifications
You must be signed in to change notification settings - Fork 158
Upload Runtime Notice #24
Comments
I would assume (or at least hope) that Codeigniter 3 has multi-upload ability built it. I would also assume that Codeigniter 3 is going to break a lot of libraries, such as this CodeIgnite-Multi-Upload. |
I am getting this error when I tried to upload file: Severity: Runtime Notice Message: Declaration of MY_Upload::initialize() should be compatible with CI_Upload::initialize(array $config = Array, $reset = true) Filename: libraries/MY_Upload.php Line Number: 444 Please guide us that how can we resolve this issue? |
@ayyazzafar are you using CodeIgniter 2 or 3? |
I modify a new version support "CodeIgniter 3" |
Solution for Codeigniter 3
|
In My_upload.php file replace the line 385 by the following code //Sanitize the file name for security. // Sanitize the file name for security |
Getting this message running Codeigniter 3.0.0 RC3
Declaration of MY_Upload::initialize() should be compatible with CI_Upload::initialize(array $config = Array, $reset = true)
The text was updated successfully, but these errors were encountered: