Severity: Warning
Message: mysqli::query(): (HY000/1): Can't create/write to file '/tmp/#sql-temptable-11fd-44dcb5-36d47.MAI' (Errcode: 30 "Read-only file system")
Filename: mysqli/mysqli_driver.php
Line Number: 307
Backtrace:
File: /home/e1al/public_html/application/helpers/product_helper.php
Line: 224
Function: query
File: /home/e1al/public_html/application/controllers/Home_controller.php
Line: 28
Function: get_best_sellers_product
File: /home/e1al/public_html/index.php
Line: 401
Function: require_once
Error Number: 1
Can't create/write to file '/tmp/#sql-temptable-11fd-44dcb5-36d47.MAI' (Errcode: 30 "Read-only file system")
SELECT products.id, products.title, products.slug, products.product_type, products.listing_type, products.category_id, products.price, products.currency, products.discount_rate, products.user_id, products.is_promoted, products.rating, products.hit, products.is_free_product, products.promote_end_date, products.description, products.product_condition, products.created_at, (SELECT CONCAT(storage, '::', image_small) FROM images WHERE products.id = images.product_id ORDER BY is_main DESC LIMIT 1) AS image, (SELECT CONCAT(storage, '::', image_small) FROM images WHERE products.id = images.product_id ORDER BY is_main DESC LIMIT 1, 1) AS image_second, (SELECT COUNT(wishlist.id) FROM wishlist WHERE products.id = wishlist.product_id) AS wishlist_count FROM products LEFT JOIN images ON products.id = images.product_id WHERE products.visibility = 1 AND products.status = 1 GROUP BY product_id ORDER BY hit DESC LIMIT 0,12
Filename: helpers/product_helper.php
Line Number: 224