Ignore:
Timestamp:
Jun 8, 2018 3:41:16 AM (6 years ago)
Author:
anonymous
Message:

Disable App::sslOn(). Better logging on Email::send() unreplaced variables. Fix the elusive 'Database table session_tbl has invalid columns' error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/DBSessionHandler.inc.php

    r583 r630  
    114114            )");
    115115
    116             if (!$this->db->columnExists($this->_params['db_table'], array('session_id', 'session_data', 'last_access'))) {
     116            if (!$this->db->columnExists($this->_params['db_table'], array(
     117                'session_id',
     118                'session_data',
     119                'last_access'
     120            ), false, false)) {
    117121                $app->logMsg(sprintf('Database table %s has invalid columns. Please update this table manually.', $this->_params['db_table']), LOG_ALERT, __FILE__, __LINE__);
    118122                trigger_error(sprintf('Database table %s has invalid columns. Please update this table manually.', $this->_params['db_table']), E_USER_ERROR);
Note: See TracChangeset for help on using the changeset viewer.