RedisException
LOADING Redis is loading the dataset in memory RedisException thrown with message "LOADING Redis is loading the dataset in memory" Stacktrace: #2 RedisException in /home/deploy/EHungry-0/PHP/Global.php:131 #1 session_start in /home/deploy/EHungry-0/PHP/Global.php:131 #0 require in /home/deploy/EHungry-0/Web/index.php:11
Stack frames (3)
2
RedisException
/
Global.php
131
1
session_start
/
Global.php
131
0
require
/
home
/
deploy
/
EHungry-0
/
Web
/
index.php
11
/
home
/
deploy
/
EHungry-0
/
PHP
/
Global.php
    ini_set("display_errors", true);
}
 
 
DefinedOrDefault('DNS_CNAME_TARGET', 'site.onlineorderingsecure.com');
 
require_once(CORE_PATH . "lib/global.php");
initializeAutoLoader();
 
///////////////////////////////////////////////////////////////////////////////
// Initializing session
ini_set('session.gc_maxlifetime', 3600);
ini_set('session.cookie_httponly', 1);
ini_set('session.cookie_secure', 1);
if (!stristr($_SERVER['REQUEST_URI'], '/ordermonitor') && //don't need session
    !stristr($_SERVER['REQUEST_URI'], '/tracking') &&     //don't need session
    !stristr($_SERVER['REQUEST_URI'], '/squareoauth') &&  //start the session in the controller
    !stristr($_SERVER['REQUEST_URI'], '/googleoauth')     //start the session in the controller
) {
    session_start();
}
 
///////////////////////////////////////////////////////////////////////////////
// Initializing debugger pieces - session must be initialized first!
// TODO: figure out a way to enable IS_DEBUG through domains in production (i.e. in the customer pages of custom domain restaurants)
define(
    'IS_DEBUG',
    (DevLevel > 0 || isset($_SESSION['admin_id'])) && (isset($_REQUEST['debug']) || isset($_COOKIE['debug'])) && (!isset($_REQUEST['debug']) || $_REQUEST['debug'] != '0')
);
 
if (isset($_REQUEST['debug']) && $_REQUEST['debug'] == '0') {
    setcookie('debug', '0', -1, '/');
} elseif (IS_DEBUG) {
    setcookie('debug', '1', time() + (60 * 60), '/');
}
 
App::initializeDebugbar();
 
///////////////////////////////////////////////////////////////////////////////
// Check for a DB connection
Arguments
  1. "LOADING Redis is loading the dataset in memory"
    
/
home
/
deploy
/
EHungry-0
/
PHP
/
Global.php
    ini_set("display_errors", true);
}
 
 
DefinedOrDefault('DNS_CNAME_TARGET', 'site.onlineorderingsecure.com');
 
require_once(CORE_PATH . "lib/global.php");
initializeAutoLoader();
 
///////////////////////////////////////////////////////////////////////////////
// Initializing session
ini_set('session.gc_maxlifetime', 3600);
ini_set('session.cookie_httponly', 1);
ini_set('session.cookie_secure', 1);
if (!stristr($_SERVER['REQUEST_URI'], '/ordermonitor') && //don't need session
    !stristr($_SERVER['REQUEST_URI'], '/tracking') &&     //don't need session
    !stristr($_SERVER['REQUEST_URI'], '/squareoauth') &&  //start the session in the controller
    !stristr($_SERVER['REQUEST_URI'], '/googleoauth')     //start the session in the controller
) {
    session_start();
}
 
///////////////////////////////////////////////////////////////////////////////
// Initializing debugger pieces - session must be initialized first!
// TODO: figure out a way to enable IS_DEBUG through domains in production (i.e. in the customer pages of custom domain restaurants)
define(
    'IS_DEBUG',
    (DevLevel > 0 || isset($_SESSION['admin_id'])) && (isset($_REQUEST['debug']) || isset($_COOKIE['debug'])) && (!isset($_REQUEST['debug']) || $_REQUEST['debug'] != '0')
);
 
if (isset($_REQUEST['debug']) && $_REQUEST['debug'] == '0') {
    setcookie('debug', '0', -1, '/');
} elseif (IS_DEBUG) {
    setcookie('debug', '1', time() + (60 * 60), '/');
}
 
App::initializeDebugbar();
 
///////////////////////////////////////////////////////////////////////////////
// Check for a DB connection
/
home
/
deploy
/
EHungry-0
/
Web
/
index.php
<? /** @noinspection PhpIncludeInspection - to avoid marking dynamic includes */
 
require(dirname(dirname(__FILE__)) . '/Web/classes/App.class.php');
App::startTime();
 
require(dirname(dirname(__FILE__)) . '/Web/classes/ErrorHandlers.class.php');
ErrorHandlers::register();
 
// Global.php is the core setup file for the application
App::debugbarTime('Global.php');
require(dirname(dirname(__FILE__)) . '/PHP/Global.php');
App::debugbarTime('Global.php');
/** @var string $controller The main controller - defined at /PHP/Global.php */
 
App::debugbarTime("controller: $controller");
apache_note('AppController', $controller);
if (file_exists(CORE_PATH."lib/helpers/$controller.php")) {
    require CORE_PATH."lib/helpers/$controller.php";
}
require CORE_PATH."controllers/$controller.php";
App::debugbarTime("controller: $controller");
 
Arguments
  1. "/home/deploy/EHungry-0/PHP/Global.php"
    

Environment & details:

Key Value
aid
"order/main/pork/73-roast-pork-w-snow-peas/1900435"
empty
empty
empty
empty
Key Value
UNIQUE_ID
"XzUL9pMj5jptonK8OHvG8AAAACQ"
SCRIPT_URL
"/order/main/pork/73-roast-pork-w-snow-peas/1900435"
SCRIPT_URI
"http://www.shanghaipa.com/order/main/pork/73-roast-pork-w-snow-peas/1900435"
HTTP_HOST
"www.shanghaipa.com"
HTTP_X_REAL_IP
"34.200.222.93"
HTTP_X_CONFKEY
"Main_Domain:3547"
HTTP_SCHEME
"https"
HTTP_EHENV
"TODO"
HTTP_CONNECTION
"close"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT_ENCODING
"br,gzip"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.43 () mod_wsgi/4.7.1 Python/3.7 PHP/7.2.31"
SERVER_NAME
"www.shanghaipa.com"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"34.200.222.93"
DOCUMENT_ROOT
"/home/deploy/EHungry-0/Web"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/deploy/EHungry-0/Web"
SERVER_ADMIN
"root@localhost"
SCRIPT_FILENAME
"/home/deploy/EHungry-0/Web/index.php"
REMOTE_PORT
"33172"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"aid=order/main/pork/73-roast-pork-w-snow-peas/1900435"
REQUEST_URI
"/order/main/pork/73-roast-pork-w-snow-peas/1900435"
SCRIPT_NAME
"/order/main/pork/73-roast-pork-w-snow-peas/1900435"
PHP_SELF
"/order/main/pork/73-roast-pork-w-snow-peas/1900435"
REQUEST_TIME_FLOAT
1597311990.785
REQUEST_TIME
1597311990
empty
0. Whoops\Handler\PrettyPageHandler