Unable to use $_GET params , gives black slider
-
I’ve implemented the plugin (version 2.4.2) in my WordPress site (version 4.9.8) and it works good when I fill in the variables under Settings -> Flickr Slideshow.
API key and username is correct.
I also fill in a default Flickr photosetidBut when I add the [fshow photosetid=….] tag in my posts I end up with an iframe where the code is loaded but the data is not received from Flickr.
I end up on founding a problem in the code:
file: mobile-friendly-flickr-slideshow.php , function url_handler(). Here the $_GET variable is used to retrieve the params from the url. But when I dump and exit the $_GET variable is empty/ it doesn’t exists. WordPress security?
Hence it falls back on the default settings.When the default Flickr photosetid is ‘0’ or an invalid id, the plugin displays an empty slider (black page)
My url looks good and has all the params (and are correct) and tested with default photosetid, which gives back the album and displays it:
[site url]/fshow_orbit_5bb4bd91513e3?photosetid=[my photosetid]&user_id=[my user id]&username=[my username]&gallery_url=[gallery url]
Also:
In orbit.php after the bottom-bar div. There is a script closing tag. But the opening tag is missing. Maybe a typo?
- The topic ‘Unable to use $_GET params , gives black slider’ is closed to new replies.