New Zenner
- Join Date:
- Oct 2010
- Posts:
- 84
- Plugin Contributions:
- 0
Zen Lightbox addon [Support Thread]
The blank screen error is to do with options.php. When I checked the debug logs it came up with ...
syntax error, unexpected T_ELSE in /home/.../public_html/includes/classes/zen_lightbox/options.php on line 53
So I took a look at the code and I'm not sure if its a typo but if you look around line 53 you will see
if (ZEN_LIGHTBOX_KEYBOARD_NAVIGATION == 'true')
{
echo str_replace(' ', '', ZEN_LIGHTBOX_NEXT_KEYS);
}
echo ']';
else
{
echo 'false';
}
?>
If you look I've highlighted the offending echo in red :D You need to move this. I'm not sure where it's meant to go or if its even meant to be there but for a quick fix I just moved it to the bottom of the file. for E.G...
if (ZEN_LIGHTBOX_KEYBOARD_NAVIGATION == 'true')
{
echo str_replace(' ', '', ZEN_LIGHTBOX_NEXT_KEYS);
}
else
{
echo 'false';
}
echo ']';
Hope this helps :D Sorry about the long winded explanation but I find if I explain things like this it helps people debug errors in the future ;)