[Solved] Upload library issue |
No one?
In the meantime, I tried three things: 1 - unsetting the upload library and setting it again (as Code: unset($this->upload) 2 - creating an unload extension to the loader, using the first answer here, https://stackoverflow.com/questions/22209209 , and 3 - adding a third parameter when loading the class to apparently avoid collisions (by doing Code: $this->load->library('upload',$config,"idup") Code: $this->idup->do_upload('idcard') ... and no cigar. Same "The filetype you are attempting to upload is not allowed. You have not specified any allowed file types." error, except for the loader extension, which returns "Undefined property: MY_Loader::$_ci_loaded_files" instead. So yeah, any help would be really appreciated. To make it easier to test for anyone willing to, I isolated the controller and the view, which can be downloaded here: https://a.pomf.cat/gonuie.zip Copying them to /controllers and /views as in the folders and accessing //:localhost/project/uptest should have it running, errors and all. Thanks. |
Messages In This Thread |
[Solved] Upload library issue - by f6342222 - 10-10-2018, 02:28 PM
RE: Upload library issue - by f6342222 - 10-11-2018, 11:36 AM
RE: Upload library issue - by f6342222 - 10-11-2018, 05:52 PM
|