Welcome Guest, Not a member yet? Register   Sign In
file does not exist error while reading a file
#4

[eluser]jedd[/eluser]
I'd suggest you use base_url() (or one of the variants) in preference to hard-coding './uploads'.

It looks like you're just confused about where the directory is in relation to where you think CI is - in a metaphysical kind of way.

A handy hint for future reference (I'm assuming you're running Apache2 here) is to, as root, run this command to watch the error log - as you hit the page you'll see if the server's tried to look for a file in a particular place, and failed:
Code:
#   tail  -f  /var/log/apache2/error.log


Messages In This Thread
file does not exist error while reading a file - by El Forum - 05-26-2009, 09:12 AM
file does not exist error while reading a file - by El Forum - 05-26-2009, 09:17 AM
file does not exist error while reading a file - by El Forum - 05-26-2009, 09:18 AM
file does not exist error while reading a file - by El Forum - 05-26-2009, 10:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB