- Posts: 28
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- K2 shows media manager if category image is not available
K2 shows media manager if category image is not available
- Farid
- Topic Author
- Offline
- Junior Member
Less
More
7 years 11 months ago #154030
by Farid
K2 shows media manager if category image is not available was created by Farid
While using new version if K2, I faced a strange behavior; if the category image is not available or if you misspell category image name in URL, K2 default media manager shows up in front-end.
If user has logged in Joomla admin area, media manager works and if not it shows login form!
I think that's a security bug and needs fast consideration, or I've messed up somewhere which I don't think because I haven't touched even a single line of code in K2.
If user has logged in Joomla admin area, media manager works and if not it shows login form!
I think that's a security bug and needs fast consideration, or I've messed up somewhere which I don't think because I haven't touched even a single line of code in K2.
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
- Offline
- Elite Member
Less
More
- Posts: 169
7 years 11 months ago #154058
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic K2 shows media manager if category image is not available
Hi,
K2 media manager is available at frontend for a registered user but with no access for uploading or modifying any of the listed files - folders.
K2 media manager is available at frontend for a registered user but with no access for uploading or modifying any of the listed files - folders.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Farid
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
7 years 11 months ago #154074
by Farid
Replied by Farid on topic K2 shows media manager if category image is not available
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 11 months ago #154084
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 shows media manager if category image is not available
Are you using any SEO/SEF extensions?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Farid
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
7 years 11 months ago #154092
by Farid
Replied by Farid on topic K2 shows media manager if category image is not available
Nope. I'm only using clean Joomla installation and latest K2 component (2.7.0).
Although I've changed some of K2 SEO configurations like not showing category ID in URL, etc.
Although I've changed some of K2 SEO configurations like not showing category ID in URL, etc.
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
- Offline
- Elite Member
Less
More
- Posts: 169
7 years 11 months ago #154095
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic K2 shows media manager if category image is not available
By default a 404 error is triggered when a file is not found on the server. Instead you have a redirect to onother url and specifically to the media view of the K2 component. Can you verify that your htaccess file is not modified ?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Farid
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
7 years 11 months ago #154098
by Farid
Replied by Farid on topic K2 shows media manager if category image is not available
I only have default Joomla htaccess file and have never modified it.
Please Log in or Create an account to join the conversation.
- Farid
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
7 years 11 months ago #154101
by Farid
Replied by Farid on topic K2 shows media manager if category image is not available
I checked other websites using new version of K2 and navigating to a non-existent image in items or categories will result in showing media manager, and because of minimum access level required to show media manager, it shows login page if I'm not logged in!!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 11 months ago #154175
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 shows media manager if category image is not available
I just tried this in two different sites without replicating this behaviour.
Both nginx and Apache threw 404 errors.
Can you share you htaccess file?
Is your site live?
Do you have a /media menu item?
Both nginx and Apache threw 404 errors.
Can you share you htaccess file?
Is your site live?
Do you have a /media menu item?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Farid
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
7 years 11 months ago #154189
by Farid
Replied by Farid on topic K2 shows media manager if category image is not available
Well, I tried more different sites and problem seems to exist in all of them.
As I told you, I'm using default htaccess file on my local XAMPP which I found out about this problem.
I don't have a menu to media manager or anything like it
This is an example link using Nginx web server:
tourism.doctv.ir/media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_M.jpg
I have other under development and live websites with same problem.
As I told you, I'm using default htaccess file on my local XAMPP which I found out about this problem.
I don't have a menu to media manager or anything like it
This is an example link using Nginx web server:
tourism.doctv.ir/media/k2/items/cache/94d43e327d9303539cb1e2aac7032668_M.jpg
I have other under development and live websites with same problem.
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- K2 shows media manager if category image is not available