Commit Graph

174 Commits

Author SHA1 Message Date
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
sminnee
4e0fba8401 BUGFIX #2903: Fix RewriteBase generation on window
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@64212 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-14 04:16:26 +00:00
sminnee
2f8b502bda BUGFIX #2903 - Fix rewritebase for windows
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@64155 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-13 21:53:08 +00:00
aoneil
056bc59ec8 BUGFIX: #2527 - Fix mysql version detection on hosts with custom mysql version names (HakTom)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@63903 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-08 22:03:52 +00:00
sminnee
a19daa0398 Turned dos line endings into unix
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@63112 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-26 02:22:41 +00:00
sminnee
00f94e8867 Installer will now detect if you have an _ss_environment.php, and if so, use conf/ConfigureFromEnv.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@61633 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 10:52:53 +00:00
sminnee
9c15d0dae9 Updated installer for new URL handler
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@60454 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-12 01:25:41 +00:00
aoneil
2699b55aff MINOR: #2316 - Installer incorrectly shows "GD2 support" as the failure message for "GD2 support"
(DanielVF)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@56943 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-25 05:44:20 +00:00
sharvey
67314e0bb6 File::sync() is now deprecated, we now use FileSystem::sync() for the installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@53171 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-22 01:24:29 +00:00
sharvey
482f2ad509 BUGFIX: Removed undefined variable $mem - we include ini_set for memory_limit in main.php instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@53150 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-21 23:51:01 +00:00
ischommer
da06ec2142 #2265 Installer falsely claims modrewrite fails (mamp)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@50691 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-07 01:17:15 +00:00
ischommer
e022e12125 #2282 Undefined index in install.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@50689 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-07 00:35:54 +00:00
ischommer
3bc42d4458 #2266 Fresh install of SilverStripe doesn't let you upload or view images to insert, until you first go into Files and Images area
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@50688 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-07 00:33:19 +00:00
sminnee
561b490b98 #1987 - Fixed sitename/?url=sitename bug
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@49144 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-06 23:24:27 +00:00
aoneil
530c841c7a #1881 - Duplicated words in error message text
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@49059 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-04 19:59:31 +00:00
sminnee
32a8c26164 Fixed admin credentials setting from 'make install' and 'make test'
Added the contents of assets/ to svn:ignore

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@48168 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-17 05:31:14 +00:00
sminnee
eeeed9890e Better error for cli-install errors, uses exit(1) to stop make
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@48145 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-17 01:58:10 +00:00
sminnee
5ed785dc71 Allow calling of installer by running 'make install' from an environment with an _ss_environment.php file. This is important for continuous integration.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@48125 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-16 23:47:23 +00:00
aoneil
1fe1614bce #2058 - Installer does not escape passwords in _config files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@47903 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-11 03:10:50 +00:00
aoneil
b2156f92bc #1874 - generated .htaccess lacks "Rewritebase"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@47868 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 23:40:26 +00:00
aoneil
40fe857bfb #1352 - Better handling of memory limit
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@47824 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 02:50:57 +00:00
aoneil
654fc8c095 #1558 - Memory limit using ini_set()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@43982 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-29 23:23:38 +00:00
aoneil
4e94efeaaa #1464 - PHP installer doesn't keep the admin username/password when you 'recheck requirements'
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@43975 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-29 22:12:21 +00:00
aoneil
e9ae0ff4b7 Hide more open_basedir issues
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@43114 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-10-04 21:47:40 +00:00
aoneil
b716e29743 Optional reporting of versions to SilverStripe
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@42412 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-21 04:50:50 +00:00
aoneil
ff8c56927c Don't show open_basedir errors when curl can't access temp dir
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@42178 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-17 01:19:15 +00:00
aoneil
decb17bbd6 Make the installer work with short tags
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@42172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-17 00:17:51 +00:00
aoneil
bd1fa10ab9 #1368 - mod_rewrite fix for some apache servers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@41675 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-13 23:41:22 +00:00
aoneil
cb8a98a8ad Warn if PHP version is less than 5.2.0
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@41592 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-12 05:18:48 +00:00
aoneil
3702a09af1 If posix module is not enabled, just show a warning
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@41577 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-12 00:02:14 +00:00
aoneil
1b2b09a458 ALlow user to add custom dev servers in installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@41574 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-11 23:38:44 +00:00
wrossiter
97052713ed yay black candyness in the installer!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@41006 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-29 03:32:26 +00:00
jshipman
987afdab33 added first name and last name fields to installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40605 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-21 02:53:30 +00:00
aoneil
eaaedef5c7 Use theme support in the installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40528 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 04:46:40 +00:00
aoneil
014bd34998 Added open_basedir workaround to installer
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40498 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 03:42:48 +00:00
aoneil
b78b8e29f6 Fix installer issues with changes to code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40487 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 01:42:37 +00:00
aoneil
9e80b5e840 Comment about dev mode (merged from 2.0.2 branch, r38246)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40485 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 00:43:56 +00:00
aoneil
980438a322 Fix dev check test (merged from 2.0.2 branch, r38232)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40484 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 00:40:56 +00:00
aoneil
31efa19654 Delete old _config.php files, this allows reinstalling with a different template (merged from 2.0.2 branch, r37948)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40482 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 00:33:52 +00:00
aoneil
45de8ebc03 Disable notice level warnings in default install (merged from 2.0.2 branch, r37930)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40481 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 00:31:44 +00:00
aoneil
c31b87df69 Don't make multiple .htaccess files, just work on the soingle one so we don';t need permissions on base folder. (merged from 2.0.2 branch, r37927)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40480 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 00:30:16 +00:00
aoneil
4e0fdcb5cf Changed permission checks to check for the right things (merged from 2.0.2 branch, r37922)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40479 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 00:28:42 +00:00
aoneil
62076389c3 Moved installer to open, the right copy this time!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@39713 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-07 22:19:05 +00:00