Snack 1.0 Theme Problem

Hi!
I really like this theme, but I got this error message:

Fatal error: Call to undefined function zp_conf() in
...\themes\snack1_0\snack_function.php on line 210
and lines look like this:

if (zp_conf('mod_rewrite')) {

Maybe somebody has got similar theme like thumbs on one side picture on other
or somebody wants to make theme like this?
Help if somebody can.
Thanks a lot!
Cheers!

Comments

  • Im not aware of the Snack theme, can you point me to where you found it?
  • Gstyleris:

    The current version of zenphoto has made some major changes, so prior themes may need upgrading. In particular, the zp_conf function, which accessed an array created by the zp-config.php file, has been eliminated as has the use of zp-config.php for setting options. In the case of your theme, use `getOption('mod_rewrite')`.
  • Thank you very much!
    Now at least I can see some photos.
    Well I changed several lines,but now I'm getting new error:

    Warning: Missing argument 4 for printDefaultSizedImageStyle(), called in
    ....\themes\snack1_0\image.php on line 176 and defined in
    .....\themes\snack1_0\snack_function.php on line 68
    Maybe Zenphoto developers could fix this themes errors or could point which lines I have to change at all.
    This Gallery is really nice,works like a charm, thousand times better as mine :)
    Thanks!
  • The error message is pointing to the line you need to change. The function it describes is not a zenphoto function. It is defined in snack_function.php. The parameter that is missing is the `$style` parameter. However, what it should be is not obvious.

    According to the GildWeb site, this 'new' theme was posted May 29, 2006, so it doesn't seem so new now. Also, he says it is really a beta and asks for feedbak. Perhaps you should contact the developer of the theme for an update. Until now we have not been aware of this theme.
  • Well theme developer didn't made any answer to me.
    And it seems that blog is dead.
    Anyway maybe somebody has got some theme like that:
    thumbs on one side,picture other.
    Or somebody want to make it work for new version of Zenphoto...
    Where can I get older versions of Zenphoto, because I really want and like that theme, so I think it will perf. work with old ver.
    Somebody Give me a shout!
    Thanks!
  • An older version of the theme will not fix the last problem you listed. That problem is in the theme itsefl.

    You can browse the theme page and see if there is something that meets your needs. http://www.zenphoto.org/themes.php
Sign In or Register to comment.