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

Home » FUDforum Development » Bug Reports » A few messages becoming blank
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
A few messages becoming blank [message #158856] Sat, 04 April 2009 21:30 Go to next message
kerryg is currently offline  kerryg   Canada
Messages: 157
Registered: September 2008
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Hmm... starting to see a weird little issue cropping up. Got a Fatal Error during rebuilding of search index, and now some of my threads are coming up with this info above the header:

Quote:

Warning: fopen(/home/kerrygal/FUDforum/messages/msg_-120000) [function.fopen]: failed to open stream: No such file or directory in /home/kerrygal/public_html/ParisForums/theme/PF09_Beta_2/msg.php on line 557

Warning: fseek(): supplied argument is not a valid stream resource in /home/kerrygal/public_html/ParisForums/theme/PF09_Beta_2/msg.php on line 560

Warning: fread(): supplied argument is not a valid stream resource in /home/kerrygal/public_html/ParisForums/theme/PF09_Beta_2/msg.php on line 561

[Updated on: Sat, 04 April 2009 21:31]

Report message to a moderator

Re: A few messages becoming blank [message #158859 is a reply to message #158856] Sun, 05 April 2009 02:30 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Strange. I'm currently on leave and don't have access to the code. Will have a look when I'm back.
Re: A few messages becoming blank [message #158860 is a reply to message #158856] Sun, 05 April 2009 07:11 Go to previous messageGo to next message
ToniCE is currently offline  ToniCE   Germany
Messages: 22
Registered: January 2008
Location: Germany
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user

I had the same issue some weeks ago. Since I was trying a conversion to Simplemachines Forum, i thougt it had to do with the converter...

Some of the file_id entries in the database got a "-" before it so the script could not find them.

The folowing sql-statement did the trick for me to repair the fud database.

UPDATE fud23_msg SET file_id = REPLACE(file_id, '-', '') WHERE LEFT(file_id, 1) = '-'

You'll have to replace the fud23_ thing with your own prefix.
Re: A few messages becoming blank [message #158861 is a reply to message #158860] Sun, 05 April 2009 20:40 Go to previous messageGo to next message
kerryg is currently offline  kerryg   Canada
Messages: 157
Registered: September 2008
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Sad to say, that seems to have messed things up far worse; first posts of threads are basically trashed now.

*Sigh*.
Re: A few messages becoming blank [message #158865 is a reply to message #158856] Mon, 06 April 2009 13:49 Go to previous messageGo to next message
ToniCE is currently offline  ToniCE   Germany
Messages: 22
Registered: January 2008
Location: Germany
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user

I'm sorry to hear that. Sad
Re: A few messages becoming blank [message #158868 is a reply to message #158865] Mon, 06 April 2009 20:09 Go to previous message
kerryg is currently offline  kerryg   
Messages: 157
Registered: September 2008
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
LOL, sorry Toni, didn't mean that to come off unappreciative of the help - it was actually limited to one area and was pretty quick work to restore.

I'd like to find out what's up, however; I have a feeling something's "not quite right" in my forums. Maybe I've botched something in the theming, or there might be a problem with the many MIME attachments it's swallowed unparsed.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: PHP Notice on "Bookmarks" tab
Next Topic: bbcode html chaos
Goto Forum:
  

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

Current Time: Mon Oct 23 07:32:22 EDT 2017

Total time taken to generate the page: 0.00678 seconds