solved Editor Embedded Media and Editor Image Upload problems

White Agency
White Agency
@white-agency
9 years ago
204 posts
I've got both of these modules installed with the quota's set up to use them.

When the Embedded Media popup loads it stays with a 'loading' gif on the default tab with no images loading. You can then click on another tab which loads OK and then return to the default tab which then loads OK.

Changing the default tab for the Embedded Media make no difference. It's always the image Gallery.

With the Editor Image Upload the tab appears in the Embedded Media but there is no way to upload anything, just size, position and margin dropdowns with nothing under image.
editor.jpg
editor.jpg  •  20KB


updated by @white-agency: 07/13/15 05:55:47PM
michael
@michael
9 years ago
7,746 posts
The tabs are loaded via ajax. First guess is your site is www.something.org but your using something.org instead. Ajax would fail to load in this case.

You can see if this is the case in firefox by opening firebug and looking at the console to see what errors occur.

The fix is to just use one url for the site not both WWW and NON-WWW versions simultaneously.
White Agency
White Agency
@white-agency
9 years ago
204 posts
That wasn't the problem Michael but it pointed me in right direction.

Got our own jquery code running which was failing when the tab page loaded and so made the tab code fail, so moved the location of our code so it doesn't interfere with anything else so it all works now. :)
michael
@michael
9 years ago
7,746 posts
Champion! ;) Love it when the connections fire and you can get to the source of the issue.

Tags