CHMOD 666 difficulties (msg folder)

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
Patrick
Posts: 2
Joined: Thu Jan 25, 2007 11:19 pm

CHMOD 666 difficulties (msg folder)

Post by Patrick »

Script URL:http://www.student.city.ac.uk/~abcj696/ ... mboard.php
Version of script:1.3
Hosting company:City University
URL of phpinfo.php:http://www.student.city.ac.uk/~abcj696/ ... hpinfo.php
URL of session_test.php:http://www.student.city.ac.uk/~abcj696/ ... n_test.php
What terms did you try when SEARCHING for a solution: CHMOD 666

Write your message below:
Hi, if I try to add a new topic I get the error
Couldn't create file "msg/9.html"! Please CHMOD the "msg" folder to 666 (rw-rw-rw)!
My ftp client doesn't let you CHMOD numerically but I've changed the properties to enable Read and Write in all three groups; this should be rw-rw-rw, right? I've done the same for the other files that should have these permissions. Can't see what else to do.
thanks for any help.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Try to chmod the msg folder to "read, write, execute" for all (owner, group, others). Or numerically that would be 777 (rwxrwxrwx)
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
Patrick
Posts: 2
Joined: Thu Jan 25, 2007 11:19 pm

Post by Patrick »

That fixed it, thanks a lot. It's great to be able to stick up a simple message board without having to faff around with databases. Is there any way to edit or remove comments? I tried downloading the html files in the msg folder but get a file transfer error. Maybe an error with my ftp client?
cheers :D
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

To remove a comment simply open it in your browser, click the red [X] icon near the top of the page and enter your admin password.
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