HOW CAN I...

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
WILFRED

HOW CAN I...

Post by WILFRED »

the message board that i download from you website encountered a problem but i don't know what's that all about... when i click the add new topic button, error message displayed... here is the message error:

Warning: fopen(msg/1 .php): failed to open stream: Invalid argument in \\192.168.0.107\webfiles\files\2005-2\262612\mboard\mboard.php on line 357





Error

Couldn't create file "msg/1 .html"! Please CHMOD the "msg" folder to 666 (rw-rw-rw)!


HOW CAN I FIXED THIS.. PLEASE HELP ME....
KB

Post by KB »

First did you create the folder "msg" and if so you need to chmod that folder to 777 to make it writable
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

KB is right,

Make sure you create a folder called "msg" within the MBoard directory. Not "MSG", not "Msg", but "msg".

If you are on a Linux server you must then CHMOD the filder (set permissions) to 777 (rwx-rwx-rwx). Check your FTP program's help files on info how to do CHMOD. You must also CHMOD files "threads.txt" and "count.txt" to 666 (rw-rw-rw).

If you're on a Window$ server you will probably have to contact your hosting company and ask them to set correct file permissions as CHMOD doens't work on Window$.

Regards,

Klemen Stirn
PHPJunkyard
http://www.phpjunkyard.com
EasyEddy
Posts: 4
Joined: Tue Feb 22, 2005 4:34 pm

Windows write/execute permission

Post by EasyEddy »

As a clue, the hosting company I used for a Windoze web server provided a special subdirectory (cgi-bin) pre-configured for files that needed executable/write permission.

Putting 'mboard' in the /home directory would not work, but installing it in the /cgi-bin directory *did* work (in this case).

Good luck,
EasyEddy
Locked