require_once DIR_WS_MODULES . 'user_redirects.php';
// set the session name and save path
tep_session_name('osCsid');
tep_session_save_path(SESSION_WRITE_DIRECTORY);
// set the session cookie parameters
if (function_exists('session_set_cookie_params')) {
$secure = getConstantValue('SET_HTTPS') === 'true' ? true : false;
session_set_cookie_params(time() - 3600, $cookie_path . ';SameSite=Lax', $cookie_domain, $secure, true);
//ini_set('error_log' , '/home/solomono/web/solomono.net/sites/dev/php.log');
error_reporting(E_ALL);
set_error_handler(function ($level, $message, $file = '', $line = 0) {
$this->handleError($level, $message, $file, $line);
});
set_exception_handler(function ($e) {
$this->handleException($e);
});
require_once DIR_WS_MODULES . 'user_redirects.php';
// set the session name and save path
tep_session_name('osCsid');
tep_session_save_path(SESSION_WRITE_DIRECTORY);
// set the session cookie parameters
if (function_exists('session_set_cookie_params')) {
$secure = getConstantValue('SET_HTTPS') === 'true' ? true : false;
session_set_cookie_params(time() - 3600, $cookie_path . ';SameSite=Lax', $cookie_domain, $secure, true);
<?php
require('includes/application_top.php');
includeLanguages(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);
// define current template constants:
$productAvailable = false;
$product_info_query = tep_db_query("
ErrorException
|
---|
ErrorException: Use of undefined constant SESSION_WRITE_DIRECTORY - assumed 'SESSION_WRITE_DIRECTORY' (this will throw an Error in a future version of PHP) at /home/sintek/web/9000.com.ua/public_html/includes/application_top.php:104 at Bootstrap\HandleExceptions->handleError() (/home/sintek/web/9000.com.ua/public_html/bootstrap/HandleExceptions.php:32) at Bootstrap\HandleExceptions->Bootstrap\{closure}() (/home/sintek/web/9000.com.ua/public_html/includes/application_top.php:104) at require('/home/sintek/web/9000.com.ua/public_html/includes/application_top.php') (/home/sintek/web/9000.com.ua/public_html/product_info.php:3) |