- Posts: 11
COMMUNITY FORUM
k2 attachments with wrong links
- eran
- Topic Author
- Offline
- New Member
Less
More
6 years 2 months ago #169224
by eran
k2 attachments with wrong links was created by eran
I've got a strange problem with k2 attachment links.
From some reason its link is lacking the domain name and therefor not accessible (for example index.php/2015-07-22-10-19-22/item/download/1407_0a51e5d37e130b44aa6b536debc8ca67).
In the admin - the links are working.
I did not change the default folder for attachments (in settings) at first, then tried to specify the exact folder, and when it didn't work tried to check weather it is a result of settings in $live_site definition in configuration.php (first with the site url and now empty) it did not change a thing.
Nothing has changed - still, the attachments links are lacking the domain name and therefor unreachable.
Any idea ?
THX
From some reason its link is lacking the domain name and therefor not accessible (for example index.php/2015-07-22-10-19-22/item/download/1407_0a51e5d37e130b44aa6b536debc8ca67).
In the admin - the links are working.
I did not change the default folder for attachments (in settings) at first, then tried to specify the exact folder, and when it didn't work tried to check weather it is a result of settings in $live_site definition in configuration.php (first with the site url and now empty) it did not change a thing.
Nothing has changed - still, the attachments links are lacking the domain name and therefor unreachable.
Any idea ?
THX
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #169238
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic k2 attachments with wrong links
First off, upgrade to the latest dev release of K2: github.com/getk2/k2/archive/master.zip
Then clean your site's cache.
Let me know if that solves your issue.
Then clean your site's cache.
Let me know if that solves your issue.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- eran
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
6 years 2 months ago #169247
by eran
Replied by eran on topic k2 attachments with wrong links
1. The site had crashed after upgrading to the latest dev release to k2 you''ve given me (I've reinstalled the stable 2.8.0 ver and the site is working).
2.To rule out cache issues I've disabled the cache.
Still the problem remains...
2.To rule out cache issues I've disabled the cache.
Still the problem remains...
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #169249
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic k2 attachments with wrong links
2.9.0 was just released. I think (seeing when you posted this) you stumbled on an issue identifying a little before issuing the final release. So now you can safely upgrade (you should also see 2.9.0 in the Joomla installer).
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- eran
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
6 years 2 months ago #169264
by eran
Replied by eran on topic k2 attachments with wrong links
I installed k2 v. 2.9.0.
Nothing changed.
The attachment links still appear without the domain name (ie index.php...)
Even files that were published before (and downloaded several times according to the counter) are no longer available due to wrong link. The result - ALL the attachments in the site are unavailable.
Nothing changed.
The attachment links still appear without the domain name (ie index.php...)
Even files that were published before (and downloaded several times according to the counter) are no longer available due to wrong link. The result - ALL the attachments in the site are unavailable.
Please Log in or Create an account to join the conversation.
- eran
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
6 years 2 months ago #169265
by eran
Replied by eran on topic k2 attachments with wrong links
Solved it !
The problem was with the overide item.php file.
I've copied the attachments code from the original - and the links are OK now.
Thank Fotis
The problem was with the overide item.php file.
I've copied the attachments code from the original - and the links are OK now.
Thank Fotis
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 2 months ago #169266
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic k2 attachments with wrong links
I'm glad you sorted it out!
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.