Page 1 of 1

Problems with CHMOD

Posted: Sun Jan 22, 2012 6:25 pm
by darklite
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hi, I keep getting this message error: Couldn't create file "msg/17.html"! Please CHMOD the "msg" folder to 666 (rw-rw-rw)!

I created a new folder called "msg" in the same directory as my mboard files.

My isp is linux, and using Core ftp. I follow all the instructions in the custom commands and change it to:
Command name: CHMOD 666
Command: SITE CHMOD 666%1

I'm really new at this, so if anybody has any suggestions it would be great! I must be missing something because the folder always reads: drw-rw-rw. I know that d is directory, but can't seem to change it.
Thanks in advance!

Re: Problems with CHMOD

Posted: Mon Jan 23, 2012 5:21 pm
by Klemen
Try CHMOD 777 (rwxrwxrwx): chmod 777 /msg

This is how you would do it in FileZilla:
FTP CHMOD Tutorial

Re: Problems with CHMOD

Posted: Wed Jan 25, 2012 11:02 pm
by darklite
That doesn't work either. I still get the drw-rw-rw, and the same message error: msg/17.html"! Please CHMOD the "msg" folder to 666 (rw-rw-rw)! when I try to send a message.

Re: Problems with CHMOD

Posted: Thu Jan 26, 2012 7:08 am
by Klemen
In that case contact your host and ask them to set your "msg" folder to be writable by PHP scripts.

Re: Problems with CHMOD

Posted: Thu Jan 26, 2012 2:31 pm
by darklite
I'll give that a try, thanks!

Re: Problems with CHMOD

Posted: Thu Jan 26, 2012 2:50 pm
by darklite
Apparently my folders are already php writeable. Still get the same old error message. Sorry, but this script just isn't working for me.

Re: Problems with CHMOD

Posted: Fri Jan 27, 2012 2:45 pm
by Klemen
It doesn't get any simpler than

Code: Select all

$fp = fopen($newfile,"wb");
If this doesn't work on your server then either permissions aren't correct or file writing (perhaps fopen() ) is disabled on your server and won't work with any script using it.