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

Home » FUDforum » FUDforum Installation Issues » Messages corrupted after importing from files
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
Messages corrupted after importing from files [message #163972] Sun, 19 December 2010 11:12 Go to next message
_Eric_ is currently offline  _Eric_   Netherlands
Messages: 2
Registered: December 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
My friend decided to switch providers and thought that copying all the files of his forum would be enough to restore the forum in a new installation. When this didn't work, he asked me for help. Luckily, I could save the database from a backup from his old provider.

In short, I have a download of the MySQL database and the files from the "messages" folder. I did a fresh installation of FUD 2.6 (the version he was using), imported the database through PhpMyAdmin and uploaded the message files. This worked quite well, except all the messages seem to be missing their first few characters (four or five I think). Is there anything I can do about this?

Thanks!
icon6.gif  Re: Messages corrupted after importing from files [message #163973 is a reply to message #163972] Sun, 19 December 2010 11:20 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
I'd be happy to hear details about how to transfer files as you described, as for your problem I don't have a solution!

I assume you have already ran a consistency check and rebuilt your themes, so beyond that I can't help and I don't believe I've seen or heard of such a problem before.


"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Messages corrupted after importing from files [message #163974 is a reply to message #163973] Sun, 19 December 2010 11:30 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3687
Registered: December 2004
Karma: 19
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Yes, the files must be transferred in binary mode. Also ensure that no BOM markers were added.

You may also want to read "All my messages are empty, what is wrong?" in the FAQ for instructions on how to trace the message path.
Re: Messages corrupted after importing from files [message #163982 is a reply to message #163974] Mon, 20 December 2010 09:51 Go to previous messageGo to next message
_Eric_ is currently offline  _Eric_   Netherlands
Messages: 2
Registered: December 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Both of you, thanks for your advice!

I finally got it fixed. When my friend backed up his files, he transferred the message files in ASCII mode. I removed all the extra line breaks this produces and uploaded the message files in binary mode. Now everything's fine! Thanks for the tip Naudefj!

By the way, I was mistaken that all the messages were missing their first characters. It just seemed that way, while actually all the messages were just showing wrong parts of the message files.
Re: Messages corrupted after importing from files [message #163983 is a reply to message #163982] Mon, 20 December 2010 09:59 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3687
Registered: December 2004
Karma: 19
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Excellent!
Now you just need to upgrade to FUDforum 3.0.0 and then to FUDforum 3.0.2 to enjoy the latest features and fixes.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Default login
Next Topic: Parse error
Goto Forum:
  

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

Current Time: Sat Dec 15 04:17:51 EST 2018

Total time taken to generate the page: 0.01786 seconds