IRC logs for #aegir, 2017-07-09 (GMT)

2017-07-08
2017-07-10
TimeNickMessage
[10:12:27]<g33kg1rl>viashimo: I was afk, I'm back now :P
[10:12:52]<g33kg1rl>Can I inject the values into only certain websites?
[10:13:09]<g33kg1rl>Say I have 20 7.x websites and 10 6.x websites on the same aegir server,
[10:13:31]<g33kg1rl>I don't want to inject these values into the 10 6.x websites (cause it will break stuff),
[10:14:34]<g33kg1rl>OK that documentation makes sense to me, but I am having issues with the particular values I am trying to add
[10:15:33]<g33kg1rl>If I add "$databases['default']['default'] = array(" it says "exception 'DatabaseDriverNotSpecifiedException' with message 'Driver not specified for this database connection: default' in [error] /var/aegir/platforms/lsmpv752/includes/database/database.inc:1738"
[10:15:52]<g33kg1rl>If I don't add that, it says "PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /var/aegir/platforms/lsmpv752/sites/inskagit.com/local.settings.php on line 6"
[10:16:46]<g33kg1rl>sooooo maybe I can't insert these values using local.settings.php??
[10:20:23]<viashimo>g33kg1rl: hmm, I'd try $databases['default']['default']['charset'] = 'utf8mb4';
[10:20:46]<viashimo>since global.inc is loaded later, it should be able to modify $databases without rewriting it entirely
[10:20:55]<viashimo>I haven't tried this
[10:21:22]<viashimo>re: 6.x vs. 7.x, it seems you probably got it, but the d6 core doesn't load the array version at all iirc
[23:29:09]<jonpugh[m]>g33kg1rl: local.settings.php is included from the bottom of settings.php. All variables should be available
[23:37:18]<jonpugh[m]>oops duh! sorry for mansplaining, I didn't see the backlog...
[06:24:12]<g33kg1rl>jonpugh: It's all cool. Thanks for chipping in. I appreciate it none the less.
[06:25:06]<g33kg1rl>I think putting the variables in the global.inc worked :)
[06:40:53]* azend|vps has quit (Read error: Connection reset by peer)
[06:56:07]* g33kg1rl has quit (Quit: Page closed)
[07:56:14]* azend|vps has joined #aegir