Keyword

Local file doesn't exist.

  • ryan corbin
  • ryan corbin's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #112568 by ryan corbin
Local file doesn't exist. was created by ryan corbin
Im using Joomla 2.5.9 and K2 2.6.6

All Im trying to do is make the attachments work from media manager.
Everytime I choose a file (like a PDF) that I have uploaded into the media manager to attach it to my K2 item, I get the message "Local file doesn't exist."

Inside Media Manager I created a folder in the IMAGES root called "Library". Inside the LIBRARY folder I have other category folders.

When I choose to attach a file using the attachments tab/ add attachments field/ select a file on the server/ media manager

My filelink is correct when it chooses it from the media manager. I have tested the file link in a browser to see if the file will open and it does. Permissions for the file in the media manager show that it is "read and write". I originally uploaded the file using Joomla media manager.

However, when I try and save the article it fails and gives me the error message. No file is attached.

What is the problem?

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

  • ryan corbin
  • ryan corbin's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #112569 by ryan corbin
Replied by ryan corbin on topic Re: Local file doesn't exist.
In my research I found out the following:

A file title can not have spaces in the name or you will get the error.

As soon as I removed the spaces and replaced with underscores the file now works in K2.

Why is this the case? Why does K2 not like spaces in the file names for attachments?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #112570 by Krikor Boghossian
Replied by Krikor Boghossian on topic [SOLVED] Re: Local file doesn't exist.
It is not K2 that does't like spaces in attachments.
Web servers do not like spaces and characters like !#$ etc..

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
11 years 1 month ago #112571 by nalk
Replied by nalk on topic Re: Local file doesn't exist.
I have this problem too. Joomla 2.5 and K2.

I have uploaded a number of PDF files to the media manager. I have a main folder. Inside this folder are folders with names of various products. Inside each of these folders reside the PDF files.

When I point the attachment tab in an item to a PDF in one of the folders in the media manager and try downloading it via the download button in the attachment tab I get a "file does not exist".
The same when I try downloading the file from the frontend.

For some odd reason when i use the attachment tab and upload the file into the item directly from my computer i can download the file from the frontend.

It is not the spaces in the names because there are no spaces.

I have tried previeweing the files in the media manager right before attaching them. They do work.

I have tried moving one file to the root of the manager. Still does not work.

I have tried putting one in a folder in the stories folder. No luck.

I cannot for the life of me figure out what is wrong. Anybody? Help will be much appreciated.

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

More
11 years 1 month ago #112572 by lydianp18
Replied by lydianp18 on topic Re: Local file doesn't exist.
Anybody come up with a solution - I'm having the EXACT same problem. If I try to attach a document already in the media manager I get file not found when you try to view it from the front end, but if I upload it it works fine.

Same versions, and no spaces in the file names.

Thanks.

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
11 years 1 month ago #112573 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: Local file doesn't exist.
Hy,

had similous problems with attach-tab: uploaded files via jce or media-manager i could attach, but same file attach to another article i get a duplicated file.

my solution: i dont use attach-tab, set attach-links in jce.

Greetings

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

More
11 years 1 month ago #112574 by nalk
Replied by nalk on topic Re: Local file doesn't exist.
Wohlkönig, some of us have clients who need the "iPad solution" i.e. the simplest method. :)

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
11 years 1 month ago #112575 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: Local file doesn't exist.
youre right, thats what i also want for my clients. but if the simpliest not works and my knowledge ends, i have to take 2nd-best;-)

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

More
11 years 1 month ago #112576 by lydianp18
Replied by lydianp18 on topic Re: Local file doesn't exist.
Not exactly a solution, or helpful. For starters the download links are cloaked when you use file attach, when you just embed a link it isn't cloaked and it shows exactly where the files are located.

I want them cloaked AND I need the "fill in the blank" solution for my client.

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
11 years 1 month ago #112577 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: Local file doesn't exist.
Hi,

youre right. i want a better solution too. maybe we find together one?

Greetings

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


Powered by Kunena Forum