ElkArte Community

Project Support => Support => Topic started by: gevv on May 29, 2015, 05:56:16 am

Title: a problem with this attachment directory and attachment 404
Post by: gevv on May 29, 2015, 05:56:16 am
Hi,


attachment directory settings not change 

QuoteCurrent attachment directory
There seems to be a problem with this directory.
(Attempt to correct)

click ""Attempt to correct""    add path  click save button  page refreshes

path can not be saved


I checked the database normally

Quote  attachmentUploadDir  a:1:{i:1;s:46:"/xxxx/xxxxxx/public_html/attachments";}
Title: Re: a problem with this attachment directory and attachment 404
Post by: meetdilip on May 29, 2015, 06:56:02 am
So you have global read permissions set for the folder ?
Title: Re: a problem with this attachment directory and attachment 404
Post by: gevv on May 29, 2015, 07:20:20 am
Hi,

I solved the "add path"  problem.


The problem is that the files have been 404 not found

wedge to elkarte database conversion problem

for example

attach=3974

old  file : 3974_3d7996e57a8405c4312c47bb330afaf8e1498abd.ext

conversion new file: 3974_01be99e4aa74c54d64d2b83df7ce450a8246203d.elk

database conversion  file_hash: 1cc8b591c96c17cf1ae4429663d0aa23bea64e9d

  
Title: Re: a problem with this attachment directory and attachment 404
Post by: emanuele on May 29, 2015, 07:35:21 am
hmm... convert attachments is such a pain... :-\
I'll check again the OI to see if I can find the issue, sorry for the troubles!
Title: Re: a problem with this attachment directory and attachment 404
Post by: gevv on May 29, 2015, 11:13:53 am
hi,
I'm sorry my mistake

problem solved
Title: Re: a problem with this attachment directory and attachment 404
Post by: gevv on June 04, 2015, 02:15:37 pm
Hi,

It does using old files?   .ext

35_644da8d43cdc9ad2d44e6147d049b67b9eb0df2b.ext
38_e2594c46e539487dfa89f94302ec94725d42638c.ext
......
.....etc.

can I delete?
Title: Re: a problem with this attachment directory and attachment 404
Post by: emanuele on June 04, 2015, 02:59:42 pm
".ext" are current "proper" attachments, those without should be old.
Take a backup before deleting anything. ;)
Title: Re: a problem with this attachment directory and attachment 404
Post by: gevv on June 04, 2015, 03:45:55 pm
Ok.    thanks.