FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » Cannot post!
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Cannot post! [message #34074] Tue, 03 October 2006 19:53 Go to next message
DocDoom is currently offline  DocDoom   United States
Messages: 9
Registered: June 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 19:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 10:31 Go to previous messageGo to next message
DocDoom is currently offline  DocDoom   United States
Messages: 9
Registered: June 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 10:32]

Report message to a moderator

Re: Cannot post! [message #34090 is a reply to message #34087] Thu, 05 October 2006 10:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 #34095 is a reply to message #34074] Thu, 05 October 2006 15:48 Go to previous messageGo to next message
DocDoom is currently offline  DocDoom   United States
Messages: 9
Registered: June 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Ilia:

Thanks agani for the assistance. I went ahead and CHMOD'ed the rest of the files in the "Messages" folder, and now all seems to be working. Will more of these files be created as posts are entered? If so, I might need to do something else.
Re: Cannot post! [message #34117 is a reply to message #34095] Fri, 06 October 2006 10:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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
Re: Cannot post! [message #34128 is a reply to message #34074] Fri, 06 October 2006 12:08 Go to previous message
DocDoom is currently offline  DocDoom   United States
Messages: 9
Registered: June 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Okay - will double-check those. Thanks again for all of your help!
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Problems with translation in "show what people are doing"?
Next Topic: Silly version question .... what verison am I running ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Oct 18 23:53:25 EDT 2017

Total time taken to generate the page: 0.00739 seconds