- Posts: 61
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Recently migrated hosts - now ALL files have become unattached in K2!
Recently migrated hosts - now ALL files have become unattached in K2!
- that library
- Topic Author
- Offline
- Senior Member
Less
More
14 years 6 months ago #82989
by that library
Recently migrated hosts - now ALL files have become unattached in K2! was created by that library
I recently migrated my website (switched hosting companies) and now ALL of my file attachments have come unattached within K2! I can see them in the backend Admin area when clicking on the item, and then the Attachments tab, and even download the document, but it is unavailable in the front end as a user. The Error that is shown is "File does not exist." Where are the uploaded attachments *supposed* to be stored in the file tree on the server? And why would an attachment be showing in the Admin area but not for the front-end?I really need help on this as my K2 section is the main part of my website...Thanks in advance ~
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 6 months ago #82990
by william white
Replied by william white on topic Recently migrated hosts - now ALL files have become unattached in K2!
I suspect this is a problem with the paths in the server, which are sometimes different.
By default on my dedicated server they are stored in
./media/k2/attachments/imagetab.jpg, a test file i uploaded as an attachment and searhed for.
By default on my dedicated server they are stored in
./media/k2/attachments/imagetab.jpg, a test file i uploaded as an attachment and searhed for.
Please Log in or Create an account to join the conversation.
- that library
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 61
14 years 6 months ago #82991
by that library
Replied by that library on topic Recently migrated hosts - now ALL files have become unattached in K2!
Thank you William. I see that folder now on the server, however, the only file in it is one I re-attached earlier today. Nowhere to be found are all of the ones that *I* can see in the Admin when I open up an item and click on "attachments" tab...
I can't understand why they would all come un-attached, and if I can see them in the Admin area - where the heck are they?? And more importantly, how do I fix this?
I can't understand why they would all come un-attached, and if I can see them in the Admin area - where the heck are they?? And more importantly, how do I fix this?
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 6 months ago #82992
by william white
Replied by william white on topic Recently migrated hosts - now ALL files have become unattached in K2!
If that is the only file you can see, did you move the rest of the files from the other host?
Carolyn Harris said:Thank you William. I see that folder now on the server, however, the only file in it is one I re-attached earlier today. Nowhere to be found are all of the ones that *I* can see in the Admin when I open up an item and click on "attachments" tab...
I can't understand why they would all come un-attached, and if I can see them in the Admin area - where the heck are they?? And more importantly, how do I fix this?
Carolyn Harris said:Thank you William. I see that folder now on the server, however, the only file in it is one I re-attached earlier today. Nowhere to be found are all of the ones that *I* can see in the Admin when I open up an item and click on "attachments" tab...
I can't understand why they would all come un-attached, and if I can see them in the Admin area - where the heck are they?? And more importantly, how do I fix this?
Please Log in or Create an account to join the conversation.
- that library
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 61
14 years 6 months ago #82993
by that library
Replied by that library on topic Recently migrated hosts - now ALL files have become unattached in K2!
Yes, all the files within my joomla site were migrated over. That was on eof the first things I thought of, yet, they were all migrated over!
Looks like I just have to re-attach every... single... entry - ugh :(
Looks like I just have to re-attach every... single... entry - ugh :(
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 6 months ago #82994
by william white
Replied by william white on topic Recently migrated hosts - now ALL files have become unattached in K2!
not good.
how many items are like this
how many items are like this
Please Log in or Create an account to join the conversation.
- Marty Peet
- Offline
- Premium Member
Less
More
- Posts: 84
14 years 6 months ago #82995
by Marty Peet
Replied by Marty Peet on topic Recently migrated hosts - now ALL files have become unattached in K2!
Hey, realise it is a bit '...horse has bolted' but you should really look at the Akeeba backup/migration utility, it is truly brilliant when moving sites between hosts/uploading/downloading:
extensions.joomla.org/search?q=akeeba
extensions.joomla.org/search?q=akeeba
Please Log in or Create an account to join the conversation.
- Simon Wells
- Offline
- Platinum Member
Less
More
- Posts: 955
14 years 6 months ago #82996
by Simon Wells
Replied by Simon Wells on topic Recently migrated hosts - now ALL files have become unattached in K2!
Do you still have access to the previous host files?
How was the backup/transfer done?
Simon
K2 Support
How was the backup/transfer done?
Simon
K2 Support
Please Log in or Create an account to join the conversation.
- Marty Peet
- Offline
- Premium Member
Less
More
- Posts: 84
14 years 6 months ago #82997
by Marty Peet
Replied by Marty Peet on topic Recently migrated hosts - now ALL files have become unattached in K2!
Hey Caroline, can you have a quick look in your k2 admin panel > Parameters and see if there is any entry in the Change root attachments folder?
Please Log in or Create an account to join the conversation.
- that library
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 61
14 years 6 months ago #82998
by that library
Replied by that library on topic Recently migrated hosts - now ALL files have become unattached in K2!
...over 400 :( But on the upside, I already have the entries published so all I have to do is find the file on my various hard drives and attach it. I have about a thousand that I haven't already done, so at least this happened now and not once I've already done those!
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Recently migrated hosts - now ALL files have become unattached in K2!