Well I solved the albumtitle issue, but my PHP coding abilities are too limited to fix the search error. Does anyone else have a solution maybe ? My search.php:
`
<body>
<?php if (function_exists('printAdminToolbox')) printAdminToolbox(); ?>
<?php echo getBareGalleryTitle(); ?>
| <?php echo gettext("Zoekresultaten"); ?>
<div id="content">
<div class="alb_menu" >Stock foto database. Voer een zoekterm in...
<?php if (getOption('Allow_search')) { printSearchForm(); } ?>
<?php $_zp_albums = $_zp_current_search->getAlbums(0);
foreach ($_zp_albums as $key=>$albumname); {
$album = new Album($_zp_gallery, $albumname);
if ($album->getNumImages() == 0) {unset($_zp_albums[$key]);}
} ?>
<?php while (next_album()): $c++; ?>
<?php if (getNumImages() !=0) : ;?>
<div>
<div class="albumthumb" >
<?php printAlbumThumbImage(''); ?>
Album: <?php printAlbumTitle(); ?>
</div>
<?php endif; ?>
<?php endwhile; ?>
<p class="clear">
</div>
<?php while (next_image(false, $firstPageImages)): $c++;?>
<div class="image">
<div class="imagethumb">
<?php printImageThumb(getBareImageTitle()); ?>
<?php echo getBareImageTitle(); ?>
<?php echo printImageDesc(true); ?>
</div>
<?php endwhile; ?>
</div>
<br clear=all>
<?php if ($c == 0) {echo "".gettext("Sorry, no image matches. Try refining your search.")."
";}
printPageListWithNav("« ".gettext("prev"),gettext("next")." »"); ?>
</div>
</div>
</body>
`
http://maccusfoto.nl/zenphoto/page/search/fields255/roma
http://maccusfoto.nl/zenphoto/page/search