Gallery3 produces a blank page or internal server error with versions of php such as 5.3 Checking the code it was packing up at the kohana initialise stage
after a lot of searching eventually i found
if ($filename = Kohana::find_file($type, $file))
{
// Load the class
require $filename;
}
else
{
// The class could not be found
//jph added code=========================
// twu2 begin
// avoid segmentation fault in Zend Guard
// because when ZendGuardLoader enable, it will try to load the same class again if it's not exist, then... it will try a random name, then segmentation fault
// so we keep the name first, then if it try again
// create a dummy class for it //
// only check this if ZendGuardLoader exist
if (extension_loaded('Zend Guard Loader')) {
static $last_name = '';
// reject it first
if ($last_name !== $class) {
$last_name = $class;
return FALSE;
}
// create dummy one if try again
Kohana_Log::add('debug', 'create dummy class: '.$class);
eval("class $class { }");
}
// twu2 end //=======================
return FALSE;
}
please modify your kohana.php it seems to clear the fault.