Commit Graph

1147 Commits

Author SHA1 Message Date
sminnee
5a10c7afd5 MINOR Removed lighthttpd from INSTALL notes since this server isn't supported during installer process (more details on the server requirements wiki page) (from r100556)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112188 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:23:06 +00:00
sminnee
0cd01f3dd9 MINOR Updated INSTALL notes with minimum PHP version (from r100555)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112187 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:22:58 +00:00
sminnee
fbc6cd5db7 BUGFIX Webserver should be encoded properly when sending server stats to ss2stat during SS installation (from r100554)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112186 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:22:40 +00:00
sminnee
0d5b969a49 ENHANCEMENT IIS 7.x no longer throws a server error if the rewrite module isn't installed when first opening the SS installer - instead, the web.config file is written with rules during installation
MINOR Tidied up installer, removing unused methods and clearly defining the web server support (from r100553)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112185 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:22:35 +00:00
sminnee
216b934aeb MINOR Updated INSTALL notes (from r100388)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112184 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:22:22 +00:00
sminnee
c153aa6746 MINOR Made the database types clearer by setting the minimum version required alongside the name - e.g. "MySQL 4.1+" (from r100381)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112183 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:22:15 +00:00
sminnee
cf647f463e ENHANCEMENT #5024 Installer now checks that the user has entered a username and password correctly for the default admin, an additional button for re-checking requirements is now found at the bottom of the admin configuration section
ENHANCEMENT Error messages for database AND admin configuration are now in the same place at the top of the installer (from r99841)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112182 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:21:56 +00:00
sminnee
acbe3b9058 MINOR: Updated UPGRADING readme to reference dev/build rather than db/build (from r99742)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112181 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:21:50 +00:00
sminnee
08262a9b38 BUGFIX If SS_DATABASE_CLASS is set to a database that doesn't exist, don't break the installer but fallback to MySQL (from r99598)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112180 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:21:40 +00:00
sminnee
3cb0146e36 MINOR: Blocking unnecessary revisions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112117 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 03:02:18 +00:00
sminnee
c91949e7fb MINOR Removed unused method in installer (from r99006)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112116 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 03:02:03 +00:00
sminnee
6a9193e01a ENHANCEMENT If the database type to install with doesn't allow creation of databases, allow for this case and inform the user they need to create it manually (from r99001)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112115 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 03:01:31 +00:00
sminnee
f61920afb1 MINOR Updated UPGRADING notes (#5063) (from r98910)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112114 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:59:43 +00:00
sminnee
de519f36ac MINOR Removed unnecessary check for conflicting classes Query and HTTPResponse in installer, these are now namespaced as SS_Query and SS_HTTPResponse (from r98896)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112113 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:58:52 +00:00
sminnee
ae4cf3b422 MINOR Removed unncessary ?> tag in generated _config.php file (from r98894)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112111 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:58:13 +00:00
sminnee
b58d4c5f7e BUGFIX Installer should generate MySQLDatabase::set_connection_charset('utf8') in the _config.php to allow for better encoding in MySQL (from r98893)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112110 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:57:56 +00:00
sminnee
22ed5dfd1d MINOR Removed unnecessary end tag which the original _config.php doesn't have anyway (from r98891)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112109 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:56:09 +00:00
sminnee
044b0f0f80 BUGFIX If mod_rewrite isn't enabled on Apache, a 500 server error won't be generated which prevents the installer from opening and telling you there's no rewrite support (from r98887)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112108 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:53:34 +00:00
sminnee
4997c0a9bd MINOR Removed MySQL specific checking from the installer until we can figure out how to do it well across different databases. The only remaining MySQL specifics in the installer is the sending of the server information to ss2stats (from r98877)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:51:12 +00:00
sminnee
1a2f989c06 MINOR Removed check for MySQL function in the main PHP configuration - this is done separately by database helper classes (from r98875)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112106 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:50:56 +00:00
sminnee
2f452bfabb MINOR Reverted r98850 which broke the installer on Windows (from r98862)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:50:28 +00:00
sminnee
d2b772726c BUGFIX Installer does not require .htaccess file to be writable if using IIS 7 and 7.5. We assume any other server has some form of .htaccess file (from r98850)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112104 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:49:22 +00:00
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
e76df36179 BUGFIX: fixed double slash when installed in the root. PATCH via simon_w. #4733 (from r98038)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112093 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:33:55 +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
51effb7e78 BUGFIX: Remove hacky mucking with chdir() and $_SERVER - they're no longer necessary (from r97732)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112090 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:32:07 +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
eebff68f46 ENHANCEMENT Easier installation for IIS based configurations by providing the web.config file out of the box, an inaccessible file on Apache based web servers (from r93255)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112086 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:22:49 +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
317e179cb1 MINOR Added querystring option to Makefile (from r103746)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@103884 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-03 01:32:42 +00:00
ischommer
429e2421c9 MINOR Temporarily added legacydatetimefields module to trunk until 2.4 is merged back
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@103678 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-28 10:53:57 +00:00
ischommer
3053074464 MINOR Reverting back to a much more boring documentation link
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@100002 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-26 01:34:32 +00:00
ischommer
5157a61f72 w00t
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@100001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-26 01:28:26 +00:00