These are chat archives for CORE-POS/IS4C

22nd
Oct 2016
Dan
@danry25
Oct 22 2016 07:10 UTC
@gohanman On a fresh branch 2.3 install I'm getting a blank page when I try to log into lane, and I'm getting corepos[8004]: (error) Call to a member function defaultDatabase() on null Line 1266, File /var/www/IS4C/common/SQLManager.php in lane.log
Dan
@danry25
Oct 22 2016 19:14 UTC
debug_lane.log had this:
PHP Warning:  Cannot use a scalar value as an array in /var/www/IS4C/common/cache/file/CacheItemPool.php on line 102
PHP Warning:  Cannot use a scalar value as an array in /var/www/IS4C/common/cache/file/CacheItemPool.php on line 102
raspberrypi corepos[8004]: (debug) Undefined index:  Line 87, /var/www/IS4C/pos/is4c-nf/lib/Database.php
raspberrypi corepos[8004]: (debug) Failed Query on /pos/is4c-nf/login.php
SELECT * FROM subtotals
No database connection

raspberrypi corepos[8004]: (debug) Undefined index: unknown Line 1757, /var/www/IS4C/common/SQLManager.php
PHP Fatal error:  Call to a member function defaultDatabase() on null in /var/www/IS4C/common/SQLManager.php on line 1266
raspberrypi corepos[8004]: (debug) Call to a member function defaultDatabase() on null Line 1266, /var/www/IS4C/common/SQLManager.php
Andy Theuninck
@gohanman
Oct 22 2016 22:03 UTC
Hmm. Is the database connection configured?
Dan
@danry25
Oct 22 2016 23:07 UTC
Yea, the database connection is configured for lane and office
thefinn93 @thefinn93 has been asked to post https://ncry.pt/p/2FCn#kepf164J5ssIBJX1Bw03NuuejbGGNKdVYTHI6kUU7s4
Dan
@danry25
Oct 22 2016 23:26 UTC
Hmm, when I was looking at that last night it had the
DB credentials
I'll check it when I'm back at my laptpp