"Уважаемые клиенты! Мы рады предложить вам различные удобные и надежные способы доставки через сервис 'Новая Почта':
Доставка до отделения 'Новая Почта' – от 70 грн: Вы можете выбрать получение вашего заказа в любом из отделений 'Новой Почты'. Это удобный способ получения товаров, позволяющий вам забрать посылку в удобное время, используя уникальный номер отслеживания для проверки статуса доставки.
Доставка до почтомата 'Новая Почта' – от 70 грн: Для тех, кто предпочитает быстрое и удобное получение заказов, мы предлагаем доставку в почтоматы 'Новая Почта'. Выберите ближайший к вам почтомат и заберите свой заказ в любое время без необходимости ожидания курьера.
Курьерская доставка по адресу клиента – от 70 грн: Мы также предлагаем доставку прямо к вашему порогу. Курьер 'Новой Почты' доставит заказ по указанному вами адресу в удобное для вас время. Этот вариант идеален для тех, кто ценит комфорт и не хочет тратить время на походы в отделение или почтомат.
"Уважаемые клиенты! Для вашего удобства мы предлагаем следующие способы оплаты заказов:
Наложенный платеж: Вы можете оплатить заказ при получении в отделении 'Новой Почты' или при курьерской доставке. Этот способ позволяет вам оплатить товар непосредственно в момент получения, что является удобным и безопасным вариантом.
Оплата через WayForPay: Вы можете оплатить свой заказ онлайн через удобную и безопасную систему WayForPay. После выбора товаров на нашем сайте вы будете перенаправлены на защищенную страницу оплаты, где сможете ввести данные своей банковской карты.
Оплата на карту: Также вы можете оплатить заказ непосредственно на нашу банковскую карту ПриватБанк. Номер карты для перевода: 4239 2200 3614 6347, получатель: Щербак В.С. После оплаты, пожалуйста, отправьте нам подтверждение платежа для быстрой обработки вашего заказа.
* @param string $path * @return int */ public function size($path) { return filesize($path); } public function humanFilesize($bytes, $decimals = 2) { $sz = 'BKMGTP'; //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); }); * @param string $path * @return int */ public function size($path) { return filesize($path); } public function humanFilesize($bytes, $decimals = 2) { $sz = 'BKMGTP'; $handle = fopen($path, 'rb'); if ($handle) { // try { if (flock($handle, LOCK_SH)) { clearstatcache(true, $path); $contents = fread($handle, $this->size($path) ?: 1); flock($handle, LOCK_UN); } // } finally { // fclose($handle); // } * @throws Exception */ public function get(string $path, bool $lock = false) { if ($this->isFile($path)) { return $lock ? $this->sharedGet($path) : file_get_contents($path); } throw new Exception("File does not exist at path {$path}"); } /** // If the file doesn't exist, we obviously cannot return the cache so we will // just return null. Otherwise, we'll get the contents of the file and get // the expiration UNIX timestamps from the start of the file's contents. try { $expire = substr( $contents = $this->files->get($path, true), 0, 10 ); } catch (Exception $e) { return $this->emptyPayload(); * Retrieve an item from the cache by key. * @param string|array $key */ public function get($key) { return $this->getPayload($key)['data'] ?? null; } /** * Store an item in the cache for a given number of seconds. * @param string $key { if (is_array($key)) { return $this->many($key); } $value = $this->store->get($this->itemKey($key)); // If we could not find the cache value, we will fire the missed event and get // the default value for this cache value. This default could be a callback // so we will execute the value function which will resolve it if needed. if (is_null($value)) { * @param Closure $callback * @return mixed */ public function remember($key, $ttl, Closure $callback) { $value = $this->get($key); // If the item exists in the cache we will just return this immediately and if // not we will execute the given Closure and cache the result of that for a // given number of seconds so it's available for all subsequent requests. if (!is_null($value)) { try { if ($isCacheEnabled) { return self::getRepository() ->remember( $key, $ttl, $closure ); } else { return $closure(); md5($listing_sql) . '_' . __METHOD__, fn() => array_column( tep_db_query($listing_sql)->fetch_all(MYSQLI_ASSOC), 'products_id' ) );}function tep_get_query_products_info($listing_sql){ global $languages_id, $customer_price, $listing_add_fields, $spec_array, $all_pids;function tep_get_query_products_info($listing_sql){ global $languages_id, $customer_price, $listing_add_fields, $spec_array, $all_pids; $all_pids = tep_get_all_sql_products_ids($listing_sql); if (!empty($all_pids)) { $specials = getSpecials($all_pids); $specialPrices = []; foreach ($specials as $special) { AND p.products_id in(" . $productsList . ") AND p.products_status = '1' ORDER BY " . ($tpl_settings['orderby'] ? : "FIND_IN_SET(p.products_id,'" . $productsList . "')") . " " . ($tpl_settings['limit'] ? 'LIMIT ' . (int)$tpl_settings['limit'] : ''); $last_viewed_query = tep_get_query_products_info($listing_sql); // split query to 2 small queries: 1) find all products ids, 2) get info for each product $last_viewed = tep_db_query($last_viewed_query); $salemakers_array = get_salemakers($last_viewed); mysqli_data_seek($last_viewed, 0); ); 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"; } break; case 'P_DRUGIE': ?> <!--P_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:
filesize(): stat failed for /home/solomono/web/solomono.net/sites/motofix.com.ua/storage/cache/other/0a3b9bf9149e0b728020c68472c4e232_tep_get_all_sql_products_ids
at /mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Filesystem/Filesystem.php:339
at Bootstrap\HandleExceptions->handleError()
(/mnt/test_sites/sites_new/motofix.com.ua/bootstrap/HandleExceptions.php:32)
at Bootstrap\HandleExceptions->Bootstrap\{closure}()
at filesize()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Filesystem/Filesystem.php:339)
at App\Classes\Filesystem\Filesystem->size()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Filesystem/Filesystem.php:55)
at App\Classes\Filesystem\Filesystem->sharedGet()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Filesystem/Filesystem.php:38)
at App\Classes\Filesystem\Filesystem->get()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Store/FileStore.php:185)
at App\Classes\Cache\Store\FileStore->getPayload()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Store/FileStore.php:48)
at App\Classes\Cache\Store\FileStore->get()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Repository.php:65)
at App\Classes\Cache\Repository->get()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Repository.php:319)
at App\Classes\Cache\Repository->remember()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Helpers/FileCacheHelper.php:185)
at App\Classes\Cache\Helpers\FileCacheHelper::remember()
(/mnt/test_sites/sites_new/motofix.com.ua/includes/functions/general.php:41)
at tep_get_all_sql_products_ids()
(/mnt/test_sites/sites_new/motofix.com.ua/includes/functions/general.php:48)
at tep_get_query_products_info()
(/mnt/test_sites/sites_new/motofix.com.ua/ext/last_viewed_products/last_viewed_products.php:21)
at require_once('/mnt/test_sites/sites_new/motofix.com.ua/ext/last_viewed_products/last_viewed_products.php')
(/mnt/test_sites/sites_new/motofix.com.ua/templates/default/content/product_info.tpl.php:384)
at require('/mnt/test_sites/sites_new/motofix.com.ua/templates/default/content/product_info.tpl.php')
(/mnt/test_sites/sites_new/motofix.com.ua/templates/default/main_page.tpl.php:100)
at require('/mnt/test_sites/sites_new/motofix.com.ua/templates/default/main_page.tpl.php')
(/mnt/test_sites/sites_new/motofix.com.ua/product_info.php:317)
|
* @param bool $lock * @return int */ public function put(string $path, $contents, $lock = false) { return file_put_contents($path, $contents, $lock ? LOCK_EX : 0); } /** * Write the contents of a file, replacing it atomically if it already exists. * @param string $path //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); }); * @param bool $lock * @return int */ public function put(string $path, $contents, $lock = false) { return file_put_contents($path, $contents, $lock ? LOCK_EX : 0); } /** * Write the contents of a file, replacing it atomically if it already exists. * @param string $path $this->ensureCacheDirectoryExists($path = $this->path($key)); $result = $this->files->put( $path, $this->expiration($seconds) . serialize($value), true ); if ($result !== false && $result > 0) { $this->ensureFileHasCorrectPermissions($path); if ($seconds <= 0) { return $this->forget($key); } $result = $this->store->put($this->itemKey($key), $value, $seconds); if ($result) { event(new CacheWritten($key, $value, $seconds)); } // given number of seconds so it's available for all subsequent requests. if (!is_null($value)) { return $value; } $this->put($key, $value = $callback(), $ttl); return $value; } /** try { if ($isCacheEnabled) { return self::getRepository() ->remember( $key, $ttl, $closure ); } else { return $closure(); md5($listing_sql) . '_' . __METHOD__, fn() => array_column( tep_db_query($listing_sql)->fetch_all(MYSQLI_ASSOC), 'products_id' ) );}function tep_get_query_products_info($listing_sql){ global $languages_id, $customer_price, $listing_add_fields, $spec_array, $all_pids;function tep_get_query_products_info($listing_sql){ global $languages_id, $customer_price, $listing_add_fields, $spec_array, $all_pids; $all_pids = tep_get_all_sql_products_ids($listing_sql); if (!empty($all_pids)) { $specials = getSpecials($all_pids); $specialPrices = []; foreach ($specials as $special) { AND p.products_id in(" . $productsList . ") AND p.products_status = '1' ORDER BY " . ($tpl_settings['orderby'] ? : "FIND_IN_SET(p.products_id,'" . $productsList . "')") . " " . ($tpl_settings['limit'] ? 'LIMIT ' . (int)$tpl_settings['limit'] : ''); $last_viewed_query = tep_get_query_products_info($listing_sql); // split query to 2 small queries: 1) find all products ids, 2) get info for each product $last_viewed = tep_db_query($last_viewed_query); $salemakers_array = get_salemakers($last_viewed); mysqli_data_seek($last_viewed, 0); ); 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"; } break; case 'P_DRUGIE': ?> <!--P_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:
file_put_contents(): Only -1 of 32 bytes written, possibly out of free disk space
at /mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Filesystem/Filesystem.php:140
at Bootstrap\HandleExceptions->handleError()
(/mnt/test_sites/sites_new/motofix.com.ua/bootstrap/HandleExceptions.php:32)
at Bootstrap\HandleExceptions->Bootstrap\{closure}()
at file_put_contents()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Filesystem/Filesystem.php:140)
at App\Classes\Filesystem\Filesystem->put()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Store/FileStore.php:64)
at App\Classes\Cache\Store\FileStore->put()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Repository.php:169)
at App\Classes\Cache\Repository->put()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Repository.php:328)
at App\Classes\Cache\Repository->remember()
(/mnt/test_sites/sites_new/motofix.com.ua/app/Classes/Cache/Helpers/FileCacheHelper.php:185)
at App\Classes\Cache\Helpers\FileCacheHelper::remember()
(/mnt/test_sites/sites_new/motofix.com.ua/includes/functions/general.php:41)
at tep_get_all_sql_products_ids()
(/mnt/test_sites/sites_new/motofix.com.ua/includes/functions/general.php:48)
at tep_get_query_products_info()
(/mnt/test_sites/sites_new/motofix.com.ua/ext/last_viewed_products/last_viewed_products.php:21)
at require_once('/mnt/test_sites/sites_new/motofix.com.ua/ext/last_viewed_products/last_viewed_products.php')
(/mnt/test_sites/sites_new/motofix.com.ua/templates/default/content/product_info.tpl.php:384)
at require('/mnt/test_sites/sites_new/motofix.com.ua/templates/default/content/product_info.tpl.php')
(/mnt/test_sites/sites_new/motofix.com.ua/templates/default/main_page.tpl.php:100)
at require('/mnt/test_sites/sites_new/motofix.com.ua/templates/default/main_page.tpl.php')
(/mnt/test_sites/sites_new/motofix.com.ua/product_info.php:317)
|
Оставить свой отзыв