Undefined variable: conf (rewriteTokens.php)

In ma admin panel Options -> plugins I have discovered such problem:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/itprojns/public_html/abakgaleria/zp-core/zp-extensions/rewriteTokens.php(32) : eval()'d code on line 4
Notice: Undefined variable: conf in /home/itprojns/public_html/abakgaleria/zp-core/zp-extensions/rewriteTokens.php on line 33

And on register_user plugin I have:
Warning: Invalid argument supplied for foreach() in /home/itprojns/public_html/abakgaleria/zp-core/zp-extensions/rewriteTokens.php on line 60

Any attempts to solve this like refresh meta tags or restore script doesn't help and destroys gallery, link to my broken site:

http://galeria.abakpracownia.pl/
Wersja Zenphoto 1.4.5.9 [12ad1f92fa] (Official build)

Have you known how to fix this?

Comments

  • acrylian Administrator, Developer
    The rewrite tokens are for the modrewrite urls and are not related to meta tags or users.

    Try a reupload from the 1.4.5.9 package for now. Generally the 1.4.5.x stream does not really get any fixes anymore as 1.4.6 is ahead.
  • I have restored gallery from backup, and turned off plugin rewriteTokens. But the plugin is still broken. The problem is in line 60:

    foreach ($this->conf_vars['special_pages'] as $page => $element) {

    It seems that the problem lies somewhere in the system configuration, but I'm not sure.
Sign In or Register to comment.