Hello, i use ZenPhoto 1.4.8 and the zpfocus theme. i can not login because there is no Name in the login form. please have a look here: http://kirchspiel-fkb-rengershausen.de
Glad you fixed it… But as always you should never ever modify core files, instead modify the theme where it calls the function. If this is a bug we welcome fixes on this unsupported theme on the unsupported repo on GitHub. You also can always login directly by visiting `yourwebsite.com/admin`.
Yes, the link is the site, when you klick on Galerie there is only a white Site, no galerie is shown. if you klick on random album image on the left then the album is shown but there is no diashow. can we switch this conversation to the right Forum.
No, white page. Permissions, wrong htaccess or a fatal php error. YOu did review the server php error log and not only the Zenphoto one? Also try a official theme and if it does not happen there it is a theme issue.
Hello acrylian, Strao reports: PHP Parse error: syntax error, unexpected '}' in /htdocs/themes/zpfocus/album.php on line 65
and here is the class thats make trouble ( or not)
`
<?php if ($useGslideshow){ ?> <?php printSlideShowLink(gettext('Slideshow')); ?> <?php } elseif ($zpfocus_use_colorbox_slideshow) {?> <?php $x=0; while (next_image(true)): if ($x>=1) $show='style="display:none;"'; } else { $show='' This is Line 65---> } ?>
Some more... There's an orphaned PHP closing tag on line 108: `printPageListWithNav('« '.gettext('Prev'), gettext('Next').' »',false,'true','page-nav','',true,'5' ); ?>`
Remove the "`?>`" at the end of the line. That finaly worked for me.
Hello acrylian, juhu now it works, there are more errors on the site, 1)I rename all get...URL to get...LinkURL 2) delete all php if ((getCommentCount()) > 0) { 3) there is a single ?>
there are also errors on gallery.php look 1) and there is Missing argument 1 for printAlbumThumbImage()in line 31 gallery.php but defined in zp-core/template-functions.php on line 1687
New Problem when i klick on a album, the images fits to the site but when i then klick to another album, the images are wild over the screen.
perhaps is this the problem:
PHP Warning: require_once(zp-core/zp-extensions/print_album_menu.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /htdocs/themes/zpfocus/inc-header.php on line 94 (line 94: <?php require_once(ZENFOLDER."/zp-extensions/print_album_menu.php"); ?> ) 15.09.2015 23:16:16 PHP Fatal error: require_once(): Failed opening required 'zp-core/zp-extensions/print_album_menu.php' (include_path='.:/opt/RZphp55/includes') in htdocs/themes/zpfocus/inc-header.php on line 94 ?????????????
and where can i find the "include_path..opt/RZphp??????? sh..... good night and sleep well
`"include_path..opt/RZphp` is a server internal path. Is the print_album_menu plugin in its place actually? That is an included plugin so it should be.
Hello acrylian, Strato errorlogs says: PHP Fatal error: Call to undefined method Album::getLink() in htdocs/zp-core/zp-extensions/print_album_menu.php on line 289
The line is correct and indicates that somehow within the plugin there is no album object where one should be. Would think it might be some wrong context in the theme. Don't know.
fretzl had just submitted some updates to the theme in the unsupported repository. Maybe he had covered that, too, Best you try those.
Comments
template-functions.php line 4243:
$_password_showuser = NULL changed in
$_password_showuser = true
it works.
I cant open the Galerie.
There is only a link to pages instead of the album.
where can i fix it?
when you klick on Galerie there is only a white Site, no galerie is shown. if you klick on random album image on the left then the album is shown but there is no diashow.
can we switch this conversation to the right Forum.
what path must be in the database?
/albums/albumname or
albumname ?
Please review your error logs.
what happend, when you klick on an album?
get you the album?
ill try
nice sunday
seems to be a probelm with the gallery.php
is as outdated
getGalleryIndexURL
classified
maybe this helps
'getGalleryIndexURL` itself actually is not outdated but some parameters are.
Strao reports:
PHP Parse error: syntax error, unexpected '}' in /htdocs/themes/zpfocus/album.php on line 65
and here is the class thats make trouble ( or not)
`
`<?php if ($useGslideshow){ ?>
<?php printSlideShowLink(gettext('Slideshow')); ?>
<?php } elseif ($zpfocus_use_colorbox_slideshow) {?>
<?php $x=0;
while (next_image(true)):
if ($x>=1)
$show='style="display:none;"';
} else {
$show=''
This is Line 65---> } ?>
<?php if (!isImageVideo()) { ?>
rel="slideshow" href="<?php if ($zpfocus_cbtarget) { echo htmlspecialchars(getDefaultSizedImage()); } else { echo htmlspecialchars(getUnprotectedImageURL()); } ?>" title="<?php echo getBareImageTitle();?>"><?php echo gettext('Play Slideshow'); ?>
<?php $x=$x+1; } ?>
<?php endwhile; ?>
<?php } ?>
<?php echo gettext('Images in '); echo getBareAlbumTitle(); ?> (<?php echo getNumImages(); ?>)
`$show='';`
my dreamweaver says that there is a syntaxerror in line 62.
} else {
any ideas?
There's an orphaned PHP closing tag on line 108:
`printPageListWithNav('« '.gettext('Prev'), gettext('Next').' »',false,'true','page-nav','',true,'5' ); ?>`
Remove the "`?>`" at the end of the line.
That finaly worked for me.
juhu now it works,
there are more errors on the site,
1)I rename all get...URL to get...LinkURL
2) delete all php if ((getCommentCount()) > 0) {
3) there is a single ?>
there are also errors on gallery.php
look 1)
and there is
Missing argument 1 for printAlbumThumbImage()in line 31 gallery.php but defined in zp-core/template-functions.php on line 1687
no idea what that means, but it works
thanks a lot for your help
thanks got it
New Problem
when i klick on a album, the images fits to the site but when i then klick to another album, the images are wild over the screen.
perhaps is this the problem:
PHP Warning: require_once(zp-core/zp-extensions/print_album_menu.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /htdocs/themes/zpfocus/inc-header.php on line 94
(line 94: <?php require_once(ZENFOLDER."/zp-extensions/print_album_menu.php"); ?> )
15.09.2015 23:16:16 PHP Fatal error: require_once(): Failed opening required 'zp-core/zp-extensions/print_album_menu.php' (include_path='.:/opt/RZphp55/includes') in htdocs/themes/zpfocus/inc-header.php on line 94 ?????????????
and where can i find the "include_path..opt/RZphp???????
sh.....
good night and sleep well
changed require_once(SERVERPATH . '/' . ZENFOLDER."/zp-extensions/print_album_menu.php"); ( inc-header.php)
and
i have delete the class "thumb-landscape" ,the class "thumb" and the class "thumb-portrait" (album.php)
Strato errorlogs says:
PHP Fatal error: Call to undefined method Album::getLink() in htdocs/zp-core/zp-extensions/print_album_menu.php on line 289
But all seems to run fine.
Thanks for your help
fretzl had just submitted some updates to the theme in the unsupported repository. Maybe he had covered that, too, Best you try those.