Flickerd theme: Missing argument error

I am currently getting the following errors on my gallery and sadly I do not know how to fix them do to lack of coding experience!

Warning: Missing argument 3 for setThemeOption(), called in /home3/ken/public_html/gallery/themes/FlickerdTheme-master/flickerd.class.php on line 483 and defined in /home3/ken/public_html/gallery/zp-core/functions.php on line 1754

Warning: Missing argument 4 for setThemeOption(), called in /home3/ken/public_html/gallery/themes/FlickerdTheme-master/flickerd.class.php on line 483 and defined in /home3/ken/public_html/gallery/zp-core/functions.php on line 1754

Notice: Undefined variable: album in /home3/ken/public_html/gallery/zp-core/functions.php on line 1756

Notice: Undefined variable: theme in /home3/ken/public_html/gallery/zp-core/functions.php on line 1762

Notice: Undefined variable: theme in /home3/ken/public_html/gallery/zp-core/functions.php on line 1764

Any assistance would be grand!

Comments

  • acrylian Administrator, Developer
    Sorry, this is an old 3rd party theme we have no knowledge about. I would suggest to open a ticket on its development page here:
    https://github.com/amereservant/FlickerdTheme
    But it appears not to be maintained for over three years already. It is most likely not fully compatible with Zenphoto 1.4.6 anyway.
  • fretzl Administrator, Developer
    I found this issue+fix:
    https://github.com/amereservant/FlickerdTheme/issues/15

    Apparently you have to change line 41 in themeoptions.php
    from
    setThemeOption('zenpage', 1);
    to
    setOptionDefault('zenpage', 1);

    You might give it a try.
  • Yeah did that no dice.

    I see that the theme is dead sadly. Not much I can do about that. I love zenphoto but OMG the lack of themes that are supported is KILLING me
  • acrylian Administrator, Developer
    Yes, too bad that people apparently abandon their themes. But we can't do that for them sadly.
  • Yeah I more than understand. I just wish I could make the flickr theme work :(

    I am too much of a noob with coding to fix it
  • I am getting another error now:

    Fatal error: Call to undefined function printAdminToolbox()

    is this one an easy fix?
  • acrylian Administrator, Developer
    Also related to the theme not being maintained anymore. That function does not exist anymore so you will have to remove all occurances in the theme.
  • Done. The fatal error is gone and the theme is working quite well with the exception of the continued presence of the first reported errors that I can not seem to make go away
  • and all the errors are fixed! Thanks for the help gents! Flickerd working grand now!
  • acrylian Administrator, Developer
    Great, best would be to try to let the original dev know about this. Although I don't think he will incorporate it. You could fork the theme though and make it available updated. The MIT license it is released under allows that.
  • How do you do that?
  • acrylian Administrator, Developer
    Several ways. You can just upload the theme package to your site and provide it for download. But since it is already on Github you could open a (free) account yourself and fork it to your own account. Then you add your fixes. Or your upload it to your account directly. You will have to get into this a bit if you are not coder though.
  • Can't I just provided the updated files?
  • acrylian Administrator, Developer
    You should provide the full theme for more "normal" users. You can just provide your updated version for download. We have summed up some "best practices" how to do that here:
    http://www.zenphoto.org/news/general-contributor-guidelines#providing-themes-and-plugins

    The actual best way would be to let the original dev know about them so they can be incorporated. But since nothing happened for three years… I would still open a ticket to inform him, just in case.
Sign In or Register to comment.