in the powergallery/admin_gallery/global.php
change:
require_once("images/installed.png");
//PowerGallery version
$wa_settings['pg_version'] = '1.2.0';
mysql_free_result($result);
to:
//PowerGallery version
$wa_settings['pg_version'] = '1.2.0';
mysql_free_result($result);
require_once("images/installed.png");