Alexey Melnichuk
d84bebc1d5
Fix. Create database scheme before trying insert record to `v_database` ( #2965 )
...
Problem that `create_database_pgsql` does not create actual scheme
but `create_odbc_database_connection` try insert record to v_database and
installation fails.
2018-01-27 12:12:11 -07:00
FusionPBX
b9727afed1
Update install_fusionpbx.php
2017-11-17 09:41:51 -07:00
FusionPBX
2b9937e863
Update install_fusionpbx.php
2017-05-09 20:22:39 -06:00
powerpbx
ec9e26966a
Fix SQL syntax ( #2570 )
2017-05-09 20:21:12 -06:00
Richard Neese
8bf2348947
fixing debian pkg installs ( #2363 )
2017-02-07 15:52:44 -07:00
Tom Gillett
897038f2d8
Fixed bug preventing scripts from being copied properly during install process ( #2296 )
2017-01-10 08:11:09 -07:00
FusionPBX
373eb5ffc5
Update install_fusionpbx.php
...
Move to core default settings app defaults.
2016-11-27 17:05:37 -07:00
markjcrane
d3ea04c602
Re-enable hide PHP warnings for regular users.
2016-04-29 17:08:23 -06:00
Harry G. Coin
aaf6bb8f96
Fix to cure uninitialized variable warnings whenever schema is called.
...
Also many minor warning bug fixes in schema.php
Might as well take the plunge and go to default show warnings.
Uninitialized variable and small bug fixes install fusionpbx
2016-04-25 21:09:14 -05:00
Harry G. Coin
91a92d8e5e
\r\n --> \n
...
Cause all the .php files containing lines ending with \r\n to instead end with \n.
DYI with:
find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
markjcrane
2b1ede0b70
Only set switch default settings for variables that are enabled.
2016-04-15 19:44:55 -06:00
markjcrane
406c36b6b4
Only set the SESSION variables from default settings for the switch category.
2016-04-15 19:39:55 -06:00
markjcrane
a59bfe1021
Change the object name install_fusionpbx.php uses dbh instead of db.
2016-04-15 19:31:47 -06:00
markjcrane
157f49a303
Update the install to set the default setting session variables.
2016-04-15 19:27:19 -06:00
markjcrane
6e5fe31303
Schema use $this->$db instead of $db.
2016-04-14 21:51:11 -06:00
markjcrane
f16259f268
Work on the install.
2016-04-14 21:14:40 -06:00
markjcrane
65a2cec4ab
Update install freeswitch commented out copy scripts and create config lua as they handled in other code. Update install fusionpbx adding switch directories and creating groups handled in other code. When testing is completed will be removed from the code.
2016-04-03 08:39:47 -06:00
Alexey Melnichuk
9657d3ef04
Fix. Install with create new database for PgSQL/MySQL
...
* MySQL/PgSQL ignore error while create new user because user may already exists.
* MySQL on database page use same checkbox like one for PgSQL
* MySQL/PgSQL if create user empty try use db user.(may be better use root/postgres without pass)
* PgSQL fix `GRANT ALL ON DATABASE dbname` instead of `GRANT ALL ON dbname`
* MySQL fix connect string build
* MySQL fix use correct password to connect
2016-03-30 15:05:25 +03:00
markjcrane
8be2b551d5
Remove the create_menus() from the install as it is now handled in the menu class.
2016-03-27 02:15:27 -06:00
markjcrane
651f9806fb
Update the install.php.
2016-03-26 19:17:33 -06:00
dis45927
2045b52af1
Fix bug preventing mysql database creation
2016-03-15 10:30:33 +00:00
mafoo
91b61683c0
WhitespaceClean-core/install
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:03:29 +00:00
markjcrane
093556cd42
Rename install_first_time variable and file name. Remove the install/upgrade_switch.php which isn't being used anymore. Update the indentation and remove inconsistent white spaces.
2016-02-29 09:24:05 -07:00
markjcrane
5ed6f62307
Fix the install problem.
2016-01-26 09:01:56 -07:00
markjcrane
2bd1c492b0
Change the variable from cmt to comment to make it easier to read the code.
2016-01-25 09:41:29 -07:00
mafoo
97747c7fb5
BugFix for remote pgsql databases
2016-01-25 14:29:27 +00:00
markjcrane
23b4b7c9bf
Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"].
2016-01-17 00:01:13 -07:00
Matthew Vale
d5e1de163c
fixed missing on new Exception
2015-12-31 16:32:51 +00:00
Matthew Vale
6d13594e80
added suppression of progress by default
2015-12-03 14:59:46 +00:00
Matthew Vale
a5a2280819
split install into phases
...
this is to prevent catch 22 between copy_conf and app_defaults
2015-12-03 14:04:27 +00:00
Matthew Vale
efa1504d00
changed path handling for create_config_lua
...
thanks moteus for the hint
2015-12-03 11:19:09 +00:00
Matthew Vale
148f7207c5
corrected path retrieval for test
...
added missing () when reporting domain name
2015-12-03 10:49:38 +00:00
Matthew Vale
7c1422fd13
Removed redundant code
2015-12-02 14:46:03 +00:00
Matthew Vale
0c557d5c58
reorganised upgrade routine to make more sense
2015-12-02 14:32:49 +00:00
Matthew Vale
1327dc011a
added automatic odbc_database definition
2015-12-02 14:17:53 +00:00
Matthew Vale
ddcc317d49
Bugfix batch
2015-12-02 14:05:21 +00:00
Matthew Vale
3c19e21828
added auto usage of global_settings where not provided
2015-12-02 11:21:09 +00:00
Matthew Vale
aff613d3e9
restructured install to go via global_settings
...
added new global_settings to marshal settings used during a
install/upgrade
2015-12-02 11:16:25 +00:00
Matthew Vale
64f103ddbb
corrected call to normalize_path_to_os
2015-12-01 16:42:54 +00:00
Matthew Vale
f730909343
improved message related to config_lua
2015-12-01 16:40:36 +00:00
Matthew Vale
bfd03697a8
Deal with create_username
...
don't create the db_username if it is the same as the db_create_username
2015-12-01 16:29:14 +00:00
Matthew Vale
7b0a657790
Result of merge
2015-12-01 16:22:40 +00:00
Matthew Vale
e1ea625161
Merge remote-tracking branch 'remotes/fusionpbx/master' into Enhance_Install
...
Conflicts:
core/install/resources/classes/install_fusionpbx.php
2015-12-01 16:21:10 +00:00
Matthew Vale
6e03808f6e
corrected dbh->exec checks to use === to force bool check
2015-12-01 16:08:04 +00:00
Matthew Vale
9f67c70f5b
Added better status updates
2015-12-01 15:56:07 +00:00
Matthew Vale
4efec3ac0b
removed redundant radio
...
override when length is 0, not visa versa
2015-12-01 11:02:32 +00:00
Matthew Vale
e7ff440ec8
removed reuse stuff, it was confusing
...
fixed mysql databse create to make more logical sense inside code
removed many if($debug) and replaced with throws
2015-12-01 10:56:18 +00:00
Matthew Vale
ec1588c5e1
simplified the create database options
2015-12-01 10:33:51 +00:00
Matthew Vale
2a82c3ca70
db_create not create_db
...
corrected version detection
corrected constant
2015-12-01 10:23:24 +00:00
Matthew Vale
bcc181ce70
bug fixes for path normalization
2015-12-01 10:10:58 +00:00