Commit Graph

86 Commits

Author SHA1 Message Date
Brett Taylor
49eb6009a5 install.php: improved support for running Laconica in a sub folder and on a non-standard port,
tidyed up configuration file generation, removing duplication from db functions,
2009-08-06 22:33:37 -04:00
Craig Andrews
95ba22c5d7 Switch DOCTYPE's to the XHTML 5 DOCTYPE 2009-08-05 18:27:27 -04:00
Tom Adams
4e9db95bcf Use <?php echo instead of <?print 2009-08-04 01:24:25 +01:00
Tom Adams
605742f039 Pass $fancy to *_db_installer. 2009-07-29 16:54:29 -04:00
Tom Adams
3350770cc7 Use <?php not <?. 2009-07-29 16:54:13 -04:00
Craig Andrews
f86faaf341 If cannot connect, then stop the installation 2009-07-25 00:19:12 -04:00
Brenda Wallace
70cc09a5c2 check the postgresql database is UTF8 before allowing installation to proceed 2009-07-25 00:15:35 -04:00
Craig Andrews
22466530ef Fixed: The installer checks if the avatar and background directories are writable, but fails to check the file directory used for attachments.
Thanks brion

http://laconi.ca/trac/ticket/1703
2009-07-21 13:59:34 -04:00
CiaranG
6b7fa65ca1 Merge commit 'br3nda/0.8.x-pginstaller' into 0.8.x 2009-07-19 08:08:39 +01:00
Craig Andrews
8894f957cd Require PHP 5.2.3 or later.
http://laconi.ca/trac/ticket/1605
2009-07-17 17:54:37 -04:00
Brenda Wallace
d591e24eac typo in config variable
and pass type='pgsql' in to writeConf
2009-07-15 20:16:37 +12:00
Brenda Wallace
1b3c4f2c52 quote identifiers and type='psql' needs to be written to config.php 2009-07-15 20:09:29 +12:00
Brenda Wallace
4f9c3b50e7 install.php works for postgres 2009-07-15 18:46:34 +12:00
Brenda Wallace
343e2010ae connect to pg working 2009-07-15 18:45:45 +12:00
Brenda Wallace
3fe182e865 added dbtype detection - and only install mysql stuff if mysql selected 2009-07-15 18:45:26 +12:00
Brenda Wallace
ac7d8163c6 added dbtype to the installer form 2009-07-15 18:44:55 +12:00
Brenda Wallace
4d42bc7690 missing word (find) added 2009-07-15 18:44:33 +12:00
Brenda Wallace
8f1b1ffcf0 mysql or pgsql required (not mysql) 2009-07-15 18:43:58 +12:00
Brenda Wallace
3a3614fc55 also check for write permission to background folder 2009-06-26 22:42:52 +12:00
Evan Prodromou
793a6a1155 change Controlez-Vous to Control Yourself 2009-06-20 16:00:04 -07:00
Evan Prodromou
5d3e47e501 remove path from install; better autodetection now 2009-06-18 16:21:03 -07:00
Robin Millette
01ce677ae3 Small bugfix to installer fixing fancy URL detection. 2009-05-25 16:49:32 +00:00
Sarven Capadisli
456f3eeb50 Removed unnecessary link to base stylesheet because default stylesheet calls base in 0.8.x 2009-05-22 16:38:06 +00:00
Eric Helgeson
a3280961d2 Removed return from 1st line of runDbScript()
fixed broken html tag on success page.
handlePost() now will show as many errors as it can (instead of one at a time)
checkPrereqs() will show all errors at once instead of failing on first one, installer will be able to try to fix all instead of fixing one at a time and trying again.
writeConf(): added if LACONICA is !defined exit

Tests: drop database and remove config.php, ran installer. Passed.
2009-05-20 16:39:08 -05:00
Eric Helgeson
dbf82f7c1e fixed missing closing php tag when installer.php wrote to config.php 2009-05-20 15:14:04 -05:00
Robin Millette
f3ea79a12a Added site path field to installer + fancy URL javascript auto-detection. 2009-05-17 00:05:07 -04:00
Sarven Capadisli
fb8340fb54 Added laconica logo
Updated installation page markup
2009-05-01 03:50:24 +00:00
Adrian Lang
e876b74e8b Add license notice to install.php, replace short and asp style tags by more portable long tag form. 2009-04-15 08:38:05 +02:00
Evan Prodromou
aa1bc6216e Make a loop instead of repeating almost identical text in install 2009-03-04 05:53:04 -08:00
Evan Prodromou
8d05768e2c run foreign services script 2009-03-04 05:47:37 -08:00
Evan Prodromou
07efccd7ef add notice source data on install 2009-03-04 05:44:29 -08:00
Evan Prodromou
6070d98aa6 check posted parameters 2009-03-04 05:42:06 -08:00
Evan Prodromou
18f7749995 run sms carrier script on install 2009-03-04 05:42:03 -08:00
Evan Prodromou
458c037867 check some prereqs for installation 2009-02-28 21:01:33 -08:00
Evan Prodromou
2ad667f704 first pass at a working install.php 2009-02-28 20:33:22 -08:00
Evan Prodromou
c77bb62f2d show a form for installation 2009-02-28 17:42:27 -08:00