Install Error

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 and doesn't know how to handle PHP files.

If you've installed a web server on your desktop PC, you probably want to visit the local web server.


		

Install Error

Warning: Composer vendor folder does not exist!

Shimmie is unable to find the composer vendor directory.
Have you followed the composer setup instructions found in the README?

If you are not intending to do any development with Shimmie, it is highly recommend you use one of the pre-packaged releases found on Github instead.


			

Shimmie Installer

{$e->title}

{$e->body}

EOD; exit($e->code); } } function ask_questions() { $warnings = []; $errors = []; if (check_gd_version() == 0 && check_im_version() == 0) { $errors[] = " No thumbnailers could be found - install the imagemagick tools (or the PHP-GD library, if imagemagick is unavailable). "; } elseif (check_im_version() == 0) { $warnings[] = " The 'convert' command (from the imagemagick package) could not be found - PHP-GD can be used instead, but the size of thumbnails will be limited. "; } if (!function_exists('mb_strlen')) { $errors[] = " The mbstring PHP extension is missing - multibyte languages (eg non-english languages) may not work right. "; } $drivers = PDO::getAvailableDrivers(); if ( !in_array(DatabaseDriver::MYSQL, $drivers) && !in_array(DatabaseDriver::PGSQL, $drivers) && !in_array(DatabaseDriver::SQLITE, $drivers) ) { $errors[] = " No database connection library could be found; shimmie needs PDO with either Postgres, MySQL, or SQLite drivers "; } $db_m = in_array(DatabaseDriver::MYSQL, $drivers) ? '' : ""; $db_p = in_array(DatabaseDriver::PGSQL, $drivers) ? '' : ""; $db_s = in_array(DatabaseDriver::SQLITE, $drivers) ? '' : ""; $warn_msg = $warnings ? "

Warnings

".implode("\n

", $warnings) : ""; $err_msg = $errors ? "

Errors

".implode("\n

", $errors) : ""; print <<

Shimmie Installer

$warn_msg $err_msg

Database Install

Type:
Host:
Username:
Password:
DB Name:

Help

Please make sure the database you have chosen exists and is empty.
The username provided must have access to create tables within the database.

For SQLite the database name will be a filename on disk, relative to where shimmie was installed.

Drivers can generally be downloaded with your OS package manager; for Debian / Ubuntu you want php-pgsql, php-mysql, or php-sqlite.

EOD; } ?>