i'm having a problem with my new buddypress-theme (buddyboss). theres a picture-gallery in it which worked fine when i installed it. it even works fine with the same theme-files on my local installation. but now it says "The requested content cannot be loaded.” when i click on a thumbnail to open it. thats weird because it worked well in the beginning. i can't tell what i did wrong... heres the page: http://crowdartgallery.de/members/superduper/pictures/
thanks
Its looking at this page:
http://crowdartgallery.de/activity/p/22/?buddyboss_ajax_pic=true
which is returning a 404. You need to have it request the actual url of the image.
Using Chrome's dev tools you can view the web requests and see what is going wrong.
Related
I just noticed that my web app that has a <script> tag:
<script src="https://connect.soundcloud.com/sdk/sdk-3.1.2.js"></script>
is no longer loading the javascript file. The network panel is showing "404 Not Found"
I also just entered the url https://connect.soundcloud.com/sdk/sdk-3.1.2.js in my browser, but I'm seeing a blank page.
Is something wrong with what I'm doing? Maybe the URL is not up to date? I'm following the "basic use" instructions at https://developers.soundcloud.com/docs/api/sdks#javascript
Here's a jsfiddle that only has the script loading tag. In the javascript console you'll see that it fails to load:
http://jsfiddle.net/dn0m23rs/1/
It's working now, it seemed to just have been a temporary outage. Sadly, nothing was indicated on the soundcloud status blog.
I maintaine the web site of a friend of mine, and the console logs the following error:
GET https://www.my-client-site.ext/undefined 404 (Not Found) undefined:1
The problem is that I can't find the location of this call in the page.
I have try to search the page source code, and I cannot find any referense to this URL.
Also I have try to check JS files with break points, and still I cannot find this issue.
Is there any other way to make reseach for this particular issue ?
Go to firefox and install addon called Firebug.
https://addons.mozilla.org/en-US/firefox/addon/firebug/
Now Open firebug and go to console tab,
Firebug will show your javascript which is calling ajax in right corner of the pane.
Hope this helps.
My app at http://beta.billboard.fm is producing errors in my normal browsing session after playing a single song.
If i reload the page in incognito, the app works fully. I only recently starting experiencing these issues. I have completed cleared all of the cache and it works again, but only temporarily before throwing the same errors.
Additionally I have disable all browser extensions.
But, no matter what I do I can't get this error from being thrown by the Youtube API:
Unable to post message to http://www.youtube.com. Recipient has origin https://www.youtube.com
It looks like there is a mismatch in the security protocols. I tried changing them to https or just removing "http:" all together on my side. But it did not resolve the issue.
Any one have an idea what is happening here?
It is quite clear to me at this point that this is a major bug in Google/YouTube's API. They have written some bad code somewhere. This bug is not a consistent thing. This is well documented by the fact that everybody's code works just fine for an extended period of time, and then they discover that all of a sudden their sites stop working properly. Additionally, all of my websites that had this problem last week are now working without a glitch - again, without me altering code.
So while it sucks to say this - the onus is on Google & YouTube to fix this and provide APIs that actually work as advertised... It doesn't look to me like there's anything we can do about it on our own :(
I am having the same problem - I also tried changing my links to http: to https: and vice-versa with no luck. I found this tread on Google Groups, but so far there has been no response. https://code.google.com/p/gdata-issues/issues/detail?id=4697
Clearing my cache allowed the player to work for a few videos, but after 3 or 4, the same error pops back up.
UPDATE 2 - Dec. 24, 2013: This solution has not actually fixed the problem at all:
After following a thread that poulified referred me to in his answer, a user in the forum posted the following solution which seems to be doing the trick for me (UPDATE: Still experiencing issues on random page loads :/):
Hi all,
It is working for replacing http:// with https://
example: http://jsfiddle.net/8tkgW/29/
Please make sure the following tips
load iframe api https://www.youtube.com/player_api
load iframe src path: https://www.youtube.com/embed/0GN2kpBoFs4?rel=0
If load player via new YT.Player, you must check the iframe src path:
setTimeout(function(){
var url = $('#iframe_youtube').prop('src');
if (url.match('^http://') {
$('#iframe_youtube').prop('src', url.replace(/^http:\/\//i, 'https://'));
}
}, 500);
Please refer my github project:
https://github.com/appleboy/js-video-player/blob/master/js/jsplayer.js#L120
I am not an expert in javascripts/ajax, but I know some html,css an php....
And I have a joomla blogs... with ajax extensions...
The problem is, that some scripts are supposed to do dynamical loading, and they never work on my current host...but they are loading just fine on my other hosting, on wamp, etc....I don't know what is going on and I believe the host is something blocking, but their only answer is "contact developer, we can't find anything"....:(
I believe they are still blocked something, but I can't tell what....I don't get even error messages, and firebug doesn't show any errors, just not loading and that's it....
The first case was with search results, which were supposed to load more, when scrolling down --> I got a blank page, and no errors, even I set error displaying to the max...
Second case - now - I have on home page intro from articles, that are loading fine, but when I set in a module the option - "to load more on click of button" - nothing happens...
but on both cases it works fine on wamp and another similar hosting....
If you haven't already I would try to put the URL that your AJAX is using right into your browser and see what that returns.
On my page I have boostrapped a javascript file to the head section. The URL is correct. The Javascript file exists on my server at that correct URL. I checked with fiddler2 and it shows that a server request is never sent for the file. The file has a simple test script
$(document).ready(function() {
alert("blah blah");
});
Now it was working just fine. It fired the alert every time I refreshed the page while I was working on that particular page for like 30 minutes. I got up, went to grab a soda and some left over pizza. Papa Johns of course. But when I came back and refreshed the page.. The javascript file no longer showed up bootstrapped to the head section. The alert no longer fires either.
<script type="text/javascript" src="js/events.js"></script>
Hmm so I cleared cache. Refreshed, but nothing.
Tried Firefox, Opera, IE, Safari and Chrome. Nothing.
Checked server. Still there and nothing. Chmod 777 to the file and
its directory. Nothing.
Checked console for errors. No errors and still, nothing.
Saved file and opened in notepad++, checked show all characters
(to find hidden treacherous keys), nothing unusual. Just Carriage
return and tab. But still of course nothing.
Mind blown. Help?
I rebooted my server and mysteriously it started working again. I'm sure there is perfectly logical explanation for this but it's something beyond the scope of my knowledge. If someone has an explanation, I would really like to hear it. If you want I can pull out server logs if you need them.
But suffice it to say its working again.