cotonti.com : Image upload error https://www.cotonti.com Laatste forum onderwerpen Cotonti en Sat, 07 Feb 2026 14:26:31 -0000 MIHDev Za, 20 Nov 2010 22:11:35 -0000 The Stig
Added 30 minutes later:

Could it be the way that I have set up ezgallery ?

As there is no documentation on where to put each file/folder I just put them where I thought they should go. It says its running in plugins and when i manually created the folders 1 in users/thumbs everything worked fine slideshow the lot.

Added 2 days later:

Ouch !! ok...when I chmod the public_html directory to 0777 everything works, but surely this is a big security issue ?]]>
Wo, 17 Nov 2010 21:04:03 -0000
ez http://www.cotonti.com/docs/en/admin/install_guide
Look at step 7 !

and when using an ftp client... does al subfolders inherit rights ??? (look at that too)

maybe forgot this one ???


@Kort and @stig
FSM will be activated in the plugin urlkiller and me are building.. (and the way that I am making it now, FSM on or off does not matter any more).
We will use virtual folderstructure so not a real one.

When using a ftp client a folder per user is much more organized, but for the frontend webinterface it does not matter...]]>
Wo, 17 Nov 2010 20:43:14 -0000
The Stig
And why when i create the folders manually everything works ?

Added 7 minutes later:

Oh and also it lets me create folders in the pfs but it won't create the userfolder 1 in datas/users

which in turn is why the image wont upload.]]>
Wo, 17 Nov 2010 19:43:19 -0000
Kort Wo, 17 Nov 2010 19:33:32 -0000 The Stig
P'S' Sorry Kort I wasn't meaning to be rude :( I'm just frustrated with this problem.]]>
Wo, 17 Nov 2010 19:27:18 -0000
Kort # The Stig :Oh @ Kort...if you read the forums then you will know that the way cotonti is going is for the FSM methos and I for one welcome this as it is more structured.
I read the forums daily but it is for the 1st time that I hear Cotonti is going towards FSM. It is actually moving away from the PFS. Btw, what is so structural in it? The way files are located physically gives you no advantages, since virtual folder is the only thing the user sees. I assume FSM may be affected by your server security settings, otherwise other people using it would have reported same probs. So you might have to try something else (play wit settings, test locally, use other host) and compare the results.]]>
Wo, 17 Nov 2010 19:23:42 -0000
The Stig
Damn thing just will not perform the mkdir ?]]>
Wo, 17 Nov 2010 19:05:21 -0000
ez
depending on settings ??

	if (!is_dir($cfg['pfs_dir_user']))
	{ $is_moved &= mkdir($cfg['pfs_dir_user'], $cfg['dir_perms']); }
	if (!is_dir($cfg['th_dir_user']))
	{ $is_moved &= mkdir($cfg['th_dir_user'], $cfg['dir_perms']); }
]]>
Wo, 17 Nov 2010 16:37:02 -0000
The Stig
Look at the first two errors !! and yes chmod 0777 on datas and all sub files.

Oh @ Kort...if you read the forums then you will know that the way cotonti is going is for the FSM methos and I for one welcome this as it is more structured.]]>
Wo, 17 Nov 2010 16:30:26 -0000
ez Can you specify that, because i did not have any troubles??

Need to know because i am working on Myfiles (plug for 'new' pfs)]]>
Wo, 17 Nov 2010 16:01:25 -0000
Kort Wo, 17 Nov 2010 15:03:27 -0000 The Stig
Added 16 minutes later:

yup...file sizes ok...1024 and 10000... file i'm uploading is 22kb

Added 2 hours 28 minutes later:

Ok...so...it appears that it is not making the directory 1 in thumbs or users...as when i manually created these folders evrything was fine...but surely i should not have to do this, the folders should be created when the called to.

Any thoughts ?]]>
Wo, 17 Nov 2010 06:22:46 -0000
Kingsley
Max size for a single file in Personal File Space (KB) :
Max size of all files together in Personal File Space (KB) :

are correctly set?]]>
Wo, 17 Nov 2010 06:20:28 -0000
The Stig
I have chmod'd datas and all sub folders to 0777 and enabled FSM in the PFS...

---------------------

Warning: mkdir() [function.mkdir]: Unable to access datas/users/1/ in /data/www/blah.co.uk/public_html/system/core/pfs/pfs.inc.php on line 181

Warning: mkdir() [function.mkdir]: Unable to access datas/thumbs/1/ in /data/www/blah.co.uk/public_html/system/core/pfs/pfs.inc.php on line 183

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access datas/users/1/devil2_1.jpg in /data/www/blah.co.uk/public_html/system/core/pfs/pfs.inc.php on line 186

Warning: chmod() [function.chmod]: Unable to access datas/users/1/devil2_1.jpg in /data/www/blah.co.uk/public_html/system/core/pfs/pfs.inc.php on line 187

Warning: chmod() [function.chmod]: Unable to access datas/users/1/devil2_1.jpg in /data/www/blah.co.uk/public_html/system/core/pfs/pfs.inc.php on line 187

Warning: chmod() [function.chmod]: stat failed for datas/users/1/devil2_1.jpg in /data/www/blah.co.uk/public_html/system/core/pfs/pfs.inc.php on line 187

Warning: filesize() [function.filesize]: Unable to access datas/users/1/devil2_1.jpg in /data/www/blah.co.uk/public_html/system/core/pfs/pfs.inc.php on line 189

Warning: filesize() [function.filesize]: stat failed for datas/users/1/devil2_1.jpg in /data/www/blah.co.uk/public_html/system/core/pfs/pfs.inc.php on line 189

Thanks in advance...Stig

Added 1 hour 37 minutes later:

LoL...25 views and noone knows ??

If I say pretty please will it help :)]]>
Wo, 17 Nov 2010 02:22:09 -0000