I solved the problem. The proposed fix listed in the FAQ didn't help. The problem was, as stated before by someone else, that the script tries to write something while the page has not finsihed loading. I changed the following:
phocagalleryslideshow.php:
Instead of:
Code: Select all
$script .= 'new fadeshow(fadeimages'.$c.', '.$width.', '.$height.', 0, '.$delay.', 1, \'R\')' . "\n";*/
Code: Select all
$script .= "function fadeshowladen() {\n";
$script .= 'new fadeshow(fadeimages'.$c.', '.$width.', '.$height.', 0, '.$delay.', 1, \'R\');' . "\n";
$script .= "}\n";
$script .= "if(window.onload) {\n";
$script .= "var temp = window.onload;\n";
$script .= "window.onload=function(e) {\n";
$script .= "temp(e);\n";
$script .= "fadeshowladen();\n";
$script .= "};\n}\n else{\n window.onload=function(e) {\n";
$script .= "fadeshowladen();\n";
$script .= "};\n}";
Of course I am not sure if it works on all cicrumstances - I only can say that it works in my environment.
Perhaps you want to use the solution for your next update...? Surely it still can be code-optimized, it was quick and dirty...
With best regards
Ingo Dreyer

