Commit Graph

175 Commits

Author SHA1 Message Date
Howard Grigg
940df33c44 Updated the installer to reflect the moved Sapphire files 2011-04-06 11:22:34 +10:00
sharvey
e1ad6609b4 ENHANCEMENT Installer now checks for magic_quotes_gpc being turned off. This option turned on can cause issues with serialized data in cookies when unserializing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@115264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-21 09:28:28 +00:00
sharvey
b13c561c51 BUGFIX Fixed conflicting check of mysite directory with recommendation of removal of _config.php in installer (from r115169)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@115170 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-19 22:18:05 +00:00
sharvey
089e28e004 BUGFIX Installer should check asp_tags is disabled, as it can cause issues with SilverStripe (from r114823)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@114824 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-11 06:02:51 +00:00
sminnee
3f55474dec ENHANCEMENT PHP requirements in installer now check for date.timezone correctly being set for PHP 5.3.0+. This option is *required* to be set starting with 5.3.0 and will cause an error during installation if not (from r114467)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@114495 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-05 00:04:05 +00:00
sharvey
4868877ee6 MINOR Merged r113913 through r113984 from phpinstaller/branches/2.4
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@113985 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-21 23:53:50 +00:00
sharvey
945a28f33a MINOR Merged r112269 through r113912 from phpinstaller/branches/2.4
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@113914 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-18 05:08:12 +00:00
sharvey
91d00c52b8 MINOR Fixed extraneous else statement in installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112970 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-20 02:00:33 +00:00
sminnee
93105a77ca MINOR Remove whitespace from generated _config.php file in installer (from r112268)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112433 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:22:20 +00:00
sminnee
d2bcf47aba ENHANCEMENT Installer exposes database type in "Database support" configuration (from r112247)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112432 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:22:10 +00:00
sminnee
5dc52e9569 ENHANCEMENT "Database Configuration" section in installer shows database version and database type (without the "Database" suffix) for reference (from r111874)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112430 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:22:04 +00:00
sminnee
4d5c62da03 BUGFIX Installer now checks for session_start() and hash() support (from r111369)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112427 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:21:45 +00:00
sminnee
3de082c417 BUGFIX Installer now checks for iconv support, which is required for DateField? (using Zend libraries) to function correctly (from r111266)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112425 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:21:21 +00:00
sminnee
5a20fbed64 #5870 Block web requests to silverstripe-cache directory via htaccess RedirectMatch rule or web.config hiddenSegments functionality if using IIS 7.x (from r110241)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112417 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:19:01 +00:00
sminnee
dfbd3e08f6 MINOR: repair installer for sqlite (from r109788)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112416 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:18:52 +00:00
sminnee
991ec354b1 ENHANCEMENT ErrorDocument in default .htaccess so Apache serves default 404 and 500 server error pages (from r108663)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112415 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:18:46 +00:00
sminnee
55d6682cd5 MINOR Changed unknown web server text (from r108571)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112414 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:18:39 +00:00
sminnee
7a2fce3458 MINOR Allow checking for a specific IIS version (parameter to InstallRequirements::isIIS()) (from r108570)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112411 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:18:00 +00:00
sminnee
83567dccdd MINOR Removed double up of similar logic in InstallRequirements (from r108569)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112410 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:17:53 +00:00
sminnee
f9d29bd9d6 MINOR Simplified discovery of webserver during install (from r108568)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112408 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:17:42 +00:00
sminnee
2a78807f4b MINOR Removed unncessary isset() check (from r108561)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112407 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:17:34 +00:00
sminnee
a9c1f55bed BUGFIX: Fixed CLI installation. (from r108032)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112402 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:16:43 +00:00
sminnee
e44595bda9 BUGFIX: Don't set any dev servers by default, host-based dev-server selection is unreliable. (from r108031)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112401 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:16:37 +00:00
sminnee
b3193f2a7f BUGFIX: Don't allow reinstalling without first making the user manually delete mysite/_config.php (from r108030)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112400 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:16:31 +00:00
sminnee
c402bb9eef MINOR Tweaking of installer text to avoid misleading information about "exists" when there's actually an error (from r107366)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112396 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:16:09 +00:00
sminnee
8888693600 BUGFIX If database version can't be determined, just use the database adapter class (from r105726)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112394 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:15:14 +00:00
sminnee
49bf14177f BUGFIX Install now supports sending database version if available from the helper (from r105711)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112393 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:15:10 +00:00
sminnee
66dfdb97c7 BUGFIX ss2stat URL not generated correctly (has NULL values) (from r105705)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112392 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:15:04 +00:00
sminnee
820c49e8b4 MINOR Installer should not repeat "Could not determine your database version" twice in slightly varied words (from r105517)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112391 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:14:57 +00:00
sminnee
b0d11f1693 ENHANCEMENT Added variable for the server configuration file so the config-form can display it for the installation (from r105028)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112390 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:14:53 +00:00
sminnee
19050a38dc BUGFIX Installer now checks the database version AFTER it has determined a connection can be established, which some databases require first
BUGFIX Database version check failures are now a warning, so a user can install at their own risk (from r104793)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112389 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:14:48 +00:00
sminnee
30b46e866a BUGFIX Fixed installation problem where version error didn't show (from r104720)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112388 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:14:44 +00:00
sminnee
0c2f4d39e9 MINOR Installing screen now has a page title called "Installing SilverStripe..." instead of "PHP 5 is required" (from r104710)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112387 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:14:39 +00:00
sminnee
d5e8eed587 MINOR Removed double returns in installer (redundant code) (from r104709)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112386 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:14:34 +00:00
sminnee
cf31776aa2 MINOR Renamed checkdatabase method to checkDatabase to be consistent (from r104708)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112385 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:14:28 +00:00
sminnee
26d3c34630 ENHANCEMENT Installer now supports requireDatabaseVersion() on each database configuration helper implementation, e.g. MySQLDatabaseConfigurationHelper. If it's not defined, the test is skipped. (from r104707)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112382 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:13:50 +00:00
sminnee
2c798ff57d BUGFIX Installer should check for DOMDocument (DOM/XML extension for PHP), as it's required to be there for sapphire to operate correctly (from r103471)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112228 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:28:45 +00:00
sminnee
bc60d451e5 BUGFIX #5326: Fix installation when using _ss_environment.php (from r102087)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112227 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:28:30 +00:00
sminnee
c63d9cc064 BUGFIX Fixed case where $_SERVER['SERVER_SIGNATURE'] was an empty string, use empty() instead of checking if it's set (which it is, but has an empty string) (from r101734)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112225 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:28:19 +00:00
sminnee
66b1ce5e12 BUGFIX Fixed InstallerRequirements::isApache() which didn't work if $_SERVER['SERVER_SIGNATURE'] is available for Apache (from r101733)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112224 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:28:14 +00:00
sminnee
b7de7c502c ENHANCEMENT: tidied up installer process to streamline process. Moved requirements to top and button to bottom and added visual seperation of the individual steps (from r101661)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112223 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:28:09 +00:00
sminnee
408ddac289 ENHANCEMENT: refactored requirements section to hide successful tests (from r101382)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112222 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:27:56 +00:00
sminnee
432413132a BUGFIX Installer bug where apache_get_modules() doesn't exist (installing from IIS) (from r101357)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112221 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:27:51 +00:00
sminnee
bdb865ea27 MINOR Changed text "mod_rewrite enabled" to "URL rewriting support" which makes more sense as a requirement (from r101348)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112220 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:26:57 +00:00
sminnee
61d3293c2f MINOR Removed whitespace in writing of htaccess file for output (from r101344)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112219 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:26:52 +00:00
sminnee
174ac21ce1 ENHANCEMENT #5080 SilverStripe can now be installed successfully on servers that do not have any rewrite capability (from r101343)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112218 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:26:40 +00:00
sminnee
0cd20830fd MINOR Removed traces of "firstname" and "surname" from installer (these were removed in config-form in r101314) (from r101315)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112217 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:26:35 +00:00
sminnee
1af78e980d BUGFIX Fixed installer breaking if stats checkbox unchecked (from r101098)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112216 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:26:31 +00:00
sminnee
55c0e7e915 MINOR Added todo for exception handling done with default admin (from r101086)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112215 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:26:27 +00:00
sminnee
aba0caf624 MINOR Temporary fix for exception thrown in installer when existing admin account exists, temp fix just leaves existing admin account intact (from r101085)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112214 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:26:20 +00:00