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

Home » FUDforum » FUDforum Installation Issues » Migration lost ability to open attachments
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
Migration lost ability to open attachments [message #20987] Sat, 06 November 2004 14:45 Go to next message
BugLaden is currently offline  BugLaden   United States
Messages: 208
Registered: February 2002
Location: New Windsor, Md.
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

Thought I did everything right. Brought over the data directory and the db. Everything has run smoothly moving the forum from one box to another. I just discovered that attachements brought over from the old server cannot be read. ran into the first problem

Here is a thread with an attachment from the old server;
http://www.ccgworkshop.com/forum/index.php?t=msg&th=385&start=0& ;


-=BugLaden
CCG Workshop, LLC
Play Hobby and Strategy Games Online!
Re: Migration lost ability to open attachments [message #20989 is a reply to message #20987] Sat, 06 November 2004 17: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
Does the forum have permissions to read the attachment files?

FUDforum Core Developer
Re: Migration lost ability to open attachments [message #20990 is a reply to message #20987] Sat, 06 November 2004 21:53 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 208
Registered: February 2002
Location: New Windsor, Md.
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

-rw-rw-rw- 1 apache apache
on all the files

we are talking about the <data>/files directory, correct?


-=BugLaden
CCG Workshop, LLC
Play Hobby and Strategy Games Online!
Re: Migration lost ability to open attachments [message #20997 is a reply to message #20990] Mon, 08 November 2004 09:27 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
Then you may need to execute the following query:

UPDATE [prefix]attach SET location=REPLACE(location, 'old_files_dir_path', 'new_files_dir_path');


FUDforum Core Developer
Re: Migration lost ability to open attachments [message #21014 is a reply to message #20987] Mon, 08 November 2004 15:59 Go to previous message
BugLaden is currently offline  BugLaden   United States
Messages: 208
Registered: February 2002
Location: New Windsor, Md.
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

That did it. Thanks!

-=BugLaden
CCG Workshop, LLC
Play Hobby and Strategy Games Online!
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: caught in a loop, can&acute;t register members
Next Topic: Update 2.5.2 -> 2.6.6
Goto Forum:
  

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

Current Time: Wed Oct 18 23:49:46 EDT 2017

Total time taken to generate the page: 0.00693 seconds