Slideshow only works once after reinitialization
-
Hi.
My slideshow will work once. Then it will only bring up a blank space that I cannot get off of. If I re-initialize, the slide show will work once, but then go back to the blank space versus bringing up a photo with the ability to go to the next photo.
Help!
Thanks!
-
Same here. Using Multisite and only get slideshows on first load of any page. Browser has to be closed and reopened to get another slideshow. This is the same in Chrome, IE9, Firefox, and Safari.
Same for as well, all browsers?
@ Kids Against Hunger- WM
A link please…
@ both: Please check checkbox in Table IX-A3: Allow WPPA+ Debugging
Then i can see more…
Analysis: the ‘container’-div where all the wppa+ code belongs to be in becomes damaged. This does not happen on any of my sites running 5.1.1.
Suggestions for repair and/or troubleshoot:
Re-init wppa+ by running the action on Photo Albums -> Settings admin page Table VIII-A1.
If your theme has settings that attempts to optimize, especially relocating embedded javascripts, or you have any plugins that may do such things: de-activate the optimization tools.
If you use the shortcode method like
[wppa type="album"...][/wppa], try the script method:%%wppa%% %%album=%%Try activating a different theme ( twentytwelve or so ) with the same plugins active, so you can find out if it is a theme(setting)
I tried step 1:
Re-initialize plugin. No changeI tried another theme as you suggested by still no change
I only use the standard shortcode [wppa][/wppa]
This is a brand new site, everything still being installed
Here is the link http://tonkamudrun4.kidsagainsthungerwm.org/photos/
Same happens with the script method only the blank space is a brighter blue. I also notice that Photos disappears from the breadcrumbs after I re initialize and use once.
@ Kids Against Hunger- WM:
Line 251 of the source from the browser reads:
<p><a class="shutterset_" title=" " href="http://tonkamudrun4.kidsagainsthungerwm.org/wp-content/gallery/kids-against-hunger/kah-1-copy.png">hereafter comes:
<!-- Start WPPA+ generated code --> <div id="wppa-container-1" style="clear: both; padding:0;" class="wppa-container wppa-container-1 wppa-rev-5101 wppa-prevrev-5017 wppa-theme-4-9-10 wppa-api-5-1-1-000" >Both the
<p>and<a ..>are not closed before the<div ..>from wppa. It is not allowed to have a<div>inside a<p>tag.
See http://stackoverflow.com/questions/10763780/putting-div-inside-p-is-adding-an-extra-pCan you get rid of the content of line 251 as it displayes nothing anyway?
Reinitialize and reset did not help. Same errors in fresh theme.
While this mostly affects slideshows, I created a page with just %%wppa%% here. http://www.zig81.com/blog/?page_id=1058 Loading and going into an album once and everything looks fine. Reload and go into an albom and the ‘portrait’ oriented thumbnails hover produces distorted popups. If you go as far as loading a slideshow, going back to the album page produces bad columns of albums and all the thumbnails start appearing with white edges.
On the plus side, you can open any of these in a fresh incognito page and they load properly…once.
This would seem to be a problem with a cached element somewhere but I’m out of my depth trying to debug it.
I think i found it. Pls give me one day to final test 5.1.2 before release.
Explanation:
On some installations ( yours…) The superglobal $_SESSION keeps the global $wppa into its element wppa,
so $wppa has the wrong data. I.e.$_SESSION['wppa'][]is contaminated with$wppa[]but not maintained consistently…This has been identified as the result of a bug in certrain php versions.
A workaround ( fix ) will be provided today ( wppa+ version 5.1.2 ).
Note: this is related to the ‘session’ and it may take 24 hours after installation before the fix is effective on clients that show the problem ( your pc ).Thank you Opa! I look forward to the 5.1.2 version.
A workaround ( fix ) will be provided today ( wppa+ version 5.1.2 ).
Will this fix my issue also?
Yes!
The topic ‘Slideshow only works once after reinitialization’ is closed to new replies.