Severity: Warning
Message: mysqli::query(): (HY000/1021): Disk full (/tmp/#sql-temptable-25dd59-196b53f-861dc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Filename: mysqli/mysqli_driver.php
Line Number: 307
Backtrace:
File: /home/santrotiles/public_html/santro_new/new_site/application/models/Category_model.php
Line: 119
Function: get
File: /home/santrotiles/public_html/santro_new/new_site/application/controllers/Home_controller.php
Line: 252
Function: get_parent_categories_tree
File: /home/santrotiles/public_html/santro_new/new_site/application/controllers/Home_controller.php
Line: 132
Function: product
File: /home/santrotiles/public_html/santro_new/new_site/index.php
Line: 328
Function: require_once
Error Number: 1021
Disk full (/tmp/#sql-temptable-25dd59-196b53f-861dc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
SELECT `categories`.*, `categories`.`parent_id` AS `join_parent_id`, (SELECT name FROM categories_lang WHERE categories_lang.category_id = categories.id AND categories_lang.lang_id = 1 LIMIT 1) AS name, (SELECT slug FROM categories WHERE id = join_parent_id) AS parent_slug, (SELECT id FROM categories AS sub_categories WHERE sub_categories.parent_id = categories.id LIMIT 1) AS has_subcategory FROM `categories` WHERE categories.id IN (SELECT tbl2.id FROM ( SELECT @r AS _id, (SELECT @r := parent_id FROM categories WHERE id = _id) AS parent_id, @l := @l + 1 AS cat_level FROM (SELECT @r := 20, @l := 0) vars, categories h WHERE @r <> 0) tbl1 JOIN categories tbl2 ON tbl1._id = tbl2.id ORDER BY tbl1.cat_level DESC) AND `categories`.`visibility` = 1 ORDER BY `categories`.`id`
Filename: models/Category_model.php
Line Number: 119