Keyword

Media Manager Error: Invalid backend response. Data is not JSON.

More
3 years 11 months ago #178957 by JoomlaWorks
Ah, IIS... Feeling adventurous I guess...

Please try v2.10.4 (dev) from getk2.org/downloads/?f=K2_Development_Release.zip - you can safely upgrade.

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

More
3 years 11 months ago #178962 by Thomas Thrane
My customer is :-)

Tried the DEV, but same error ...

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

More
3 years 11 months ago #178964 by JoomlaWorks
OK, one more thing. It's most likely that IIS is not configured to understand JSON, in other words, the proper content-type header is simply not set. Examine the JSON response in the Network tab and you should see the raw headers sent there.

Paste it back here.

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

More
3 years 11 months ago #178966 by Thomas Thrane
Not sure what to look for there - I don't see any JSON mentioned?

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

More
3 years 11 months ago #178968 by JoomlaWorks
The URL is index.php?option=com_k2&view=media&task=connector&...

Look for that.

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

More
3 years 11 months ago #178969 by Thomas Thrane
Nothing?
 
Attachments:

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

More
3 years 11 months ago #178983 by JoomlaWorks
Use Chrome please. It's much easier to work with.

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

More
3 years 11 months ago #179004 by Thomas Thrane
From Chrome
I don't see any JSON there?

 
Attachments:

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

More
3 years 11 months ago #179008 by JoomlaWorks
Filter the "XHR" responses and reload the page.

Does Chrome report anything else in its "Console" tab?

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

More
3 years 11 months ago #179010 by Thomas Thrane
Not much there ...
Attachments:

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

More
3 years 11 months ago #179011 by JoomlaWorks
The URL is right there (status 200, type xhr). Click on it and see its response that will open up on the right side.

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

More
3 years 11 months ago #179013 by Thomas Thrane
Shows:

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.

More
3 years 11 months ago #179041 by JoomlaWorks
I really can't say why this happens...

We can offer you paid support to debug the issue if you're interested. Use the contact form to get in touch: www.joomlaworks.net/support/get-help/contact

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

More
3 years 11 months ago #179061 by Thomas Thrane
So you want me to pay for something that is broken in you component?

Have you looked at:

The error happens in this request: /administrator/index.php?option=com_k2&view=media&task=connector&ff86b844a34b8546e70305cf82b5b429=1&cmd=open&target=&init=1&tree=1&_=1621427068790

Accessing this URL directly in the browser with an active admin session, responds with the following errormessage: "The most recent request was denied because it had an invalid security token. Please refresh the page and try again."

At the same time we get errors in PHP error log:
[19-May-2021 16:30:28 Europe/Copenhagen] PHP Notice: Trying to get property 'alias' of non-object in D:\wwwroot\components\com_k2\router.php on line 292
[19-May-2021 16:30:28 Europe/Copenhagen] PHP Notice: Trying to get property 'id' of non-object in D:\wwwroot\components\com_k2\router.php on line 316

Site is running on IIS 10, Windows 2019
PHP version: 7.4.16 NTS
K2 version: 2.10.3
Joomla version: Joomla! 3.9.26 Stable [ Amani ] 13-April-2021 15:00 GMT
MySql database version: 8.0.19

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

More
3 years 11 months ago #179065 by JoomlaWorks
It's broken for you, no-one else. And yes, for the FREE component you're using (which by the way cost a lot of money to build), yes, I don't find it unreasonable to request payment for custom support.

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

More
3 years 11 months ago #179066 by Thomas Thrane
I hear you :-)

How much will that cost me?

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

More
3 years 11 months ago #179079 by Thomas Thrane
How much will that cost me?

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

More
3 years 11 months ago #179105 by JoomlaWorks
Over email please.

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

More
3 years 3 months ago #179863 by Thomas Thrane
I have emailed you several times now, but still no answer ...

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

More
3 years 2 months ago #179883 by Thomas Thrane
I have emailed you several times now, but still no answer ...
Please respond!

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


Powered by Kunena Forum