In stock
75.902 грн
file_put_contents(/mnt/test_sites/sites_new/wellcraft.com.ua/storage/cache/all_sql_products_ids/all_sql_products_ids$_16c295bce0adb401b73e3dc40f132713): 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$_16c295bce0adb401b73e3dc40f132713): 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 p2c.categories_id = '" . (int)$current_category_id "'
  2.                 ORDER BY  " $order_by "
  3.                            " 'LIMIT ' . ($tpl_settings['limit'] ? (int)$tpl_settings['limit'] : 10);
  4. // split query to 2 small queries: 1) find all products ids, 2) get info for each product
  5. $drugie_query tep_get_query_products_info($listing_sql$tpl_settings['limit']);
  6. $drugie tep_db_query($drugie_query);
  7. if (!empty($drugie)) {
  8.     $salemakers_array get_salemakers($drugie);
  9.     tep_db_data_seek($drugie0);
include('/home/solomono/web/solomono.net/sites/demo/includes/modules/drugie.php') in /mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php (line 412)
  1.                     }
  2.                     require_once DIR_WS_EXT "last_viewed_products/last_viewed_products.php";
  3.                 }
  4.                 break;
  5.             case 'P_DRUGIE':
  6.                 include(DIR_WS_MODULES 'drugie.php');
  7.                 break;
  8.             case 'P_XSELL':
  9.                 if (is_file(DIR_WS_EXT 'xsell_products_buynow/' FILENAME_XSELL_PRODUCTS)) {
  10.                     require_once DIR_WS_EXT 'xsell_products_buynow/' FILENAME_XSELL_PRODUCTS;
  11.                 }
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$_16c295bce0adb401b73e3dc40f132713): 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/drugie.php:31)
  at include('/home/solomono/web/solomono.net/sites/demo/includes/modules/drugie.php')
     (/mnt/test_sites/sites_new/wellcraft.com.ua/templates/default/content/product_info.tpl.php:412)
  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)                
In stock

11.384 грн

In stock

542.820 грн

In stock

76.999 грн

In stock

11.926 грн

In stock

8.673 грн

In stock

18.432 грн

In stock

43.372 грн

In stock

8.673 грн

In stock

716.522 грн

In stock

524.558 грн