Keyword

Attachments K2_FILE_DOES_NOT_EXIST

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109219 by Aurélien CADIOU
Attachments K2_FILE_DOES_NOT_EXIST was created by Aurélien CADIOU
Hi everybody,

I have a problem with K2. I want attach PDF files, but we can't download it.

The message is K2_FILE_DOES_NOT_EXIST...

The files are good in the FTP with the 777 permission.

Can you help me please ?

Thank you for advance,
Aurélien

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #109220 by william white
Replied by william white on topic Re: Attachments K2_FILE_DOES_NOT_EXIST
777 is not a good idea - www.dionysopoulos.me/blog/72-777-the-number-of-the-beast.html

Can you download the file in question by typing it into your browzers url bar?

Please Log in or Create an account to join the conversation.

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109221 by Aurélien CADIOU
Replied by Aurélien CADIOU on topic Re: Attachments K2_FILE_DOES_NOT_EXIST
Thank's you for this response.

I have put 755 permission for the folder.

When I open the flie with the adress in my browser, the file is good oppening...

File st-andre-le-gaz.fr/joomla/images/cr_mairie/2011/20110304.pdf
URL K2 : st-andre-le-gaz.fr/joomla/index.php/vie-municipale/comptes-rendus-municipaux/item/download/13_5b198069ec1a8bdbc8e5c181673155e6

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #109222 by william white
Replied by william white on topic Re: Attachments K2_FILE_DOES_NOT_EXIST
ok, are you getting an error when you attach the file to the k2 item and save?
Check and be sure that the root attachments folder is set correctly in k2 paramaters and
k2 information tab for mb_string enabled

Please Log in or Create an account to join the conversation.

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109223 by Aurélien CADIOU
Replied by Aurélien CADIOU on topic Re: Attachments K2_FILE_DOES_NOT_EXIST
I have write /images/ but is the same problems...

My files is in www.xxx.fr/joomla/images/...

Please Log in or Create an account to join the conversation.

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109224 by Aurélien CADIOU
Replied by Aurélien CADIOU on topic Re: Attachments K2_FILE_DOES_NOT_EXIST
Up, please :)

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #109225 by Jose M.
Replied by Jose M. on topic Re: Attachments K2_FILE_DOES_NOT_EXIST
Hello!
I have the same problem, if I change the directory in the parameters (e.g. images/documents or media/k2/attachments) does not work, but if parameter leave in blank, if that works.
The images/documents or media/k2/attachments folder exists and has the appropriate permissions.

When not working, the file was not created in any folder but the link to the file from the backend in the form of the item if that works.

Joomla 2.5.9
K2 v.2.6.3

Thanks
Sorry for my english.

Jose

Please Log in or Create an account to join the conversation.

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109226 by Aurélien CADIOU
Replied by Aurélien CADIOU on topic Re: Attachments K2_FILE_DOES_NOT_EXIST
I have update K2 and I have deleted the folder in parameters and it's OK for news files uploaded !

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #109227 by Jose M.
Replied by Jose M. on topic Re: Attachments K2_FILE_DOES_NOT_EXIST
Can anyone else verify this?
is a bug?

Jose

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #109228 by Jose M.
Replied by Jose M. on topic Re: Attachments K2_FILE_DOES_NOT_EXIST
Putting the / character to the directory in parameters, if it works (e.g. = /media/k2/attachments or /images/documents), but I can not find where it stores its files.

Without this, the problem is that it creates the directory within the directory administrator
e.g. = administrator/media/k2/attachments or administrator/images/documents
and from Frontend, can not find files, but from Backend yes.

K2.2.6.3

Thanks

Jose

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum