• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upload file problem

#1
[eluser]Speedy`[/eluser]
Hello ,

I have searched on this forum and tried everithing but nothing resolved my problem.

I am trying to upload a fie using the example from CI userguide and I'm getting an error.

"The upload path does not appear to be valid."

I though it was from XAMPP but I uploaded on my hosting account and same problem

I add this at line 713 on upload.php and get the link and seems it is ok

print $this->upload_path; shows me http://localhost/test/media/

The config looks like these
$config['upload_path'] = base_url().'media/';

can anybody help me with this problem?

#2
[eluser]InsiteFX[/eluser]
Code:
$config['upload_path'] = './media/';

InsiteFX


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.