Uploads module - 403 forbidden errors & "umask" test failed.. help!

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.
Post Reply
Traill
Forum Members
Forum Members
Posts: 25
Joined: Sat Jul 07, 2007 2:22 pm

Uploads module - 403 forbidden errors & "umask" test failed.. help!

Post by Traill »

Hi everyone,
I've searched for hours for a solution and cannot find an answer, so I have resorted to a post. I hope someone can help...

Whenever I try to edit or use the Content > "File (Uploads Module)" module, I am presented with a 403 Access Forbidden error. Similarly, in the actual webpages I generated with this module, the links to files also return the same error.

This problem has only surfaced since I upgraded from 1.1.0. I think this has to do with some folder or file permission change since I upgraded, because it was fine before. I tried going into Site Admin > Global Settings to change the File Creation Mask "Umask" to 002, but it's not possible to ever change the number because when I click on "Test" it says:

No permission to write in directory. This could be caused by file permissions and ownership. Safe mode may also be in effect.

Can anyone advise as to what folders I need to CHMOD or change their settings so I can get my uploads module back?
And can anyone explain how to get my "umask" working again so I can test it?
I'm running CMS Made Simple 1.1.1. I'm using PHP 4.4.4, and MySQL 4.1.22-standard.

Many thanks!
Last edited by Traill on Tue Sep 04, 2007 4:35 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Uploads module - 403 forbidden errors & "umask" test failed.. help!

Post by Dr.CSS »

You mean Content > File Manager?...

Go to the Install/Handbook and check that all permissions are set to specs...
I see there is a spelling error in this...

Step 4

For the script to access the folder properly, you need to change permissions of the following files and directories on the server. CHMOD these to 777 (Note: 777 has pontential security risks and may allow hackers to upload files to these directories to run phishing sites etc. If security of your web site is important, set it these folders to CHMOD 775 or tighter.):

    * tmp/templates_c
    * tmp/cache
    * uploads
    * uploads/images
    * modules
Traill
Forum Members
Forum Members
Posts: 25
Joined: Sat Jul 07, 2007 2:22 pm

Re: Uploads module - 403 forbidden errors & "umask" test failed.. help!

Post by Traill »

No, not File Manager, I mean the "Uploads" module.

Please can anyone help with getting this "umask" working for me, I don't know what to change to make it work, and I think it might solve my bigger problem...

Thank you (fingers crossed) :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Uploads module - 403 forbidden errors & "umask" test failed.. help!

Post by Dr.CSS »

Unmask only works if it is set before you do something like install a module not after the fact...

Have you tried uninstalling it and going to site, FTP, downloading the Uploads mod. folder to your comp. then deleting it, then setting the unmask, then reupload it, FTP, then reinstalling it...

If you can't get unmask to work it's a server problem and they may have safe_mode on or something, can you chmod any files in FTP client...
Traill
Forum Members
Forum Members
Posts: 25
Joined: Sat Jul 07, 2007 2:22 pm

Re: Uploads module - 403 forbidden errors & "umask" test failed.. help!

Post by Traill »

I think I'm going to just uninstall & reinstal thenl... shame there's no other way round this.
I cannot copy the Uploads folder with all my gear in because it's write-protected and cannot be read by FTP :(
Just going to copy all my form templates first though as I spent ages on them!

Thank you for your help, Mark, greatly appreciated.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Uploads module - 403 forbidden errors & "umask" test failed.. help!

Post by Dr.CSS »

Definitely sounds like a server problem... you may have to uninstall it thru Extensions > Modules to get the restrictions lifted first...
Post Reply

Return to “CMSMS Core”