$attr_vals_array = $content['attr_vals_array'] ?? null; $attrs_array = $content['attrs_array'] ?? null; $r_pid_attr_array = $content['r_pid_attr_array'] ?? null; $pid_attr_array = $content['pid_attr_array'] ?? null; $attr_vals_names_array = $content['attr_vals_names_array'] ?? null; if(time()-filectime(DIR_FS_CATALOG.'temp/attributes_'.$languages_id.'.json') > 60*60*24){ // 1 day @unlink(DIR_FS_CATALOG.'temp/attributes_'.$languages_id.'.json'); } return 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);
});
$attr_vals_array = $content['attr_vals_array'] ?? null; $attrs_array = $content['attrs_array'] ?? null; $r_pid_attr_array = $content['r_pid_attr_array'] ?? null; $pid_attr_array = $content['pid_attr_array'] ?? null; $attr_vals_names_array = $content['attr_vals_names_array'] ?? null; if(time()-filectime(DIR_FS_CATALOG.'temp/attributes_'.$languages_id.'.json') > 60*60*24){ // 1 day @unlink(DIR_FS_CATALOG.'temp/attributes_'.$languages_id.'.json'); } return true;} mysqli_data_seek($last_viewed, 0); $ratings_arr = getProductsRating(array_reverse($visitedProducts)); if ($last_viewed->num_rows) { $tpl_settings['request'] = $last_viewed; if (!checkProductAttributesCache($languages_id, $attrs_array, $r_pid_attr_array, $pid_attr_array, $show_in_product_listing, $attr_names_array, $attr_vals_names_array, $attr_vals_array, $show_in_filter, $attr_sort_orders, $counts_may_be, $counts_array)) { getArrayWithAllAttributes(); } include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING_COL); }if (is_file(DIR_WS_EXT . "last_viewed_products/last_viewed_products.php")) { if (in_array('product_slider', $tpl_settings['classes'])) { $assets->jsProductInline[] = generateOwlCarousel($tpl_settings); } require_once DIR_WS_EXT . "last_viewed_products/last_viewed_products.php";}?><!--P_DRUGIE--><?php if ($template->show('P_DRUGIE')) : include(DIR_WS_MODULES . 'drugie.php'); <?php echo $breadcrumb->trail(' '); ?> <!-- END BREADCRUMBS --> <!-- CONTENT --> <?php if (file_exists(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/content/' . $content . '.tpl.php')) { require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/content/' . $content . '.tpl.php'); // content from current template (if exists) } else { require(DIR_WS_CONTENT . $content . '.tpl.php'); // content from default template } ?> <!-- END CONTENT --> }} else { http_response_code(404); $content = CONTENT_ERROR_404;}require(DIR_WS_TEMPLATES . TEMPLATE_NAME . '/' . TEMPLATENAME_MAIN_PAGE);require(DIR_WS_INCLUDES . 'application_bottom.php');|
ErrorException
|
|---|
ErrorException:
filectime(): stat failed for /home/sintek/web/9000.com.ua/public_html/includes/../temp/attributes_5.json
at /home/sintek/web/9000.com.ua/public_html/includes/functions/general.php:4162
at Bootstrap\HandleExceptions->handleError()
(/home/sintek/web/9000.com.ua/public_html/bootstrap/HandleExceptions.php:32)
at Bootstrap\HandleExceptions->Bootstrap\{closure}()
at filectime()
(/home/sintek/web/9000.com.ua/public_html/includes/functions/general.php:4162)
at checkProductAttributesCache()
(/home/sintek/web/9000.com.ua/public_html/ext/last_viewed_products/last_viewed_products.php:30)
at require_once('/home/sintek/web/9000.com.ua/public_html/ext/last_viewed_products/last_viewed_products.php')
(/home/sintek/web/9000.com.ua/public_html/templates/default/content/product_info.tpl.php:330)
at require('/home/sintek/web/9000.com.ua/public_html/templates/default/content/product_info.tpl.php')
(/home/sintek/web/9000.com.ua/public_html/templates/default/main_page.tpl.php:147)
at require('/home/sintek/web/9000.com.ua/public_html/templates/default/main_page.tpl.php')
(/home/sintek/web/9000.com.ua/public_html/product_info.php:252)
|
Залишити свій відгук