Keyword

Invalid backend response. Data is not JSON.

  • Giles Davidson
  • Giles Davidson's Avatar Topic Author
  • Offline
  • New Member
More
4 days 15 hours ago #174431 by Giles Davidson
Giles Davidson created the topic: Invalid backend response. Data is not JSON.
Getting this message in Media Manager and unable to use Media Manager. I'm using Joomla 3.9.14 and K2 2.10.2.

Any fixes available?

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 days 19 hours ago #174446 by Fotis
Fotis replied the topic: Invalid backend response. Data is not JSON.
Delete your /media/k2/assets/ folder and re-install K2. If that doesn't do anything, check if there are any file "ownership" issues with the folders the K2 Media Manager is trying to access (namely your /images folder if you haven't changed in through Joomla's Media Manager options - we use the same path for configuration).

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Giles Davidson
  • Giles Davidson's Avatar Topic Author
  • Offline
  • New Member
More
2 days 16 hours ago #174469 by Giles Davidson
Giles Davidson replied the topic: Invalid backend response. Data is not JSON.
Removed assets folder and reinstalled K2. Permissions on the images folder look OK.
Still getting the message: Invalid backend response. Data is not JSON. The most recent request was denied because it had an invalid security token. Please refresh the page and try again.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 days 11 hours ago #174474 by Fotis
Fotis replied the topic: Invalid backend response. Data is not JSON.
Weird. Are you getting any other JS related errors? Perhaps some system plugin is causing issues.

Additionally, try switching your error reporting in Joomla's global configuration to "none". Your server may be outputting PHP notices or warnings and cause JSON transactions to fail.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Giles Davidson
  • Giles Davidson's Avatar Topic Author
  • Offline
  • New Member
More
1 day 19 hours ago #174485 by Giles Davidson
Giles Davidson replied the topic: Invalid backend response. Data is not JSON.
Error reporting is already switched to 'None'.
I've cleared server and browser caches.

Browser developer console shows 2 messages:
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. index.php

JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:552

The first is from administrator/index.php.
The second from media.jui/js/jquery-migrate.min.js
Neither is an error and I don't suppose they are the problem.

I don't see anything on the logs (assuming I'm looking at the correct ones. The installation is controlled via CPanel/Softaculous).

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 day 14 hours ago #174491 by Fotis
Fotis replied the topic: Invalid backend response. Data is not JSON.
If you use Chrome, switch to the "Network" tab and load the media manager. Clear all entries there, filter those of XHR type & hard refresh the page (Ctrl or Cmd plus Shift plus R).

Once the page reloads, spot the line with the JSON request, click on it and then once the new set of sub-tabs opens, switch to the "Response" tab. What does it show?

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum