Seams like a database connection issue. on the index.php page, add the following at line 1:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
I'm wondering if there are any PHP errors being reported that may help determine the cause.
Hmm,
can't see any ...
page code starts with:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
<?php
//gallery id, theme
if(empty($pg_id)) $pg_id = $_GET['gallery'];
if(empty($pg_theme)) $pg_theme = 'dark';
if(isset($_GET['theme'])) $pg_theme = strtolower($_GET['theme']);
//set config
$abs_file = str_replace('\\', '/', dirname(realpath(__FILE__)));
$abs_prefix = substr($abs_file, 0, strrpos($abs_file, '/') + 1);
$included = strtolower(realpath(__FILE__)) != strtolower(realpath($_SERVER['SCRIPT_FILENAME']));
include($abs_prefix . 'global.php');