-
AuthorPosts
-
kadad Friend
kadad
- Join date:
- August 2010
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
March 8, 2011 at 1:03 pm #380292Sorry to reply again. I sent you private message with my administrator account. Did you receive it, and do you have any clue.
This website is in production and doesn’t work, it is a real problem. I need to make another website with Portfolio and K2 on the same web provider and I need to know if it is him that is causing the problem.
Thanks for you help.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 8, 2011 at 1:19 pm #380295Not sure how much I can help here but if you browse directly to the pdf can you see it?
eg. If your PDF is in the folder media/yourpdf.pdf you should be able to browse to http://www.yourwebsite/media/yourpdf.pdf
If that does not work the you definately have a permissions problem.
kadad Friendkadad
- Join date:
- August 2010
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
March 8, 2011 at 1:44 pm #380299Thank you for your answer. I don’t have anything more in media folder than what I put in when the website was local.
Still, the media folder has 755 permissions…
I really am stuck…
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 8, 2011 at 2:00 pm #380302I need a direct link to the pdf in question which was the point of my post. What is the exact location (not the one generated by Joomla) of the PDF?
kadad Friendkadad
- Join date:
- August 2010
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
March 8, 2011 at 2:19 pm #380304Sorry if I am a bit slow, but I don’t understand your question. If you mean you want a link to one of the pdf I try to had and goes to ” files does not exist”, here is one, but I don’t understand what you mean by “not the one generated by joomla”.
On that article : http://www.apocag.fr/index.php?option=com_k2&view=item&id=63:plan-cornadis-en-bois&Itemid=146
There is a pdf attachment named “Cornadis en bois” and its link is :
http://www.apocag.fr/index.php?option=com_k2&view=item&task=download&id=52&Itemid=146
Sorry if it wasn’t what you asked
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 8, 2011 at 2:28 pm #380307I mean the link to the actual file on a file level basis. Look for the file in your ftp app and tell me the exact filename and folder it is in.
kadad Friendkadad
- Join date:
- August 2010
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
March 8, 2011 at 2:37 pm #380309Here is a file available in frontend, which has been added when the website was local :
ftp://apocag@ftp.apocag.fr/www/media/k2/attachments/Choisir_CMV.pdf
All other files I try to add since it is online, doesn’t appear at all, so I can’t send link
kadad Friendkadad
- Join date:
- August 2010
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
March 8, 2011 at 3:00 pm #380313I try to search my self.
In the k2 information, it says attachment are here :
media/k2/attachments
Maybe is it a problem of path ?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 8, 2011 at 3:11 pm #380317So here is a working file – http://www.apocag.fr/media/k2/attachments/Choisir_CMV.pdf That is the sort of link I wanted.
Do you have a link to a file that doesn’t work?
Can you see the files via ftp in the attachments directory? Ones that do not work I mean?
If you can see them just give me the file name I will see if it works from a link such as above.
The more you describe this the more I think it is a permissions problem on your server which you will almost certainly need to speak to your host about to correct.
kadad Friendkadad
- Join date:
- August 2010
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
March 8, 2011 at 3:15 pm #380319I gave you one before :
On that article : http://www.apocag.fr/index.php?optio…ois&Itemid=146
There is a pdf attachment named “Cornadis en bois” and its link is :
http://www.apocag.fr/index.php?optio…=52&Itemid=146
Answer : file does not exist. And it is true, it does not exist in the media/k2/attachment folder…
On k2 forum I see it is possible to change default folder. I can’t see where that is possible. Maybe is it a path problem…
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 8, 2011 at 3:20 pm #380321The link you give is one generated by Joomla. I need the propper link. The one you will see via ftp as per above. Not one with &itemid=……
What is the propper filename of the pdf attachment you are trying to link to.
Alternatively, provide me with an ftp account via PM and the name of that file and I will take a look.
kadad Friendkadad
- Join date:
- August 2010
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
March 8, 2011 at 3:31 pm #380323That is the point where we don’t understand each other.
In administrator, when I attach something in a k2 article, all seems to be all right but the fact that in the table when saving, there is no information and if I go to the media folder with ftp, the attachment doesn’t appear.
That is why I can’t give you the link to the attachment.
If you mean the name, for example, I tried once with a file named ra.pdf to be sure it is not a problem of file name.
If you need administrator account, I’ll send you.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 8, 2011 at 3:39 pm #380325Then the most likely cause is a permissions problem. If the script does not have permissions to create a file then with K2 it seems to still create the link even if the file was not copied. Try uploading the problematic file using ftp into media/k2/attachments to prove the point.
Try changing the chmod of media/k2/attachments to 777 and try uploading a new file from the front end to see if that works.
kadad Friendkadad
- Join date:
- August 2010
- Posts:
- 129
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
March 8, 2011 at 4:26 pm #380338I changed media/k2/attachments to 777 and it has the same result.
I uploaded pdf file to media/k2/attachments without any problem. File get 644 permission.
I tried to add attachment from frontend, same thing, seems to work but nothing goes to folder.
I must say that since I put the website online, no attachment is able to be uploaded through k2.
Is there anywhere else I should change permissions ?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
-
AuthorPosts
This topic contains 47 replies, has 5 voices, and was last updated by kadad 13 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum