Welcome Guest, Not a member yet? Register   Sign In
"The upload path does not appear to be valid"
#8

[eluser]ellipsis[/eluser]
Actually I just read your recommendation of that tut in another thread and was watching it to see what I did wrong and nobody, including me, noticed that I loaded the upload library in Files() and then loaded it again in do_upload() with the $config array appended to it and by checking the logs I noticed these interesting lines:
Quote:DEBUG - 2009-06-28 00:48:31 --> Upload Class Initialized
DEBUG - 2009-06-28 00:48:31 --> Upload class already loaded. Second attempt ignored.

as soon as I removed the line from Files(), everything was just fine :lol: and now I can use the code I wanted to use in the first place Big Grin

Code:
$upath='uploads/files/'.$this->session->userdata('uid').'/';    
$config['upload_path'] = $upath;

That video was a life saver. Thanks.


Messages In This Thread
"The upload path does not appear to be valid" - by El Forum - 06-27-2009, 02:05 PM
"The upload path does not appear to be valid" - by El Forum - 06-27-2009, 02:33 PM
"The upload path does not appear to be valid" - by El Forum - 06-27-2009, 02:38 PM
"The upload path does not appear to be valid" - by El Forum - 06-27-2009, 02:54 PM
"The upload path does not appear to be valid" - by El Forum - 06-27-2009, 03:02 PM
"The upload path does not appear to be valid" - by El Forum - 06-28-2009, 05:37 AM
"The upload path does not appear to be valid" - by El Forum - 06-28-2009, 05:54 AM
"The upload path does not appear to be valid" - by El Forum - 06-28-2009, 06:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB