I've been trying to set up the image gallery so that I can adjust the design, but have hit a wall after following the instructions at http://drupal.org/node/41257 and http://drupal.org/node/41259

I have managed to get Drupal to see that I am intercepting the call to theme_image_gallery(), which inexplicably began working without any intervention from me, but now I get the following error whenever I try to visit any gallery:

Fatal error: Call to undefined function _phptemplate_callback() in /path/to/my/theme/template.php on line 181

I'm really stuck trying to overcome this so any help would be appreciated.

Comments

harrisben’s picture

I've since realised that _phptemple_callback() no longer exists and have replaced it with theme_render_template(), but it exhibits unusual behaviour because the site I'm dealing with is in a subdirectory of the main domain.

While it isn't specified anywhere, the full path and file name are required for this to work. The good news is it now works.