Problems with CHMOD

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
darklite
Posts: 4
Joined: Sun Jan 22, 2012 6:16 pm

Problems with CHMOD

Post 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!
Klemen
Site Admin
Posts: 10114
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problems with CHMOD

Post by Klemen »

Try CHMOD 777 (rwxrwxrwx): chmod 777 /msg

This is how you would do it in FileZilla:
FTP CHMOD Tutorial
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
darklite
Posts: 4
Joined: Sun Jan 22, 2012 6:16 pm

Re: Problems with CHMOD

Post 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.
Klemen
Site Admin
Posts: 10114
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problems with CHMOD

Post by Klemen »

In that case contact your host and ask them to set your "msg" folder to be writable by PHP scripts.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
darklite
Posts: 4
Joined: Sun Jan 22, 2012 6:16 pm

Re: Problems with CHMOD

Post by darklite »

I'll give that a try, thanks!
darklite
Posts: 4
Joined: Sun Jan 22, 2012 6:16 pm

Re: Problems with CHMOD

Post 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.
Klemen
Site Admin
Posts: 10114
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problems with CHMOD

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Locked