Skip to main content
Topic: How to change attachment directory manually? (Read 2017 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to change attachment directory manually?

Hi, I just moved my forum (Elk 1.0.7) from VestaCP to its own VPS using LEMP stack. And it's a breeze except the attachment folder, I cannot change it. :( It's not in Settings.php too. So all my attachments and avatars are not found.

So... help?

Re: How to change attachment directory manually?

Reply #1

You should change in:
2016-06-16 01_01_17-Manage attachment paths.png
all the paths to the corresponding new ones.
Bugs creator.
Features destroyer.
Template killer.

Re: How to change attachment directory manually?

Reply #2

Quote from: emanuele – You should change in:
[attach]3786[/attach]
all the paths to the corresponding new ones.

edit them all? I tried and failed.

Re: How to change attachment directory manually?

Reply #3

 emanuele looks in @Spuds direction for help O:-)
Bugs creator.
Features destroyer.
Template killer.

Re: How to change attachment directory manually?

Reply #4

I think repair settings will be able to fix some of those errors. 

The issue(s) will be found in your settings table having all of the wrong paths (since it was copied).  Trying to change them from the ACP is generally not successful for a transferred site.  So first I'd run repair settings, then I'd search the db for any old path names and manually change any remaining that were found (if they are in serialize arrays, then its a real PITA)

Re: How to change attachment directory manually?

Reply #5

I've had the same problem when I converted my board, but I don't remember how I solved it  :-[ Did you solve it?
sorry for my bad english

Re: How to change attachment directory manually?

Reply #6

sorry for not updating. and yes I did fix all of it using repair settings. :)