Cannot post! [message #34074] |
Tue, 03 October 2006 23:53 |
DocDoom
Messages: 9 Registered: June 2006
Karma: 0
|
Junior Member |
|
|
First of all, if this is in the wrong forum, please move to the proper one.
I'm running FUDforum 2.7.5RC2, and since yesterday our users are getting this when we try to post or PM:
Warning: fopen(/home/gamersc/FUDforum/messages/msg_30000) [function.fopen]: failed to open stream: Permission denied in /home/gamersc/public_html/forums/theme/default/post.php on line 1838
FATAL ERROR: could not open message store for forum id#30000
Any help would be greatly appreciated!
|
|
|
Re: Cannot post! [message #34079 is a reply to message #34074] |
Wed, 04 October 2006 23:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to chmod the file in such a way as to allow it to be written by a web server.
chmod 666 /home/gamersc/FUDforum/messages/msg_30000 will do the trick for example.
FUDforum Core Developer
|
|
|
Re: Cannot post! [message #34087 is a reply to message #34074] |
Thu, 05 October 2006 14:31 |
DocDoom
Messages: 9 Registered: June 2006
Karma: 0
|
Junior Member |
|
|
Thanks much! That solved the problem, but we still cannot use PM - this is what we get...
Warning: fopen(/home/gamersc/FUDforum/messages/private) [function.fopen]: failed to open stream: Permission denied in /home/gamersc/public_html/forums/theme/default/pmsg_view.php on line 501
Warning: fseek(): supplied argument is not a valid stream resource in /home/gamersc/public_html/forums/theme/default/pmsg_view.php on line 502
Warning: fread(): supplied argument is not a valid stream resource in /home/gamersc/public_html/forums/theme/default/pmsg_view.php on line 503
Warning: fclose(): supplied argument is not a valid stream resource in /home/gamersc/public_html/forums/theme/default/pmsg_view.php on line 504
Warning: fopen(/home/gamersc/FUDforum/messages/private) [function.fopen]: failed to open stream: Permission denied in /home/gamersc/public_html/forums/theme/default/pmsg_view.php on line 501
Warning: fseek(): supplied argument is not a valid stream resource in /home/gamersc/public_html/forums/theme/default/pmsg_view.php on line 502
Warning: fread(): supplied argument is not a valid stream resource in /home/gamersc/public_html/forums/theme/default/pmsg_view.php on line 503
Warning: fclose(): supplied argument is not a valid stream resource in /home/gamersc/public_html/forums/theme/default/pmsg_view.php on line 504
Could a hack be causing this? We haven't changed anything, and all of a sudden we're having these issues.
[Updated on: Thu, 05 October 2006 14:32] Report message to a moderator
|
|
|
Re: Cannot post! [message #34090 is a reply to message #34087] |
Thu, 05 October 2006 14:47 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Its not a hack.
I suspect what happened is that your ISP or you has changed permissions of all your files to your user/group from the webserver user/group. Because the forum normally keeps file permissions highly secure only the owner can access the files, which means when the owner of the files had changed, the forum which runs as the web server user lost access to those files.
FUDforum Core Developer
|
|
|
|
Re: Cannot post! [message #34117 is a reply to message #34095] |
Fri, 06 October 2006 14:59 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There is 1 message file per forum and files/ directory where attachments are written to. I'd recommend chmoding messages/ and files/ directories in such a way as to allow the web server user write access to them.
FUDforum Core Developer
|
|
|
|