KME307
Out of stock
5.585 грн
In stock

1.098 грн

:
:
In stock

7.633 грн

In stock

3.583 грн

In stock

23.786 грн

In stock

4.439 грн

In stock

2.971 грн

In stock

6.032 грн

In stock

2.678 грн

In stock

6.006 грн

In stock

7.999 грн

In stock

6.699 грн

file_put_contents(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids/all_sql_products_ids$_3e8b167e7db61a55de4bef1c69e46c95): failed to open stream: No such file or directory (500 Whoops, looks like something went wrong.)

file_put_contents(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids/all_sql_products_ids$_3e8b167e7db61a55de4bef1c69e46c95): failed to open stream: No such file or directory

Exception

ErrorException

  1.         if (!$this->isDirectory($directory)) {
  2.             $this->makeDirectory($directory0775truetrue);
  3.         }
  4.         try {
  5.             return file_put_contents($path$contents$lock LOCK_EX 0);
  6.         } catch (ErrorException $e) {
  7.             if (!$this->isDirectory($directory)) {
  8.                 $this->makeDirectory($directory0775truetrue);
  9.                 return file_put_contents($path$contents$lock LOCK_EX 0);
  10.             }
  1.         //ini_set('error_log' , '/home/solomono/web/solomono.net/sites/dev/php.log');
  2.         error_reporting(E_ALL);
  3.         set_error_handler(function ($level$message$file ''$line 0) {
  4.             $this->handleError($level$message$file$line);
  5.         });
  6.         set_exception_handler(function ($e) {
  7.             $this->handleException($e);
  8.         });
HandleExceptions->Bootstrap\{closure}()
  1.         if (!$this->isDirectory($directory)) {
  2.             $this->makeDirectory($directory0775truetrue);
  3.         }
  4.         try {
  5.             return file_put_contents($path$contents$lock LOCK_EX 0);
  6.         } catch (ErrorException $e) {
  7.             if (!$this->isDirectory($directory)) {
  8.                 $this->makeDirectory($directory0775truetrue);
  9.                 return file_put_contents($path$contents$lock LOCK_EX 0);
  10.             }
  1.         $this->ensureCacheDirectoryExists($path $this->path($key));
  2.         $result $this->files->put(
  3.             $path,
  4.             $this->expiration($seconds) . serialize($value),
  5.             true
  6.         );
  7.         if ($result !== false && $result 0) {
  8.             $this->ensureFileHasCorrectPermissions($path);
  1.      * @param mixed $value
  2.      * @return bool
  3.      */
  4.     public function forever($key$value): bool
  5.     {
  6.         return $this->put($key$value0);
  7.     }
  8.     /**
  9.      * Remove an item from the cache.
  10.      * @param string $key
  1.      * @param mixed $value
  2.      * @return bool
  3.      */
  4.     public function forever($key$value)
  5.     {
  6.         $result $this->store->forever($this->itemKey($key), $value);
  7.         if ($result) {
  8.             event(new CacheWritten($key$value));
  9.         }
  1.         if (is_array($key)) {
  2.             return $this->putMany($key$value);
  3.         }
  4.         if ($ttl === null) {
  5.             return $this->forever($key$value);
  6.         }
  7.         $seconds $this->getSeconds($ttl);
  8.         if ($seconds <= 0) {
  1.         // given number of seconds so it's available for all subsequent requests.
  2.         if (!is_null($value)) {
  3.             return $value;
  4.         }
  5.         $this->put($key$value $callback(), $ttl);
  6.         return $value;
  7.     }
  8.     /**
  1.         try {
  2.             if ($isCacheEnabled) {
  3.                 return self::getRepository()
  4.                     ->remember(
  5.                         $key,
  6.                         $ttl,
  7.                         $closure
  8.                     );
  9.             } else {
  10.                 return $closure();
  1.         FileCacheHelper::ALL_SQL_PRODUCTS_IDS_KEY '_' md5($listing_sql),
  2.         fn() => array_column(
  3.             tep_db_query($listing_sql)->fetch_all(MYSQLI_ASSOC),
  4.             'products_id'
  5.         ),
  6.         null
  7.     );
  8. }
  9. function tep_get_all_pids_price_exclude($listing_sql$excluded_statement)
  10. {
  1. function tep_get_query_products_info($listing_sql$limit 10)
  2. {
  3.     global $languages_id$customer_price$listing_add_fields$spec_array$all_pids;
  4.     $all_pids tep_get_all_sql_products_ids($listing_sql);
  5.     if (!empty($all_pids)) {
  6.         $specials getSpecials($all_pids);
  7.         $specialPrices = [];
  8.         foreach ($specials as $special) {
  1.                       AND p.products_status = '1'
  2.                       and xp.xsell_id = p.products_id
  3.                     ORDER BY  " $order_by "
  4.                     limit " $limit;
  5.         $module_products_query tep_get_query_products_info($xsell_query$limit);
  6.         $module_products tep_db_query($module_products_query);
  7.         $salemakers_array get_salemakers($module_products);
  8.         mysqli_data_seek($module_products0);
  9.         if ($module_products->num_rows && (!isset($tpl_settings['disable_listing']) || $tpl_settings['disable_listing'] != true)) {
include('/home/solomono/web/solomono.net/sites/demo/includes/modules/xsell_products_buynow.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/ext/xsell_products_buynow/xsell_products_buynow.php (line 4)
  1. <?php
  2. if (is_file(DIR_WS_MODULES FILENAME_XSELL_PRODUCTS) && getConstantValue('XSELL_PRODUCTS_BUYNOW_ENABLED') == 'true') {
  3.     include DIR_WS_MODULES FILENAME_XSELL_PRODUCTS;
  4. }
require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/xsell_products_buynow/xsell_products_buynow.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php (line 416)
  1.             case 'P_DRUGIE':
  2.                 include(DIR_WS_MODULES 'drugie.php');
  3.                 break;
  4.             case 'P_XSELL':
  5.                 if (is_file(DIR_WS_EXT 'xsell_products_buynow/' FILENAME_XSELL_PRODUCTS)) {
  6.                     require_once DIR_WS_EXT 'xsell_products_buynow/' FILENAME_XSELL_PRODUCTS;
  7.                 }
  8.                 break;
  9.             case 'P_BETTER_TOGETHER':
  10.                 include(DIR_WS_MODULES 'better_together.php');
  11.                 break;
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php (line 121)
  1.             <?php echo $breadcrumb->trail(' '); ?>
  2.             <!-- END BREADCRUMBS -->
  3.             <!-- CONTENT -->
  4.             <?php
  5.             if (file_exists(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php')) {
  6.                 require(DIR_WS_TEMPLATES TEMPLATE_NAME '/content/' $content '.tpl.php'); // content from current template (if exists)
  7.             } else {
  8.                 require(DIR_WS_CONTENT $content '.tpl.php'); // content from default template
  9.             }
  10.             ?>
  11.             <!-- END CONTENT -->
require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php (line 338)
  1.     }
  2. } else {
  3.     http_response_code(404);
  4.     $content CONTENT_ERROR_404;
  5. }
  6. require(DIR_WS_TEMPLATES TEMPLATE_NAME '/' TEMPLATENAME_MAIN_PAGE);
  7. require(DIR_WS_INCLUDES 'application_bottom.php');

Stack Trace

ErrorException
ErrorException:
file_put_contents(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids/all_sql_products_ids$_3e8b167e7db61a55de4bef1c69e46c95): failed to open stream: No such file or directory

  at /home/solomono/web/solomono.net/sites/demo/app/Classes/Filesystem/Filesystem.php:146
  at Bootstrap\HandleExceptions->handleError()
     (/home/solomono/web/solomono.net/sites/demo/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
  at file_put_contents()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Filesystem/Filesystem.php:146)
  at App\Classes\Filesystem\Filesystem->put()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Store/FileStore.php:64)
  at App\Classes\Cache\Store\FileStore->put()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Store/FileStore.php:131)
  at App\Classes\Cache\Store\FileStore->forever()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Repository.php:301)
  at App\Classes\Cache\Repository->forever()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Repository.php:160)
  at App\Classes\Cache\Repository->put()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Repository.php:328)
  at App\Classes\Cache\Repository->remember()
     (/home/solomono/web/solomono.net/sites/demo/app/Classes/Cache/Helpers/FileCacheHelper.php:186)
  at App\Classes\Cache\Helpers\FileCacheHelper::remember()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/general.php:70)
  at tep_get_all_sql_products_ids()
     (/home/solomono/web/solomono.net/sites/demo/includes/functions/general.php:85)
  at tep_get_query_products_info()
     (/home/solomono/web/solomono.net/sites/demo/includes/modules/xsell_products_buynow.php:39)
  at include('/home/solomono/web/solomono.net/sites/demo/includes/modules/xsell_products_buynow.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/ext/xsell_products_buynow/xsell_products_buynow.php:4)
  at require_once('/mnt/test_sites/sites_new/wellcraft.com.ua/ext/xsell_products_buynow/xsell_products_buynow.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php:416)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php:121)
  at require('/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/main_page.tpl.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/product_info.php:338)