Couple problems with CMSMS

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
moire

Couple problems with CMSMS

Post 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. =[
delight

Re: Couple problems with CMSMS

Post by delight »

Did you sort out this problem?

it looks like a file permission error.
martin42
Forum Members
Forum Members
Posts: 126
Joined: Sat Aug 20, 2005 11:35 pm

Re: Couple problems with CMSMS

Post 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.
Locked

Return to “CMSMS Core”