Quote by Luke: Has anyone succesfully got the random photo block to work with the new Geeklog-ready installation of Gallery? I have tried both fixes listed by jhughes above and still get the errors reported in this post.
Yup.. there's 2 sections of util.php that I had to comment out for the random photo block to work (found these around the various developer's sites), but it Gallery seems to still work fine.
1: the previously mentioned on about integration, around line 1936:
Text Formatted Code
// if (! isset($GALLERY_EMBEDDED_INSIDE)) {
// header('Content-Type: text/html; charset=' . $gallery->charset);// }
2: the "reconfigure" section. Only remove/comment this after you actually HAVE reconfigured Gallery (assuming this is an upgrade).. around line 1023 for me:
Text Formatted Code
// if ($gallery->app->config_version != $gallery->config_version) {
// include($GALLERY_BASEDIR . "errors/reconfigure.php");
// exit;
// }