Keyword

media manager blank - plus cannot upload or browse for image

  • Thomas Phillips
  • Thomas Phillips's Avatar Topic Author
  • Offline
  • New Member
More
4 years 11 months ago #171963 by Thomas Phillips
Any advice welcomed - error reporting only shows errors for deprecated extensions

maybe it is jquery?

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

  • Thomas Phillips
  • Thomas Phillips's Avatar Topic Author
  • Offline
  • New Member
More
4 years 11 months ago #171964 by Thomas Phillips
console errors are

index.php:13 Resource interpreted as Stylesheet but transferred with MIME type text/html: "www.lancasterathletics.co.uk/component/users/?view=login&return=aHR0cDovL3d3dy5sYW5jYXN0ZXJhdGhsZXRpY3MuY28udWsvbWVkaWEvazIvYXNzZXRzL3ZlbmRvcnMvc3R1ZGlvLTQyL2VsZmluZGVyL2Nzcy90aGVtZS5jc3M/dj0yLjkuMA==&Itemid=101".
index.php:12 Resource interpreted as Stylesheet but transferred with MIME type text/html: "www.lancasterathletics.co.uk/component/users/?view=login&return=aHR0cDovL3d3dy5sYW5jYXN0ZXJhdGhsZXRpY3MuY28udWsvbWVkaWEvazIvYXNzZXRzL3ZlbmRvcnMvc3R1ZGlvLTQyL2VsZmluZGVyL2Nzcy9lbGZpbmRlci5taW4uY3NzP3Y9Mi45LjA=&Itemid=101".
jquery-migrate.min.js?a574e2a1109ab41be2ffd9d9b719203d:2 JQMIGRATE: Migrate is installed, version 1.4.1
?view=login&return=aHR0cDovL3d3dy5sYW5jYXN0ZXJhdGhsZXRpY3MuY28udWsvbWVkaWEvazIvYXNzZXRzL3ZlbmRvcnMvc3R1ZGlvLTQyL2VsZmluZGVyL2pzL2VsZmluZGVyLm1pbi5qcz92PTIuOS4w&Itemid=101:1 Uncaught SyntaxError: Unexpected token <
index.php?option=com_k2&view=media:413 Uncaught TypeError: $(...).elfinder is not a function
at HTMLDocument.<anonymous> (index.php?option=com_k2&view=media:413)
at u (jquery.min.js?a574e2a1109ab41be2ffd9d9b719203d:2)
at Object.fireWith [as resolveWith] (jquery.min.js?a574e2a1109ab41be2ffd9d9b719203d:2)
at Function.ready (jquery.min.js?a574e2a1109ab41be2ffd9d9b719203d:2)
at HTMLDocument._ (jquery.min.js?a574e2a1109ab41be2ffd9d9b719203d:2)

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

  • Thomas Phillips
  • Thomas Phillips's Avatar Topic Author
  • Offline
  • New Member
More
4 years 11 months ago #171967 by Thomas Phillips
've uploaded the 2.9.1 dev version

this at least allows media manager to display

but still I cannot save images to items

after saving it displayed an unformulated page like this (with image details not saved)

Items
Categories
Tags
Comments
Users
User Groups
Extra Fields
Extra Field Groups
Media Manager
Information
K2 v2.9.1 [Dev Build]
Copyright © 2006-2019 JoomlaWorks Ltd.

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

More
4 years 11 months ago #171990 by JoomlaWorks
Have you checked permissions on the server? Under System Information in Joomla, you can check the permissions for common folders. If most appear in red color, then there is probably an ownership issue for files and folders and your hosting company should correct it.

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

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

  • Thomas Phillips
  • Thomas Phillips's Avatar Topic Author
  • Offline
  • New Member
More
4 years 11 months ago #171999 by Thomas Phillips
Hi - all writable apart from configuration.php

previous images seem to be in

www.lancasterathletics.co.uk/media/k2/items/cache/

do I need to check permissions on that folder?

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

  • Thomas Phillips
  • Thomas Phillips's Avatar Topic Author
  • Offline
  • New Member
More
4 years 11 months ago #172000 by Thomas Phillips
If I use the browse option (which allows me to upload since updating to the dev versions) I can select an image. But it doe not save. It goes to an unformulated page as mentioned previously. So for some reason the image data field is not saving.

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

More
4 years 11 months ago #172004 by JoomlaWorks
OK, first things first. When you use the "Image Gallery" tab in K2, all the uploaded images are moved into /media/k2/galleries/ (in subfolders based on each item's ID). The reason this is done is similar to how images upload via the "Image" tab are moved into /media/k2/items/: keep the media out of the users reach so no accidents happen (e.g. deleted media). This kills re-usability, but experience has shown that content managers usually upload new images and most times keep a pool of media/images under /images in Joomla, if they want to re-use something.

Now, if you create "regular" image galleries using the "Simple Image Gallery Pro" editor button, then these image galleries will be stored under the "root path" that you've defined in SIGPro's component settings (the default is /images/).

I hope you see the distinction already between the 2 ways of inserting an image gallery in K2.

As for the errors you get, these are JS related and they could be caused by other plugins that can load in K2 pages (e.g. system or third-party K2 plugins).

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

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

  • Thomas Phillips
  • Thomas Phillips's Avatar Topic Author
  • Offline
  • New Member
More
4 years 11 months ago #172006 by Thomas Phillips
Hii - thanks for that. The problem is with the main image for the item (2nd tab "image")

this is the intro image for the item in effect so is important. Any ideas about that. I have disabled all plugins that are related to k2 that were showing deprecation errors.

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

More
4 years 11 months ago #172009 by JoomlaWorks
Can you share 2 screenshots please? One with the form after you save the item and one with the browser dev tools in a separate window, again after the item is saved.

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

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

  • Thomas Phillips
  • Thomas Phillips's Avatar Topic Author
  • Offline
  • New Member
More
4 years 11 months ago #172017 by Thomas Phillips
here are screenshots
Attachments:

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


Powered by Kunena Forum