sharvey
34bad1fc7f
API CHANGE Installer now uses a database configuration helper class which isolates the logic of checking the database away from the installer, this interface can be used by other databases like MSSQL and PostgreSQL. The installer now looks for a specific file inside each database module, provided it's configured in install.php MySQL is provided by default, as it lives in sapphire
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98786 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:47 +13:00
sharvey
cb788ccae4
BUGFIX Fixed unlink of mysite/_config.php and truncate it instead - when re-creating the file it may not get write permissions on Windows
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:47 +13:00
sharvey
3edb9bc973
BUGFIX Send the database in use (not just the MySQL version) to ss2stats in installer
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98782 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
a5cd285a16
BUGFIX Fixed MySQL connection in installer not detecting incorrect credentials
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98760 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
23a5873178
BUGFIX Installer should cache the database connection so queries testing database creation can be made properly
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98744 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
62366a72e3
BUGFIX Checkbox for overriding the install from environment now checks for the file existance properly
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98688 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
084acb6133
MINOR Reverted broken variables in installer for checking environment
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98679 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
8200a7e4e8
BUGFIX Fixed initial state of "use environment" checkbox in installer
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98678 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
41bd835be2
ENHANCEMENT Added checkbox to switch off using the environment during install if it's available
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98677 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
8dd4256bfc
BUGFIX Fixed messages of "Database '' exists" instead of "Database 'SS_mysite' exists"
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98665 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
af4238e275
BUGFIX Fixed installer not submitting correct details when environment file is in use
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98664 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
260239fc5a
ENHANCEMENT #3903 Initial changes to installer to support selection of different database drivers
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98659 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
sharvey
a3e887a59e
BUGFIX Check for existance of IIS rewrite module as a value that exists instead of being "1"
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98031 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
ischommer
17764cf273
ENHANCEMENT Removed extension specific RewriteCond from .htaccess, install.php and rewritetest.php to allow for broader range of dynamically handled extensions (e.g. generating GIF files through SilverStripe controllers). See #2958
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@97791 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:46 +13:00
ischommer
4dff1b9ba7
BUGFIX Explicitly set a default administrator in Installer->install() rather than assuming its credentials are set through Security::findAnAdministrator() (see #4271 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@97479 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
sharvey
6015195223
BUGFIX #4791 Potential issue with creating files in SS installer on IIS - use the "b" mode when using fopen() to be more portable on platforms
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@96826 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
sharvey
2505fbf834
MINOR Convert crlf (Windows) line endings to lf (UNIX) for install.php
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@93895 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
ischommer
1862b1f8b5
MINOR Removed checks for jsparty/ directory, which is no longer required (merged from r93615)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@93616 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
sharvey
1d8efaa8be
MINOR Added location on where to download the MS URL rewrite module when installing on IIS
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@93244 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
sharvey
966fdf484d
BUGFIX Sometimes SERVER_SIGNATURE isn't populated in PHP, so fall back to using SERVER_SOFTWARE to detect the webserver during SS install
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@93113 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
sharvey
adfb282212
ENHANCEMENT #4576 Detection of IIS and the IIS URL Rewrite Module during SS install
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@93110 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
sharvey
0fbaae8ba6
MINOR Fixed ambiguous statements about the database in installation, refer to MySQL specifically since that's what it's checking for
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@93107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
sharvey
cb4359feff
ENHANCEMENT #4742 Set lower timeout for mysql_connect to avoid long timeouts when mysql_connect can't find a MySQL server locally during SS install, and only do certain MySQL checks if the server can be found, greatly improving install performance
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@93106 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
sharvey
e285f5af85
MINOR Fixed grammar mistake in install
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92304 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:45 +13:00
ischommer
51ac492824
MINOR Fixed merge errors and omissions from branches/2.3 (from r92258)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92289 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:44 +13:00
ischommer
4b5ab51fc7
BUGFIX #4356 Removed string checking of PHP version and replaced with version_compare() in SS installer (from r81646) (from r92248)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92287 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:44 +13:00
ischommer
30ddfa5fff
MINOR: Use password field for password, dont require call by reference (from r72928) (from r92242)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92278 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:44 +13:00
ischommer
0074be8942
Removed DirectorySlash update from installer's default htaccess as it breaks some installation targets (from r67085) (from r92231)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92272 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:44 +13:00
ischommer
b7a0f6dd18
MINOR: Removed no-longer-used createHtAccessAlternative() (from r66916) (from r92230)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92271 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:43 +13:00
ischommer
6b48d45114
ENHANCEMENT #3123 : Use ajax for mod_rewrite testing (from r66906) (from r92228)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92270 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:43 +13:00
ischommer
3a562284a5
ENHANCEMENT #3126 : Put site into dev mode for installation so you can see error messages. (from r66890) (from r92226)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92266 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:43 +13:00
ischommer
00fd98a9b4
ENHANCEMENT: Installer checks that Query and HTTPResponse classes don't exist before installing. (from r66886) (from r92224)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@92264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:43 +13:00
ischommer
6ffe876398
MINOR Changed silverstripe.com references to silverstripe.org
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@90887 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:43 +13:00
ischommer
91fec7ce45
BUGFIX Fixed $ escaping in passwords set by install.php in _config.php ( #4676 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@90883 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 18:56:43 +13:00
sminnee
e09e1f2a4e
ENHANCEMENT #3780 : Check for token_get_all() support in installer.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@90549 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-31 00:57:27 +00:00
sminnee
733d919ec9
ENHANCEMENT: Enable nested urls by default on new projects.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@88519 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:46:16 +00:00
ischommer
823613bf92
BUGFIX Removed stop-condition for *.php in default .htaccess file to allow non-existent .php files to be handled by SilverStripe. For example, this is handy when dynamically redirecting "legacy URLs" like "index.php?id=42" to new pages through database lookups rather than static rewrites
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@81847 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-14 23:57:21 +00:00
ischommer
64628f99ae
BUGFIX Sett connection charset to utf8 for installer.php (see r80232)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@80261 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-28 20:37:22 +00:00
sminnee
3a7e2f9f2c
BUGFIX #2660 : Don't try and connect to the MySQL server just to see if it's there, without a username/password.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@80238 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-28 01:38:19 +00:00
ischommer
ad5e9cfb6e
BUGFIX Excluding .json extension from RewriteCond in .htaccess to allow RestfulServer to work with JSON formats - fixed in install.php and rewritetest.php
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@78433 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-04 22:03:55 +00:00
sminnee
b81135443e
Updated SQL queries to be ansi compatable
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@66400 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-23 00:30:52 +00:00
sminnee
abad46e6cb
Merged branches/2.3 into trunk
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@66396 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-22 03:36:31 +00:00
sminnee
e8d26a0dc8
Merged branches/2.3 into trunk
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 21:01:24 +00:00
sminnee
a0a0d69782
Upgrade memory limit to min 32, rec'd 64
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65779 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-13 02:07:49 +00:00
sminnee
7acdb0d636
FEATURE: Improved cli execution of installer.
...
BUGFIX: Removed excessively-specific includes that are no longer necessary thanks to r65385.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65386 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-06 04:52:45 +00:00
wrossiter
f9200e1887
PATCH: MINOR: fixed the url of the themes page. #3006
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65338 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-06 00:31:24 +00:00
wrossiter
744fa262c0
BUGFIX: Removed tutorial folder and moved html to its own theme. Now all code can be written in mysite. Edited installer to just switch SSViewer::set_theme(). BUGFIX: Fixed installer on trunk - now includes proper classs
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65323 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-05 23:01:15 +00:00
sharvey
49b11d2ae4
RequestHandlingData was renamed to RequestHandler - installer updates to fix this
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@65115 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-11-03 00:53:19 +00:00
ischommer
55273c83b2
BUGFIX Using include_once() instead of include() for _ss_environment.php in install.php and Core.php to avoid PHP notice errors about double constant defines
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@64561 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-20 13:26:30 +00:00
sminnee
76a6b8f3a4
Fix notice level errors in command-line installation used in tests
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@64465 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 23:17:06 +00:00