Welcome Guest, Not a member yet? Register   Sign In
File Folder Is Not Writable
#9

(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



PHP Code:
$_SERVER["DOCUMENT_ROOT"] . "/dir/script_name.php" 

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".


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/';
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size'] = '100';
$config['max_width'] = '1024';
$config['max_height'] = '768'

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.
Reply


Messages In This Thread
File Folder Is Not Writable - by djcata - 12-03-2014, 03:12 PM
RE: File Folder Is Not Writable - by djcata - 12-05-2014, 12:38 AM
RE: File Folder Is Not Writable - by twpmarketing - 12-06-2014, 02:38 PM
RE: File Folder Is Not Writable - by Narf - 12-05-2014, 03:52 AM
RE: File Folder Is Not Writable - by djcata - 12-05-2014, 05:15 AM
RE: File Folder Is Not Writable - by Narf - 12-06-2014, 12:42 PM
RE: File Folder Is Not Writable - by trentramseyer - 12-07-2014, 04:01 PM
RE: File Folder Is Not Writable - by Narf - 12-08-2014, 01:27 AM
RE: File Folder Is Not Writable - by djcata - 12-07-2014, 03:03 PM
RE: File Folder Is Not Writable - by Rufnex - 12-11-2014, 03:52 PM
RE: File Folder Is Not Writable - by djcata - 12-13-2014, 04:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB