Sitemap error - undefined startsitemapcache()

Hello,

When pointing my browser to sitemap.php I get the following error:

`Fatal error: Call to undefined function startsitemapcache() in /home/testbed/public_html/sitemap.php on line 11`

Here's debug info:

http://pastebin.com/aVTRk31U

What could be wrong?

Comments

  • acrylian Administrator, Developer
    The only I could think of is that the plugin is not enabled. But actually then you should not get that far then and get a "page not found".
  • Hmm, I tried disabling it and then enabling it again but still get the same error.

    When plugin is disabled and when executing sitemap.php, I get different error:

    `Zenphoto Error: the requested object was not found.`
  • acrylian Administrator, Developer
    All right, I was able to reproduce that... Sorry, I don't know why but somehow the call to the plugin functions itself got lost... For a quick workaround add this in line 5 of the root sitemap.php file (right before the `if`):
    `require_once(ZENFOLDER . "/zp-extensions/sitemap-extended.php");`
  • Works fine now. Thanks!
Sign In or Register to comment.