Commit Graph
29 Commits
Author SHA1 Message Date
Bharat Mediratta 7548266edf Properly escape backslashes. Fixes #1962. 2013-01-25 14:17:52 -05:00
Bharat Mediratta d45a737779 Update copyright to 2013. Fixes #1953. 2013-01-21 01:22:01 -05:00
Bharat Mediratta 3caf3cc323 Harden installer against bad characters in the database name or prefix. Fixes #1866. 2012-05-15 10:54:51 -07:00
Bharat Mediratta bf2bb3e1ea Update copyright to 2012. #1822 2012-02-27 09:48:23 -08:00
Bharat Mediratta 423daa52d5 Update copyright to 2011. 2011-01-21 23:01:06 -08:00
Bharat Mediratta c3c2b45280 Update the copyright to 2010. It's only 3 months into the year :-) 2010-03-03 10:15:34 -08:00
Andy Staudacher 824087416a Avoid PHP warnings when the DB host string has no port. 2010-02-14 17:07:31 -08:00
Tim Almdal 7778d4c050 Provide an error message when the sql in installer::empty_db fails. Also change the show tables not to specify a database as it will use the database in the active connection. Fixes ticket #963. 2010-01-06 10:11:03 -08:00
Tim Almdal 393896a701 Initialize the database config with the port number if it is specified. Also set it up so the mysqli constructor will split it into host and port for the call to the mysqli constructor. Fixes ticket: #780 2009-11-12 14:42:37 -08:00
Tim Almdal 86681eebf7 Move the check_environment into the installer helper and call it from the command line installer as well as the web installer. 2009-09-17 07:29:37 -07:00
Bharat Mediratta fd954fe86e Print out the version of MySQL that we found along with our error
message, which should resolve http://gallery.menalto.com/node/90646
2009-08-30 13:43:29 -07:00
Tim Almdal 1ce8643b80 Fix for #440. Basically add a check that the mysql version is > 5.0.0.
It was felt that actually listing the requirements might be overwhelming
to novice users.
2009-08-28 15:17:07 -07:00
Bharat Mediratta fb9efa664b Check for the SimpleXML module, thanks to geekonek.
Fixes ticket #599.
2009-08-04 20:20:43 -07:00
Bharat Mediratta 3349525640 Revert "Fix for ticket #544."
This reverts commit f6973431b7.
2009-07-15 20:58:20 -07:00
Tim Almdal f6973431b7 Fix for ticket #544.
* Separate the portion of get_db_info.html.php that displays the status
of the var directory into a separate view var_dir_status.html.php
* Change the processing to always generate the database information request
screen unless there is an environment error, the var directory is not writable
and the install was successful

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-15 21:56:15 +08:00
Bharat Mediratta 0735cfb30c "the the" -> "the" 2009-06-24 11:06:36 -07:00
Bharat Mediratta 1c84472746 Make our dependency on json_encode() an explicit requirement 2009-05-17 21:51:15 +00:00
Bharat Mediratta baa220186e Suppress some warnings 2009-05-13 22:34:54 +00:00
Bharat Mediratta 5495037a3d Gee it's May already. Update copyright to 2009. 2009-05-13 20:04:58 +00:00
Bharat Mediratta f8d49e8a09 Make sure that the SPL library is installed 2009-03-18 02:25:48 +00:00
Bharat Mediratta 72c7fed975 Log the user in as admin after running the web installer, and give
them a nice "Welcome to Gallery 3" dialog.  The text in there needs a
little work but it's a start.

In the process, re-build the install.sql using the scaffolding code.
2009-03-08 21:21:09 +00:00
Tim Almdal 0b9fe18a6b Both the command line and web installer installer now supports
creating tables with a table prefix.
There are still some queries that haven't been converted, so don't
start using prefixes yet.  However, if you do, you can login and
modify the user profile.
2009-02-27 19:26:21 +00:00
Bharat Mediratta 82ccbba124 Move private key generation into the installer so that we're not
generating it lazily.
2009-02-17 07:03:40 +00:00
Bharat Mediratta 6c59a19677 Get rid of InstallException and handle exceptions from create_admin()
properly.
2009-02-15 09:14:03 +00:00
Bharat Mediratta c33ac93b2b Require mysqli_set_charset to use the mysqli extension 2009-01-22 19:51:52 +00:00
Bharat Mediratta 7a1b986b5b Require 5.2.3 2009-01-21 21:37:57 +00:00
Bharat Mediratta 5e7717f778 Move install.html.php into views, too 2009-01-20 04:39:24 +00:00
Bharat Mediratta 66ee2f9618 Move pages -> views for consistency, which simplifies the life of the File_Structure_Test 2009-01-20 04:37:55 +00:00
Bharat Mediratta 681197a265 Web based installer. It's still got some rough edges, but you can now
do a complete CLI or web based install.
2009-01-20 00:54:02 +00:00