Page 1 of 1
HOW CAN I...
Posted: Sun Feb 20, 2005 10:35 am
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....
Posted: Sun Feb 20, 2005 4:00 pm
by KB
First did you create the folder "msg" and if so you need to chmod that folder to 777 to make it writable
Posted: Sun Feb 20, 2005 4:28 pm
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
Windows write/execute permission
Posted: Tue Mar 01, 2005 1:51 pm
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