asikart / remoteimage

Asikart RemoteImage helps you manage Joomla CMS image and media files on local and remote FTP host.
http://ext.asikart.com/extensions/asikart-remoteimage.html
10 stars 11 forks source link

Invalid backend response. Data is not JSON. #77

Closed quantumwebco closed 7 years ago

quantumwebco commented 7 years ago

Database Version 5.6.33-cll-lve Database Collation utf8mb4_general_ci Database Connection Collation utf8mb4_general_ci PHP Version 7.0.12 Web Server Apache WebServer to PHP Interface cgi-fcgi Joomla! Version Joomla! 3.6.3 Stable [ Noether ] 17-October-2016 13:35 GMT

asika32764 commented 7 years ago

Could you try install ARI in a new Joomla to test that is plugin conflict or not?

Mosolyalbum commented 7 years ago

Hy, I've got the same error when I try to open media manager. It worked before, but I don't know what had been changed! Joomla version: 3.6.4. PHP 5.6.23 MySQL 5.6.35

Thanks.

asika32764 commented 7 years ago

This is usually caused by a 3rd party plugin conflict, could you try install ARI in a new pure Joomla to test?

If it works, then you must disable every plugins in origin Joomla site to check which is the reason that makes this problem.

Mosolyalbum commented 7 years ago

Thank you, I've found the problematic plugin: Advanced Module Manager I don't understand, they were worked together in the last 3 years.

asika32764 commented 7 years ago

I'm not sure, maybe some php warning message appeared to broke the JSON string, every plugin with wrong syntax might caused this problem.

Try upgrade Advanced Module Manager. If you know how to use Chrome development tools, just upload the Network response and console screenshot.

quantumwebco commented 7 years ago

I found turning error reporting off solved this issue in most cases.

Mosolyalbum commented 7 years ago

Thanks, Error reporting is off in my case. I'm going to upgrade Advanced Module Manager. I've found it had been modified, but can't be upgrade from the version I have, so I need to reinstall it. Maybe that'll be the solution...

asika32764 commented 7 years ago

Close as the issue was caused by 3rd party extension.

The Ajax JSON must be complete that Javascript can parse it, so it cannot fixed by RemoteImage or any frontend side.