test
Viewing 15 posts - 16 through 30 (of 47 total)
  • Author
    Posts
  • kadad Friend
    #380292

    Sorry 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 Moderator
    #380295

    Not 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 Friend
    #380299

    Thank 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 Moderator
    #380302

    I 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 Friend
    #380304

    Sorry 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 Moderator
    #380307

    I 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 Friend
    #380309

    Here 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 Friend
    #380313

    I 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 Moderator
    #380317

    So 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 Friend
    #380319

    I 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 Moderator
    #380321

    The 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 Friend
    #380323

    That 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 Moderator
    #380325

    Then 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 Friend
    #380338

    I 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 Moderator
    #380359

    You should speak to your host and get them to change ownership of everything “CHOWN command” to something the script will have write permissions for.

Viewing 15 posts - 16 through 30 (of 47 total)

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