richov
Forum Replies Created
-
Forum: Plugins
In reply to: [SE HTML5 Album Audio Player] Dropdown doesn't work in editorI’ve just installed the plugin on wp version 3.6.1 and one opening the New Album pane I get in the firebug console:
GET http://localhost:8888/wp-admin/admin-ajax.php?action=get_se_album_list 404 Not Found
tinymc-plugin.js (line 57)“NetworkError: 404 Not Found – http://localhost:8888/wp-admin/admin-ajax.php?action=get_se_album_list”
The url should have been:
http://localhost:8888/project-name/wp-admin/admin-ajax.php?action=get_se_album_list with <project-name> being the website I am working on.Looking into the code in tinymc-plugin.js on line 56 I found:
xmlhttp.open("GET","/admin-ajax.php?action=get_se_album_list",true);
Removing the leasing slash so that it becomes:xmlhttp.open("GET","admin-ajax.php?action=get_se_album_list",true);seems to fix the problem with the incorrect url and populates the dropdown which is now clickable. However when adding it to a post and viewing it I now get:
GET http://localhost:8888/wp-content/plugins/se-html…er/js/niftyplayer/niftyplayer.js 404 Not Found
“NetworkError: 404 Not Found – http://localhost:8888/wp-content/plugins/se-html5-album-audio-player/js/niftyplayer/niftyplayer.js”
Which again is the incorrect url. app.js line69 is where the call is made but no matter how I manipulate the url, I can’t get it to work.
Plus I should really have to change any of the url’s to work so not sure why it won’t work out of the box.Cheers