Shimmie needs to be run via a web server with PHP support -- you appear to be either opening the file from your hard disk, or your web server is mis-configured.
If you've installed a web server on your desktop PC, you probably
want to visit the local web server.
Shimmie needs three folders in it's directory, 'images', 'thumbs', and 'data', and they need to be writable by the PHP user.
If you see this error, if probably means the folders are owned by you, and they need to be writable by the web server.
PHP reports that it is currently running as user: ".$_ENV["USER"]." (". $_SERVER["USER"] .")
Once you have created these folders and/or changed the ownership of the shimmie folder, hit 'refresh' to continue.
"; exit; } } // }}} function write_config() { // {{{ global $database_dsn; $file_content = '<' . '?php' . "\n" . "define('DATABASE_DSN', '$database_dsn');\n" . '?' . '>'; if(is_writable("./") && file_put_contents("config.php", $file_content)) { assert(file_exists("config.php")); } else { $h_file_content = htmlentities($file_content); print <<One done, Continue
EOD;
exit;
}
} // }}}
function Database_user_deletion_fix() { // {{{
try {
$db = new Database();
if ($db->db->getAttribute(PDO::ATTR_DRIVER_NAME) !== 'mysql') {
echo "
Database is not MySQL - Aborting changes.
";
echo 'Go Back';
throw new PDOException("Database is not MySQL.");
} else {
echo "