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

Home » FUDforum » How To » Files getting truncated
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Files getting truncated [message #29360] Thu, 15 December 2005 13:51 Go to next message
tangledweb is currently offline  tangledweb   Australia
Messages: 9
Registered: November 2005
Karma: 0
Junior Member
My forum is corrupt again.

Symptoms as follows:
1: Hosting company said they were making unspecified changes.
2: Posts started running onto others. One post in a thread, rather than containing its body might contain the next three posts bodies.
3: I made a change in the admin section which killed everything. It looks like for some reason GLOBALS.php got truncated to 0 length. I attempted to recreate a GLOBALS.php file from a default install.
4: Running the consistency check meant I got an error on all pages the main index page version was "value passed to each not an array on line 220".
5: Running rebuild themes truncated index.php to 0 length.

Any clues as to the root cause?

Will a reinstall/upgrade be safe and keep existing posts?

Assuming my backup worked, but has some sync problems with message body locations in the files and in the DB how can I sync them? I don't think the forum consistency check checks that.
Re: Files getting truncated [message #29369 is a reply to message #29360] Fri, 16 December 2005 00:00 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
Try to run the upgrade script, it will not remove messages.

FUDforum Core Developer
Re: Files getting truncated [message #29409 is a reply to message #29369] Mon, 19 December 2005 12:32 Go to previous message
tangledweb is currently offline  tangledweb   Australia
Messages: 9
Registered: November 2005
Karma: 0
Junior Member
Thanks. Running the upgrade script then deleting the threads that were corrupt seems to have fixed things.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Test Category problem
Next Topic: Reducing the overall width of the forum.
Goto Forum:
  

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

Current Time: Fri Nov 22 02:57:35 GMT 2024

Total time taken to generate the page: 0.02406 seconds