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

Home » FUDforum Development » Bug Reports » PM Error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
PM Error [message #28871] Mon, 14 November 2005 15:16 Go to next message
GrinGEO is currently offline  GrinGEO   Austria
Messages: 32
Registered: March 2005
Karma: 0
Member
We have 2.72 running, but we can't send PMs
This ist the error code. No idea if it is a FudCode Error or Skin issue.

Warning: fopen(/Server/.../.../forum/messages/private): failed to open stream: Ist ein Verzeichnis in /Server/.../.../forum/theme/default/ppost.php on line 623

Warning: fseek(): supplied argument is not a valid stream resource in /Server/.../.../forum//theme/default/ppost.php on line 625

Warning: ftell(): supplied argument is not a valid stream resource in /Server/.../.../forum/theme/default/ppost.php on line 626

Warning: fstat(): supplied argument is not a valid stream resource in /Server/.../.../forum/include/core.inc on line 120

Warning: fwrite(): supplied argument is not a valid stream resource in /Server/.../.../forum/theme/default/ppost.php on line 630
FATAL ERROR: system has ran out of disk space

Any idea?

[Updated on: Mon, 14 November 2005 15:21]

Report message to a moderator

Re: PM Error [message #28873 is a reply to message #28871] Mon, 14 November 2005 16:35 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
The error is due to FUDforum being unable to open the /Server/.../.../forum/messages/private file for writing. You need to make sure that the messages directory is there and is writable by the webserver.

FUDforum Core Developer
Re: PM Error [message #28876 is a reply to message #28871] Mon, 14 November 2005 16:57 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Austria
Messages: 32
Registered: March 2005
Karma: 0
Member
mhh, I chmod it 777, but no changes...
Re: PM Error [message #28877 is a reply to message #28876] Mon, 14 November 2005 17:13 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
What is the full path (real path) for the messages/ directory?

FUDforum Core Developer
Re: PM Error [message #28883 is a reply to message #28871] Mon, 14 November 2005 20:21 Go to previous messageGo to next message
GrinGEO is currently offline  GrinGEO   Sweden
Messages: 32
Registered: March 2005
Karma: 0
Member
I sent you a PM with the path
Re: PM Error [message #31416 is a reply to message #28871] Fri, 21 April 2006 11:26 Go to previous messageGo to next message
andyccn is currently offline  andyccn   United Kingdom
Messages: 14
Registered: February 2006
Location: UK
Karma: 0
Junior Member
Did this get sorted?

I have the same problem - I've opted to store private messages in the database which it is doing, but when you try to read a private message, it comes up with:

Warning: fopen(<FUD PATH>/messages/private) [function.fopen]: failed to open stream: No such file or directory in <FUD PATH>/htdocs/theme/default/pmsg_view.php on line 501

Warning: fseek(): supplied argument is not a valid stream resource in <FUD PATH>/htdocs/theme/default/pmsg_view.php on line 502

I've created the messages/private folder and changed the owner to the webserver which has got rid of the errors, however the text of the PM is showing as blank.

This is on FUD 2.7.4, with PostgreSQL 8.1.3 backend - the latest.


--
Andy Shellam
the mail network - server support
Re: PM Error [message #31419 is a reply to message #31416] Fri, 21 April 2006 14:09 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
This was fixed in CVS, you can find the patch in web cvs.

FUDforum Core Developer
Re: PM Error [message #31420 is a reply to message #28871] Fri, 21 April 2006 14:11 Go to previous messageGo to next message
andyccn is currently offline  andyccn   United Kingdom
Messages: 14
Registered: February 2006
Location: UK
Karma: 0
Junior Member
Great thanks, do you know exactly which files I need to download from CVS to correct this?

--
Andy Shellam
the mail network - server support
Re: PM Error [message #31422 is a reply to message #31420] Fri, 21 April 2006 14:19 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
http://cvs.prohost.org/c/index.cgi/FUDforum/timeline

Go here and use the search fearure or just go chronologically down.


FUDforum Core Developer
Re: PM Error [message #31423 is a reply to message #28871] Fri, 21 April 2006 14:19 Go to previous messageGo to next message
andyccn is currently offline  andyccn   United Kingdom
Messages: 14
Registered: February 2006
Location: UK
Karma: 0
Junior Member
I've updated scripts/fudapi.inc.php to the latest version (1.21) but it still doesn't fetch the body of private messages properly.

I've sent myself a PM, and all it shows in the body is my signature Confused


--
Andy Shellam
the mail network - server support
Re: PM Error [message #31425 is a reply to message #31423] Fri, 21 April 2006 14:22 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
This is a wrong file. you need to look for changes in ppost.php.t and private.inc.t

FUDforum Core Developer
Re: PM Error [message #31426 is a reply to message #28871] Fri, 21 April 2006 14:37 Go to previous messageGo to next message
andyccn is currently offline  andyccn   United Kingdom
Messages: 14
Registered: February 2006
Location: UK
Karma: 0
Junior Member
I've updated the following files from this in CVS:

src/imsg_edt.inc.t
src/pmsg.php.t
src/ppost.php.t
src/private.inc.t

Still no joy.

Any further ideas? Normal posts are fine, it's just PMs.


--
Andy Shellam
the mail network - server support
Re: PM Error [message #31431 is a reply to message #31426] Sat, 22 April 2006 17:34 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
Did you rebuild the theme after updating the files?

FUDforum Core Developer
Re: PM Error [message #31447 is a reply to message #28871] Sun, 23 April 2006 17:25 Go to previous messageGo to next message
andyccn is currently offline  andyccn   United Kingdom
Messages: 14
Registered: February 2006
Location: UK
Karma: 0
Junior Member
No....

How do I do that?


--
Andy Shellam
the mail network - server support
Re: PM Error [message #31460 is a reply to message #31447] Wed, 26 April 2006 16:16 Go to previous message
Ilia is currently offline  Ilia   United States
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Go into a theme manager and you'll see the rebuild theme link there.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Statistics - incorrect numbers
Next Topic: Automatic link creation (with description) not working under gecko browsers
Goto Forum:
  

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

Current Time: Thu Nov 21 22:16:04 GMT 2024

Total time taken to generate the page: 0.02672 seconds