"Zenphoto found no theme scripts. Please check the themes folder of your installation."

5 views
Skip to first unread message

Jesse

unread,
Jan 12, 2010, 11:06:10 PM1/12/10
to zenphoto iphone
I keep getting the following error message in both Safari with the
user agent switched to iPhone and on the iPhone itself:
"Zenphoto found no theme scripts. Please check the themes folder of
your installation."


I've replaced the text in functions.php like you said on
http://code.google.com/p/zenphotoiphone/wiki/Redirect with the
following path:

$UA = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER
['HTTP_USER_AGENT'] : "";
$iphone = stristr($UA, 'iPhone') ? true : false;

if($iphone){
$theme = "/home/username/public_html/pictures/themes/
iphone"; // iphone theme.
}else{
$theme = $_zp_gallery->getCurrentTheme(); // regular theme
}

The only difference is that I've changed my "zenphoto" folder to
"pictures" and obviously I have my actual username where it is in the
path. Can anyone tell me what I am doing wrong? I'm also using the
latest ZenPhoto (1.2.8) so I don't know if they've changed something
with the new release that could cause a problem? I'm also hosted on
HostGator if that matters to anyone.

The regular theme still loads fine however.

Thanks.

Reply all
Reply to author
Forward
0 new messages