Page 1 of 1

Couple problems with CMSMS

Posted: Sun Sep 25, 2005 2:21 pm
by moire
Hi there. I have asked couple questions, found some stuff with search. This is the first time I am working with CMS and found CMSMS to be real nice.
Through there are some errors I'd like to get fixed.

1) uploads - CHMOD: 777
But all the sub-direcories that are created in CMS Administration File Manager have a default CHMOD 755
As result user can't use FTP to upload files in sub-directories.

Code: Select all

553-Can't open that file: Permission denied
553 Rename/move failure: No such file or directory
..and change CHMOD to dirs:

Code: Select all

Code - 550 Could not change perms on admin_created: Bad file descriptor
FTP program is used because large files can't be uploaded (Error - "File could not be uploaded. Permissions problem?")

As well when user navigates in CMS Administration File Manager from subdirectory up, this appears:

Code: Select all

Current Directory: /images/home/ingus313/public_html/streetshop/admin/lang/en_US

Warning: dir(/home/ingus313/public_html/streetshop/uploads/images/home/ingus313/public_html/streetshop/admin/lang/en_US): 
failed to open dir: No such file or directory in /home/ingus313/public_html/streetshop/admin/files.php on line 241

Fatal error: Call to a member function on a non-object in /home/ingus313/public_html/streetshop/admin/files.php on line 243
I tried to create a .htaccess file and upload it to the site root using aftre reading this thread http://forum.cmsmadesimple.org/index.ph ... 707.0.html. Didn't help. I'm not even sure I did everything corectly. =[

Re: Couple problems with CMSMS

Posted: Mon Sep 26, 2005 9:16 am
by delight
Did you sort out this problem?

it looks like a file permission error.

Re: Couple problems with CMSMS

Posted: Mon Sep 26, 2005 6:56 pm
by martin42
FTP program is used because large files can't be uploaded (Error - "File could not be uploaded. Permissions problem?")
Try editing Config.php to change this line:

    config['max_upload_size'] = 10000000;

Also, in PHP.INI, check that you have:

    file_uploads = On
    upload_max_filesize = 10M

Then try uploading your large file again.