diff --git a/install.php b/install.php index 25dd0dd1..358a2ea8 100644 --- a/install.php +++ b/install.php @@ -58,8 +58,6 @@ date_default_timezone_set('UTC'); } #installer H3 { border-bottom: 1px solid black; - border-top: 1px solid black; - margin-top: 32px; } @@ -78,6 +76,18 @@ date_default_timezone_set('UTC');
+
+		
+

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

+

Warning: The Database schema is not empty!

-

Warning: The Database schema is not empty!

Please ensure that the database you are installing Shimmie with is empty before continuing.

Once you have emptied the database of any tables, please hit 'refresh' to continue.



@@ -416,11 +426,13 @@ function build_dirs() { // {{{

Shimmie Installer

Directory Permissions Error:

-

Shimmie needs to make 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.

-

+
+

Shimmie needs to make 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(7); @@ -442,7 +454,9 @@ function write_config() { // {{{

Shimmie Installer

Things are OK \o/

-

If you aren't redirected, click here to Continue. +

+

If you aren't redirected, click here to Continue. +

EOD; } @@ -452,15 +466,17 @@ EOD;

Shimmie Installer

File Permissions Error:

- The web server isn't allowed to write to the config file; please copy - the text below, save it as 'data/config/shimmie.conf.php', and upload it into the shimmie - folder manually. Make sure that when you save it, there is no whitespace - before the "<?php" or after the "?>" - -

- -

Once done, click here to Continue. -

+

+ The web server isn't allowed to write to the config file; please copy + the text below, save it as 'data/config/shimmie.conf.php', and upload it into the shimmie + folder manually. Make sure that when you save it, there is no whitespace + before the "<?php" or after the "?>" + +

+ +

Once done, click here to Continue. +

+

EOD; } @@ -472,8 +488,8 @@ function handle_db_errors(/*bool*/ $isPDO, /*str*/ $errorMessage1, /*str*/ $err print <<

Shimmie Installer

+

Unknown Error:

-

Unknown Error:

{$errorMessage1}

{$errorMessage1Extra}

{$errorMessage2}