[solved] The Requested Content Cannot Be Loaded. Please Try Again Later.
- [solved] The Requested Content Cannot Be Loaded. Please Try Again Later.
this page shows you possible ways to fix jquery fancybox error message The requested content cannot be loaded. Please try again later. , Last Updated: Sun Jun 14, 2020
Sat Apr 14, 2012
today a customer was complaining about their website not working. they were using jquery with fancybox and when ever a user click on a click to start fancybox, they would get a message that says:
The requested content cannot be loaded. Please try again later.
well, what happened here that they were using another script that uses fancy box, and when fancy box was started, it would not find the ajax div where the content will go, because it was removed by the previous command. instead we changed it to
you see the difference. instead of remove() we use hide()
so basically, if you are getting this error might be because of fancybox cannot find the element where to put the content to. for example, our script was looking for a div with id FancyBoxDiv and fancybox did not find it so thats why we were getting this error.
another possible issue could be duplicate divs with the same id or element that fancybox is using.
hope that helps