These are chat archives for CORE-POS/IS4C

23rd
Oct 2016
Dan
@danry25
Oct 23 2016 00:41
hmm, so /var/www/IS4C/pos/is4c-nf/ini.php has the right lane number and mysql password
same for /var/www/IS4C/pos/is4c-nf/ini.json
but the screencap finn posted is what I get on the 2.3 branch
Also getting this in debug_lane.log:
Dan
@danry25
Oct 23 2016 00:57
Any idea @gohanman ?
Andy Theuninck
@gohanman
Oct 23 2016 00:58
Not really. That warning RE: CacheItemPool seems likely relevant. But it also seems literally impossible for that to happen.
Dan
@danry25
Oct 23 2016 01:02
Yea, mysql is running, I dunno why its complaining about not being able to connect to a database on localhost
Any ideas on what to check?
Dan
@danry25
Oct 23 2016 01:19
File permissions look fine too:
-rw-r--r-- 1 www-data www-data 370 Oct 11 08:19 /var/www/IS4C/pos/is4c-nf/ini.php
-rw-r--r-- 1 www-data www-data 249 Oct 23 00:52 /var/www/IS4C/pos/is4c-nf/ini.json
Dan
@danry25
Oct 23 2016 01:47
So I RMed the whole IS4C directory & regrabbed it, I can give it the correct creds and it won't save them to ini.php & ini.json. Fannie using the same credentials can connect to the database though
Getting https://ncry.pt/p/8FCn#4M9YNJ_37AjxE2y2b0rZTTWlTyShtbDlLtNL1vVPwKQ in debug_lane.log when attempting to save the database config in /pos/is4c-nf/install/index.php
Dan
@danry25
Oct 23 2016 02:38
@gohanman so I rolled back the commit that I merged the 2.3 branch into our repo on, and Lane seems to retain the local db settings just fine prior to my pulling down that branch
Dan
@danry25
Oct 23 2016 03:11
version-2.1 is fine
version-2.2 is fine
version-2.3 is where I start getting errors
all in reference to laine
*lane
Warning: Cannot use a scalar value as an array in /var/www/IS4C/common/cache/file/CacheItemPool.php on line 102
in the lane install page
Dan
@danry25
Oct 23 2016 03:28
So one or more of these 271 odd commits is where the breakage probably is @gohanman
https://github.com/CORE-POS/IS4C/compare/version-2.2...version-2.3
Maybe the adodb update?
Andy Theuninck
@gohanman
Oct 23 2016 15:01
I'm unable to reproduce the error. A fresh clone of version-2.3 works fine for me.
Dan
@danry25
Oct 23 2016 20:03
lemme rm the directory & try again
Dan
@danry25
Oct 23 2016 20:36
Hmm, so no more CacheItemPool.php errors, but I still can't set the DB credentials on /pos/is4c-nf/install/index.php
debug_lane.log & lane.log are empty
IS4C-Install.png