'Fancybox 2.1.5: The requested content could not be loaded - only on smartphones
I call a form with fancybox 2.1.5 which works fine on desktop view. But on any smartphone browser I get the message: "The requested content could not be loaded. Please try again later." The setup is:
$(document).ready(function() {
$(".various").fancybox({
helpers: {
overlay: {
closeClick: true // default is true
}
},
maxWidth : 1200,
maxHeight : 800,
fitToView : false,
width : '80%',
height : '80%',
autoSize : false,
closeClick : false,
openEffect : 'elastic',
closeEffect : 'none'
});
});
The link looks like this:
<a class="various fancybox.ajax buttongreen" href="https://domain.tld/form.php">Contact form</a>
The server is running with php 8.0
Solution 1:[1]
https://stackoverflow.com/a/64376270/10368610
Use pagination concept(skip, limit) with help of the total value of the record
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | SANJEEV RAVI |
