Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: arboleas on July 10, 2015, 06:43:29 PM

Title: attachment path does not exist.... help
Post by: arboleas on July 10, 2015, 06:43:29 PM
Hi all... my members are trying to post attachments... but the path is incorrect..
the path I have is           www.xxxxxx.vv/subdomains/forum/web/smf/attachments

This does exist on server..  but SMF just says it doesnt exist...   Where am I going wrong?
Title: Re: attachment path does not exist.... help
Post by: Kindred on July 10, 2015, 06:49:07 PM
that is not a path... that is a url. the path would be something like /home/username/www/smf/attachments
Title: Re: attachment path does not exist.... help
Post by: arboleas on July 10, 2015, 07:04:24 PM
need a little more...  I understand that what I posted was a url...  and I get it that the smf/attschments is a folder on server...

but what should the home/username  bit be??
Title: Re: attachment path does not exist.... help
Post by: margarett on July 10, 2015, 07:18:15 PM
Check your attachments path
index.php?action=admin;area=manageattachments;sa=attachments
Title: Re: attachment path does not exist.... help
Post by: Kindred on July 10, 2015, 07:40:01 PM
margarett, I think he is saying that his path is wrong...  because he used a URL instead of a path.

arboleas

http://wiki.simplemachines.org/smf/Repair_settings.php
Title: Re: attachment path does not exist.... help
Post by: margarett on July 10, 2015, 07:43:47 PM
Yeah I got it, but he can also fix it through ACP ;)
Title: Re: attachment path does not exist.... help
Post by: Illori on July 10, 2015, 07:45:52 PM
Quote from: margarett on July 10, 2015, 07:43:47 PM
Yeah I got it, but he can also fix it through ACP ;)

but it seems that the op does not know what the full path should be, if they dont how can they fix it in the admin panel?
Title: Re: attachment path does not exist.... help
Post by: margarett on July 10, 2015, 08:00:04 PM
Ah, that :P
Title: Re: attachment path does not exist.... help
Post by: zurgenaboy on July 29, 2015, 09:17:09 AM
I am trying to help Arboleas as I have a forum as well and the home etc works on mine
but not on his.
The support from his hosting company tells us this: /var/www/web/smf/
but neither of us know what the var should be.
Can anyone help in this situation
Title: Re: attachment path does not exist.... help
Post by: Kindred on July 29, 2015, 09:22:55 AM
it should be exactly as they say. exactly /var/  var is not a placeholder, it is the name of the actual directory
Title: Re: attachment path does not exist.... help
Post by: Illori on July 29, 2015, 09:24:11 AM
you mean you dont know what /var is? that is a folder on the server it does not need to be changed. so the attachments folder could be just adding attachments to that path.

since we dont know what the path should be, we dont know if that is correct. most likely it is not correct unless they are on a dedicated or VPS server.
Title: Re: attachment path does not exist.... help
Post by: zurgenaboy on July 29, 2015, 10:28:53 AM
thanks for all your replies, the problem started because the absolute path to the attachments file was not known.
I used repair_settings.php to correct this which I noticed earlier on in these posts.
All fixed and working now, and that file deleted from the server.
once again thank you for replying.