sminnee
c4de1cb3be
MINOR Renamed keys to database configuration results (from r98795)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112103 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:48:46 +00:00
sminnee
6368a4fea0
MINOR Amendments to installer database configuration and small issue detecting database support in PHP (from r98794)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112102 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:48:17 +00:00
sminnee
73964a844f
MINOR Removed warning that appears during installation steps (regression from recent changes) (from r98793)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112101 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:47:55 +00:00
sminnee
0c0fe50e49
MINOR Doc for database configuration helper (from r98789)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112100 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:47:38 +00:00
sminnee
42f5002736
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 (from r98786)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112099 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:47:16 +00:00
sminnee
7cec02c3f3
BUGFIX Fixed unlink of mysite/_config.php and truncate it instead - when re-creating the file it may not get write permissions on Windows (from r98783)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:44:34 +00:00
sminnee
3c8aba8ed4
BUGFIX Send the database in use (not just the MySQL version) to ss2stats in installer (from r98782)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112097 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:43:05 +00:00
sminnee
7363fe54a5
BUGFIX Fixed MySQL connection in installer not detecting incorrect credentials (from r98760)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112096 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:42:44 +00:00
sminnee
42144c288d
BUGFIX Installer should cache the database connection so queries testing database creation can be made properly (from r98744)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112095 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:42:14 +00:00
sminnee
5663e264e1
MINOR: Several merges from branches/2.4
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112094 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:42:08 +00:00
sminnee
bf5e862c6a
BUGFIX Check for existance of IIS rewrite module as a value that exists instead of being "1" (from r98031)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112092 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:33:27 +00:00
sminnee
dd015ff76a
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 (from r97791)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112091 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:32:36 +00:00
sminnee
e012b5a418
BUGFIX Explicitly set a default administrator in Installer->install() rather than assuming its credentials are set through Security::findAnAdministrator() (see #4271 ) (from r97479)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112089 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:29:22 +00:00
sminnee
e8bb141aaa
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 (from r96826)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112088 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:27:21 +00:00
sminnee
e013e7512b
MINOR Convert crlf (Windows) line endings to lf (UNIX) for install.php (from r93895)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112087 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:26:57 +00:00
sminnee
9b340214fd
MINOR Added location on where to download the MS URL rewrite module when installing on IIS (from r93244)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112085 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:21:41 +00:00
sminnee
62d6260fab
BUGFIX Sometimes SERVER_SIGNATURE isn't populated in PHP, so fall back to using SERVER_SOFTWARE to detect the webserver during SS install (from r93113)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112084 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:20:13 +00:00
sminnee
3077816c25
ENHANCEMENT #4576 Detection of IIS and the IIS URL Rewrite Module during SS install (from r93110)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112083 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:19:24 +00:00
sminnee
44be8c39bc
MINOR Fixed ambiguous statements about the database in installation, refer to MySQL specifically since that's what it's checking for (from r93107)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112082 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:17:17 +00:00
sminnee
95f1703979
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 (from r93106)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112081 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:16:27 +00:00
sminnee
be07c8ca3f
MINOR Fixed grammar mistake in install (from r92304)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112080 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:13:54 +00:00
ischommer
64faf6654a
MINOR Removed checks for jsparty/ directory, which is no longer required
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@93615 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-26 05:18:23 +00:00
ischommer
4b3bc1996d
MINOR Fixed merge errors and omissions from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92258 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 20:14:26 +00:00
ischommer
a6a70237ed
MINOR Changed silverstripe.com references to silverstripe.org (from r90887)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92255 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:59:17 +00:00
ischommer
60ff89dfbd
BUGFIX Fixed $ escaping in passwords set by install.php in _config.php ( #4676 ) (from r90883)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92252 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:54:50 +00:00
ischommer
27c046a2a0
BUGFIX #4356 Removed string checking of PHP version and replaced with version_compare() in SS installer (from r81646)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92248 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:45:12 +00:00
ischommer
be063f1285
MINOR: Use password field for password, dont require call by reference (from r72928)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92242 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:40:55 +00:00
ischommer
5bb0d9b138
Removed DirectorySlash update from installer's default htaccess as it breaks some installation targets (from r67085)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92231 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:34:02 +00:00
ischommer
37b79fc8a1
MINOR: Removed no-longer-used createHtAccessAlternative() (from r66916)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92230 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:33:24 +00:00
ischommer
9e1b6679fc
ENHANCEMENT #3123 : Use ajax for mod_rewrite testing (from r66906)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92228 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:31:13 +00:00
ischommer
89e5e6dc50
ENHANCEMENT #3126 : Put site into dev mode for installation so you can see error messages. (from r66890)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92226 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:23:36 +00:00
ischommer
028ee1c529
ENHANCEMENT: Installer checks that Query and HTTPResponse classes don't exist before installing. (from r66886)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@92224 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-19 19:21:34 +00: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
sminnee
320c7179b0
BUGFIX #2903 : Fix RewriteBase generation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@64296 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-15 04:35:26 +00:00
ischommer
7a43c6b805
ENHANCEMENT Removing installer dependency on /tutorial folder - only requires it to be writeable if it exists now. This means we can use the installer for custom projects as well
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@64222 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-14 12:03:19 +00:00