![]() |
File Folder Is Not Writable - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: File Folder Is Not Writable (/showthread.php?tid=434) |
File Folder Is Not Writable - djcata - 12-03-2014 i get File Folder Is Not Writable when i go to certain pages , what does it means ? RE: File Folder Is Not Writable - djcata - 12-05-2014 i cheked permissions and are ok ,so i do not know what is the problem RE: File Folder Is Not Writable - Narf - 12-05-2014 No such error is triggered/displayed by CodeIgniter. It's caused either by your own code or an external library that you're using. RE: File Folder Is Not Writable - djcata - 12-05-2014 ok i will look ,problem is that is not my code RE: File Folder Is Not Writable - trentramseyer - 12-06-2014 Note: Codeigniter has a difficult time with relative paths to file locations, so if the code is trying relative you can attempt to use something like PHP Code: $_SERVER["DOCUMENT_ROOT"] . "/dir/script_name.php" RE: File Folder Is Not Writable - Narf - 12-06-2014 (12-06-2014, 04:54 AM)trentramseyer Wrote: Note: Codeigniter has a difficult time with relative paths to file locations, so if the code is trying relative you can attempt to use something like As I already said, this is not a CI-triggered error. Your hint couldn't help because "CodeIgniter has a difficult time with relative paths". RE: File Folder Is Not Writable - twpmarketing - 12-06-2014 (12-05-2014, 12:38 AM)djcata Wrote: i cheked permissions and are ok ,so i do not know what is the problem Did you check ownership of the folder? Under Linux, Apache will reject a file or folder without matching ownership. RE: File Folder Is Not Writable - djcata - 12-07-2014 i will check that too RE: File Folder Is Not Writable - trentramseyer - 12-07-2014 (12-06-2014, 12:42 PM)Narf Wrote:(12-06-2014, 04:54 AM)trentramseyer Wrote: Note: Codeigniter has a difficult time with relative paths to file locations, so if the code is trying relative you can attempt to use something like I am glad you already said that, and well, I don't care you did. Some newer programmers have a hard time distinguishing what is a Codeigniter only issue vs what is a common error with PHP. Many of Codeigniters docs use relative path as examples. For example, their upload class PHP Code: $config['upload_path'] = './uploads/'; However that may not work out of the box implementing those settings in some scenarios. So guess what, they will come to these forums and ask questions like this and we can try and be helpful, or you can post your nonsense of "too bad so sad" I understand most of your posts seem to show you are short on time for answers and patience with any question you don't deem valid, but the rest of use like to try and help others out without telling them to go pound sand. RE: File Folder Is Not Writable - Narf - 12-08-2014 (12-07-2014, 04:01 PM)trentramseyer Wrote:(12-06-2014, 12:42 PM)Narf Wrote:(12-06-2014, 04:54 AM)trentramseyer Wrote: Note: Codeigniter has a difficult time with relative paths to file locations, so if the code is trying relative you can attempt to use something like My answers are short because I try to be precise and not shoot in the dark when I don't have to. Nothing in this thread has hinted at an issue with absolute vs. relative paths, yet you're trying to help with exactly that and you're citing CI's "difficult time" with absolute vs. relative after it was already known that the issue at hand is not triggered by CI. Sure, sometimes a relative path won't work while an absolute would, but it has nothing to do with permissions ... Point is, it's nice that you're trying to help, but you're helping with the wrong problem. |