fatal error: template-fuctions:1137

Hello,

I'm trying to adjust my thumnails and figured out that it had to been done with printCustomAlbumThumbImage in the template-functions.php. changed width to 300 heigh 100 and see what happens (just to learn). well this what happened:

Fatal error: Cannot redeclare printeditable() (previously declared in /../public_html/zp/zp-core/template-functions.php:1137) in /../public_html/zp/zp-core/zp-extensions/deprecated-functions.php on line 268

and now even after change everything back to NULL i've got this message.

how to resolve this?
many thanks
Sturmgas

Comments

  • acrylian Administrator, Developer
    If your theme is updated to the recent Zenphoto release you should disable the deprecated-functions.php plugin. As the name says it should not be needed for properly updated sites (a 3rd party theme of course might still need it).
  • You seem to have mixed versions of source files in your install. How was it installed?

    In the 1.4.2.x release there is no declaration of `printeditable()` in `template-functions.php` so presumably that file is not from the same release as the `deprecated-functions.php` file.
  • Okay, My host (antagonist.nl) has ZP as one of the programs to use and install and update automatically so probably the fault is theirs.

    I will upload the newest version of template-functions.php when i'm back from work and see what happens and working hard on updating my theme!
  • acrylian Administrator, Developer
    So once again auto installers messing it up. That is why we don't recommend to use these. Please don't just copy one file but install Zenphoto completely new as described on our installation page.
  • Yep, indeed it is working again and while reading how to update i read the "Note" and you are so absoluty right.

    Now to figure out : Missing argument 2 for printCustomAlbumThumbImage(), called in /home/deb29030/domains/sturmgas.nl/public_html/zp/themes/CCog-V.4/album.php on line 17 and defined in
    but thats a total different problem and first i will read on it and comback later, succeeding or asking!
Sign In or Register to comment.