Unhandled Error!

MySQL error executing query: Incorrect key file for table '/tmp/#sql_43f_0.MYI'; try to repair it

Hint

This problem could be caused by the LemonStand MySQL connection configuration errors. Please log into the LemonStand Configuration Tool and update the database connection parameters. Also please make sure that MySQL server is running.

Document /phproad/modules/db/classes/db_mysqldriver.php
Document type PHP document
Line 114
Exception class Phpr_DatabaseException

Code Highlight

 
			// execute the statement
			$handle = @mysql_query($sql, Db::$connection);
 
			// If error, generate exception
			if ($err = @mysql_errno(Db::$connection) != 0) {
				$exception = new Phpr_DatabaseException('MySQL error executing query: '.@mysql_error(Db::$connection));
				$exception->hint_message = 'This problem could be caused by the LemonStand MySQL connection configuration errors. Please log into the LemonStand Configuration Tool and update the database connection parameters. Also please make sure that MySQL server is running.';
				throw $exception;
			}
 
			return $handle;
		}
# Call Stack Code Document Line
17 Db_MySQLDriver->execute('SELECT (pages.url) as page_url, (0) as items_ordered, (if (shop_products.grouped = 1, concat(shop_products.name, " (", shop_products.grouped_option_desc, ")"), shop_products.name)) as grouped_name, (page_calculated_join.title) as page_calculated, (product_type_calculated_join.name) as product_type_calculated, (manufacturer_link_calculated_join.name) as manufacturer_link_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = shop_products.id and (master_object_class='Shop_Product' and field='images')) as images_calculated, (tax_class_calculated_join.name) as tax_class_calculated, (select group_concat(categories_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_categories as categories_relation_table, shop_products_categories where categories_relation_table.id=shop_products_categories.shop_category_id and shop_products_categories.shop_product_id=shop_products.id) as categories_calculated, (select group_concat(shop_products.grouped_option_desc ORDER BY 1 SEPARATOR ', ') from shop_products where shop_products.product_id = shop_products.id) as grouped_products_all_calculated, (select group_concat(shop_custom_attributes.name ORDER BY 1 SEPARATOR ', ') from shop_custom_attributes where shop_custom_attributes.product_id = shop_products.id) as options_calculated, (select group_concat(shop_extra_options.description ORDER BY 1 SEPARATOR ', ') from shop_extra_options where shop_extra_options.product_id = shop_products.id and ((option_in_set is null or option_in_set=0))) as product_extra_options_calculated, (select group_concat(extra_option_sets_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_extra_option_sets as extra_option_sets_relation_table, shop_products_extra_sets where extra_option_sets_relation_table.id=shop_products_extra_sets.extra_option_set_id and shop_products_extra_sets.extra_product_id=shop_products.id) as extra_option_sets_calculated, (select group_concat(shop_tier_prices.id ORDER BY 1 SEPARATOR ', ') from shop_tier_prices where shop_tier_prices.product_id = shop_products.id) as price_tiers_calculated, (select group_concat(related_products_all_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_products as related_products_all_relation_table, shop_related_products where related_products_all_relation_table.id=shop_related_products.related_product_id and shop_related_products.master_product_id=shop_products.id) as related_products_all_calculated, (select group_concat(shop_product_properties.name ORDER BY 1 SEPARATOR ', ') from shop_product_properties where shop_product_properties.product_id = shop_products.id) as properties_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = shop_products.id and (master_object_class='Shop_Product' and field='files')) as files_calculated, (select group_concat(customer_groups_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_customer_groups as customer_groups_relation_table, shop_products_customer_groups where customer_groups_relation_table.id=shop_products_customer_groups.customer_group_id and shop_products_customer_groups.shop_product_id=shop_products.id) as customer_groups_calculated, (select group_concat(nhqanda_questions.question ORDER BY 1 SEPARATOR ', ') from nhqanda_questions where nhqanda_questions.product_id = shop_products.id and (moderation_status='approved')) as questions_calculated, (select trim(concat(ifnull(firstName, ''), ' ', ifnull(lastName, ' '), ' ', ifnull(middleName, ''))) from users where users.id=shop_products.updated_user_id) as updated_user_name, (trim(ifnull((select trim(concat(ifnull(firstName, ''), ' ', ifnull(lastName, ' '), ' ', ifnull(middleName, ''))) from users where users.id=shop_products.created_user_id), ''))) as created_user_name, shop_products.* FROM shop_products LEFT JOIN pages ON shop_products.page_id=pages.id LEFT JOIN pages as page_calculated_join ON page_calculated_join.id = shop_products.page_id LEFT JOIN shop_product_types as product_type_calculated_join ON product_type_calculated_join.id = shop_products.product_type_id LEFT JOIN shop_manufacturers as manufacturer_link_calculated_join ON manufacturer_link_calculated_join.id = shop_products.manufacturer_id LEFT JOIN shop_tax_classes as tax_class_calculated_join ON tax_class_calculated_join.id = shop_products.tax_class_id ORDER BY RAND() LIMIT 0, 8') /phproad/modules/db/classes/db_sqlbase.php 603
16 Db_SqlBase->execute('SELECT (pages.url) as page_url, (0) as items_ordered, (if (shop_products.grouped = 1, concat(shop_products.name, " (", shop_products.grouped_option_desc, ")"), shop_products.name)) as grouped_name, (page_calculated_join.title) as page_calculated, (product_type_calculated_join.name) as product_type_calculated, (manufacturer_link_calculated_join.name) as manufacturer_link_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = shop_products.id and (master_object_class='Shop_Product' and field='images')) as images_calculated, (tax_class_calculated_join.name) as tax_class_calculated, (select group_concat(categories_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_categories as categories_relation_table, shop_products_categories where categories_relation_table.id=shop_products_categories.shop_category_id and shop_products_categories.shop_product_id=shop_products.id) as categories_calculated, (select group_concat(shop_products.grouped_option_desc ORDER BY 1 SEPARATOR ', ') from shop_products where shop_products.product_id = shop_products.id) as grouped_products_all_calculated, (select group_concat(shop_custom_attributes.name ORDER BY 1 SEPARATOR ', ') from shop_custom_attributes where shop_custom_attributes.product_id = shop_products.id) as options_calculated, (select group_concat(shop_extra_options.description ORDER BY 1 SEPARATOR ', ') from shop_extra_options where shop_extra_options.product_id = shop_products.id and ((option_in_set is null or option_in_set=0))) as product_extra_options_calculated, (select group_concat(extra_option_sets_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_extra_option_sets as extra_option_sets_relation_table, shop_products_extra_sets where extra_option_sets_relation_table.id=shop_products_extra_sets.extra_option_set_id and shop_products_extra_sets.extra_product_id=shop_products.id) as extra_option_sets_calculated, (select group_concat(shop_tier_prices.id ORDER BY 1 SEPARATOR ', ') from shop_tier_prices where shop_tier_prices.product_id = shop_products.id) as price_tiers_calculated, (select group_concat(related_products_all_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_products as related_products_all_relation_table, shop_related_products where related_products_all_relation_table.id=shop_related_products.related_product_id and shop_related_products.master_product_id=shop_products.id) as related_products_all_calculated, (select group_concat(shop_product_properties.name ORDER BY 1 SEPARATOR ', ') from shop_product_properties where shop_product_properties.product_id = shop_products.id) as properties_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = shop_products.id and (master_object_class='Shop_Product' and field='files')) as files_calculated, (select group_concat(customer_groups_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_customer_groups as customer_groups_relation_table, shop_products_customer_groups where customer_groups_relation_table.id=shop_products_customer_groups.customer_group_id and shop_products_customer_groups.shop_product_id=shop_products.id) as customer_groups_calculated, (select group_concat(nhqanda_questions.question ORDER BY 1 SEPARATOR ', ') from nhqanda_questions where nhqanda_questions.product_id = shop_products.id and (moderation_status='approved')) as questions_calculated, (select trim(concat(ifnull(firstName, ''), ' ', ifnull(lastName, ' '), ' ', ifnull(middleName, ''))) from users where users.id=shop_products.updated_user_id) as updated_user_name, (trim(ifnull((select trim(concat(ifnull(firstName, ''), ' ', ifnull(lastName, ' '), ' ', ifnull(middleName, ''))) from users where users.id=shop_products.created_user_id), ''))) as created_user_name, shop_products.* FROM shop_products LEFT JOIN pages ON shop_products.page_id=pages.id LEFT JOIN pages as page_calculated_join ON page_calculated_join.id = shop_products.page_id LEFT JOIN shop_product_types as product_type_calculated_join ON product_type_calculated_join.id = shop_products.product_type_id LEFT JOIN shop_manufacturers as manufacturer_link_calculated_join ON manufacturer_link_calculated_join.id = shop_products.manufacturer_id LEFT JOIN shop_tax_classes as tax_class_calculated_join ON tax_class_calculated_join.id = shop_products.tax_class_id ORDER BY RAND() LIMIT 0, 8') /phproad/modules/db/classes/db_sqlbase.php 436
15 Db_SqlBase->query('SELECT (pages.url) as page_url, (0) as items_ordered, (if (shop_products.grouped = 1, concat(shop_products.name, " (", shop_products.grouped_option_desc, ")"), shop_products.name)) as grouped_name, (page_calculated_join.title) as page_calculated, (product_type_calculated_join.name) as product_type_calculated, (manufacturer_link_calculated_join.name) as manufacturer_link_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = shop_products.id and (master_object_class='Shop_Product' and field='images')) as images_calculated, (tax_class_calculated_join.name) as tax_class_calculated, (select group_concat(categories_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_categories as categories_relation_table, shop_products_categories where categories_relation_table.id=shop_products_categories.shop_category_id and shop_products_categories.shop_product_id=shop_products.id) as categories_calculated, (select group_concat(shop_products.grouped_option_desc ORDER BY 1 SEPARATOR ', ') from shop_products where shop_products.product_id = shop_products.id) as grouped_products_all_calculated, (select group_concat(shop_custom_attributes.name ORDER BY 1 SEPARATOR ', ') from shop_custom_attributes where shop_custom_attributes.product_id = shop_products.id) as options_calculated, (select group_concat(shop_extra_options.description ORDER BY 1 SEPARATOR ', ') from shop_extra_options where shop_extra_options.product_id = shop_products.id and ((option_in_set is null or option_in_set=0))) as product_extra_options_calculated, (select group_concat(extra_option_sets_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_extra_option_sets as extra_option_sets_relation_table, shop_products_extra_sets where extra_option_sets_relation_table.id=shop_products_extra_sets.extra_option_set_id and shop_products_extra_sets.extra_product_id=shop_products.id) as extra_option_sets_calculated, (select group_concat(shop_tier_prices.id ORDER BY 1 SEPARATOR ', ') from shop_tier_prices where shop_tier_prices.product_id = shop_products.id) as price_tiers_calculated, (select group_concat(related_products_all_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_products as related_products_all_relation_table, shop_related_products where related_products_all_relation_table.id=shop_related_products.related_product_id and shop_related_products.master_product_id=shop_products.id) as related_products_all_calculated, (select group_concat(shop_product_properties.name ORDER BY 1 SEPARATOR ', ') from shop_product_properties where shop_product_properties.product_id = shop_products.id) as properties_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = shop_products.id and (master_object_class='Shop_Product' and field='files')) as files_calculated, (select group_concat(customer_groups_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_customer_groups as customer_groups_relation_table, shop_products_customer_groups where customer_groups_relation_table.id=shop_products_customer_groups.customer_group_id and shop_products_customer_groups.shop_product_id=shop_products.id) as customer_groups_calculated, (select group_concat(nhqanda_questions.question ORDER BY 1 SEPARATOR ', ') from nhqanda_questions where nhqanda_questions.product_id = shop_products.id and (moderation_status='approved')) as questions_calculated, (select trim(concat(ifnull(firstName, ''), ' ', ifnull(lastName, ' '), ' ', ifnull(middleName, ''))) from users where users.id=shop_products.updated_user_id) as updated_user_name, (trim(ifnull((select trim(concat(ifnull(firstName, ''), ' ', ifnull(lastName, ' '), ' ', ifnull(middleName, ''))) from users where users.id=shop_products.created_user_id), ''))) as created_user_name, shop_products.* FROM shop_products LEFT JOIN pages ON shop_products.page_id=pages.id LEFT JOIN pages as page_calculated_join ON page_calculated_join.id = shop_products.page_id LEFT JOIN shop_product_types as product_type_calculated_join ON product_type_calculated_join.id = shop_products.product_type_id LEFT JOIN shop_manufacturers as manufacturer_link_calculated_join ON manufacturer_link_calculated_join.id = shop_products.manufacturer_id LEFT JOIN shop_tax_classes as tax_class_calculated_join ON tax_class_calculated_join.id = shop_products.tax_class_id ORDER BY RAND() LIMIT 0, 8') /phproad/modules/db/classes/db_sqlbase.php 498
14 Db_SqlBase->fetchAll('SELECT (pages.url) as page_url, (0) as items_ordered, (if (shop_products.grouped = 1, concat(shop_products.name, " (", shop_products.grouped_option_desc, ")"), shop_products.name)) as grouped_name, (page_calculated_join.title) as page_calculated, (product_type_calculated_join.name) as product_type_calculated, (manufacturer_link_calculated_join.name) as manufacturer_link_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = shop_products.id and (master_object_class='Shop_Product' and field='images')) as images_calculated, (tax_class_calculated_join.name) as tax_class_calculated, (select group_concat(categories_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_categories as categories_relation_table, shop_products_categories where categories_relation_table.id=shop_products_categories.shop_category_id and shop_products_categories.shop_product_id=shop_products.id) as categories_calculated, (select group_concat(shop_products.grouped_option_desc ORDER BY 1 SEPARATOR ', ') from shop_products where shop_products.product_id = shop_products.id) as grouped_products_all_calculated, (select group_concat(shop_custom_attributes.name ORDER BY 1 SEPARATOR ', ') from shop_custom_attributes where shop_custom_attributes.product_id = shop_products.id) as options_calculated, (select group_concat(shop_extra_options.description ORDER BY 1 SEPARATOR ', ') from shop_extra_options where shop_extra_options.product_id = shop_products.id and ((option_in_set is null or option_in_set=0))) as product_extra_options_calculated, (select group_concat(extra_option_sets_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_extra_option_sets as extra_option_sets_relation_table, shop_products_extra_sets where extra_option_sets_relation_table.id=shop_products_extra_sets.extra_option_set_id and shop_products_extra_sets.extra_product_id=shop_products.id) as extra_option_sets_calculated, (select group_concat(shop_tier_prices.id ORDER BY 1 SEPARATOR ', ') from shop_tier_prices where shop_tier_prices.product_id = shop_products.id) as price_tiers_calculated, (select group_concat(related_products_all_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_products as related_products_all_relation_table, shop_related_products where related_products_all_relation_table.id=shop_related_products.related_product_id and shop_related_products.master_product_id=shop_products.id) as related_products_all_calculated, (select group_concat(shop_product_properties.name ORDER BY 1 SEPARATOR ', ') from shop_product_properties where shop_product_properties.product_id = shop_products.id) as properties_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = shop_products.id and (master_object_class='Shop_Product' and field='files')) as files_calculated, (select group_concat(customer_groups_relation_table.name ORDER BY 1 SEPARATOR ', ') from shop_customer_groups as customer_groups_relation_table, shop_products_customer_groups where customer_groups_relation_table.id=shop_products_customer_groups.customer_group_id and shop_products_customer_groups.shop_product_id=shop_products.id) as customer_groups_calculated, (select group_concat(nhqanda_questions.question ORDER BY 1 SEPARATOR ', ') from nhqanda_questions where nhqanda_questions.product_id = shop_products.id and (moderation_status='approved')) as questions_calculated, (select trim(concat(ifnull(firstName, ''), ' ', ifnull(lastName, ' '), ' ', ifnull(middleName, ''))) from users where users.id=shop_products.updated_user_id) as updated_user_name, (trim(ifnull((select trim(concat(ifnull(firstName, ''), ' ', ifnull(lastName, ' '), ' ', ifnull(middleName, ''))) from users where users.id=shop_products.created_user_id), ''))) as created_user_name, shop_products.* FROM shop_products LEFT JOIN pages ON shop_products.page_id=pages.id LEFT JOIN pages as page_calculated_join ON page_calculated_join.id = shop_products.page_id LEFT JOIN shop_product_types as product_type_calculated_join ON product_type_calculated_join.id = shop_products.product_type_id LEFT JOIN shop_manufacturers as manufacturer_link_calculated_join ON manufacturer_link_calculated_join.id = shop_products.manufacturer_id LEFT JOIN shop_tax_classes as tax_class_calculated_join ON tax_class_calculated_join.id = shop_products.tax_class_id ORDER BY RAND() LIMIT 0, 8') /phproad/modules/db/classes/db_activerecord.php 539
13 Db_ActiveRecord->find_all_internal(null, array(0), null) /phproad/modules/db/classes/db_activerecord.php 559
12 Db_ActiveRecord->find_all(()) /modules/cms/classes/cms_controller.php(383) : eval()'d code 327
11 eval(()) /modules/cms/classes/cms_controller.php 383
10 Cms_Controller->evalWithException('?><!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <meta charset="UTF-8"> <meta name="description" content="<?php echo $this->page->title; ?>: &#9742 0800 808 9600 - or - 0333 323 8888. &#10004; Click &amp; Collect Service. &#10004; Cheap Delivery Rates. &#10004; Price Match Promise."> <meta name="keywords" content="<?php echo $this->page->keywords; ?>"> <?php $this->render_head() ?> <title><?php echo $this->page->title; ?> | National Tool Hire Shops</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="preconnect" href="https://secure.livechatinc.com"> <link rel="preconnect" href="https://cdn.livechatinc.com"> <link rel="preconnect" href="https://s7.addthis.com"> <link rel="preconnect" href="https://m.addthis.com"> <link rel="preconnect" href="https://ssl.google-analytics.com"> <link rel="preconnect" href="https://stats.g.doubleclick.net"> <link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="preconnect" href="https://themes.googleusercontent.com"> <link rel="preconnect" href="//booking.nationaltoolhireshops.co.uk"> <link rel="icon" href="/favicons/favicon.ico" type="image/x-icon" /> <!--<link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel='stylesheet' type='text/css'>--> <?php $scheme_css = lemonade_setting('site_color'); $body_font_css = lemonade_setting('site_body_font'); echo $this->css_combine( array( '@stylesheets/foundation.css', /*'@stylesheets/general_foundicons.css',*/ '@stylesheets/font-awesome.min.css', '@stylesheets/megamenu.css', '@stylesheets/app2.css', '@stylesheets/map.css', '@stylesheets/schemes/'.$scheme_css, '@stylesheets/body-fonts/comfortaa.css', /*'@stylesheets/heading-fonts/'.$heading_font_css, '@stylesheets/body-fonts/'.$body_font_css*/ ), array( 'src_mode' => true ) ); ?> <?php echo $this->js_combine( array( '@javascripts/jquery.js', '@javascripts/foundation/modernizr.foundation.js', /*'@javascripts/foundation/jquery.foundation.accordion.js', '@javascripts/foundation/jquery.foundation.alerts.js', '@javascripts/foundation/jquery.foundation.buttons.js', '@javascripts/foundation/jquery.foundation.forms.js', '@javascripts/foundation/jquery.foundation.mediaQueryToggle.js', '@javascripts/foundation/jquery.foundation.navigation.js', '@javascripts/foundation/jquery.foundation.orbit.js', '@javascripts/foundation/jquery.foundation.reveal.js', '@javascripts/foundation/jquery.foundation.tabs.js', '@javascripts/foundation/jquery.foundation.tooltips.js', '@javascripts/foundation/jquery.placeholder.js',*/ 'ls_core_jquery', '@javascripts/jquery.tweet.js', '@javascripts/jquery.thumbs.js', '@javascripts/jquery.zoom.js', '@javascripts/megamenu_plugins.js', '@javascripts/megamenu.js', '@javascripts/app.js'/*, '@javascripts/jquery.storelocator.js'*/ ), array( 'skip_cache' => false ) ); ?> <?php $this->render_partial('google'); ?> </head> <body class="page-<?php echo $this->page->id; ?>"> <div class="upper_top_bar"></div> <header class="header"> <div class="row"> <div class="four mobile-two columns"> <div class="logo"> <a href="<?php echo root_url('/'); ?>"> <p class="logo">national<br/><span class="logo">TOOL HIRE SHOPS</span></p> </a> </div> </div> <!-- START: SEARCH BOX --> <div class="four columns hide-for-small search"> <form method="get" action="<?php echo site_url('/search'); ?>" class="search_box"> <div class="row collapse"> <div class="ten columns"> <input name="query" type="text" value="<?= isset($query) ? $query : null ?>"/> </div> <div class="two columns"> <button type="submit" class="button expand postfix"> <i class="fa fa-search fa-lg"></i> </button> </div> </div> </form> </div> <!-- END: SEARCH BOX --> <div class="four mobile-two columns"> <div class="header_contact"> <a href="tel:08008089600" style="color: #eb121a; cursor: default;"><p class="header_contact">Tool Hire Team</a><br/><span class="header_contact"><a href="tel:08008089600" style="color: #0058aa; cursor: default;"><i class="fa fa-phone fa-lg"></i>&nbsp; 0800 808 9600</a></span></p><p class="friendly">Call FREE: Mobiles &amp; Landlines</p> </div> <!--<div id="mini_cart"> <?php $this->render_partial('shop:mini_cart'); ?> </div>--> </div> </div> </header> <!-- START NAVIGATION --> <section class="navigation"> <div class="row"> <div class="ten mobile-two columns"> <div class="megamenu_container megamenu_dark_bar megamenu_dark"> <?php $this->render_partial('shop:megamenu'); ?> </div> </div> <div class="two mobile-two columns" style="padding-left: 0;"> <div class="megamenu2"> <a style="color: #fff" href="/local-tool-hire-shop/">Store Finder&nbsp;<span>&nbsp;<i class="fa fa-map-marker"></i></span></a> </div> </div> </div> </section> <section class="topbar"> <div class="row"> <div class="nine mobile-one columns hide-for-small"> <p class="free-shipping hide-for-small"><i class="fa fa-truck fa-lg"></i>&nbsp; <a href="/delivery-price-comparison/" class="topbar-link">Cheap Delivery Rates</a> &nbsp;&nbsp; <i class="fa fa-credit-card fa-lg"></i>&nbsp; <a href="/payment-and-delivery/" class="topbar-link">Credit / Debit Card Payment</a> &nbsp;&nbsp; <i class="fa fa-thumbs-o-up fa-lg"></i>&nbsp; <a href="/price-match/" class="topbar-link">Price Match Promise</a></p> </div> <div class="nine columns show-for-small search"> <form method="get" action="<?php echo site_url('/search'); ?>" class="search_box" style="margin: 0;"> <div class="row collapse"> <div class="eleven mobile-three columns"> <input name="query" type="text" value="Search" style="margin: 0; padding: 0 0 0 25px; height: 35px; border: 0;"; onfocus="(this.value == 'Search') && (this.value = '')" onblur="(this.value == '') && (this.value = 'Search')"> </div> <div class="one mobile-one columns"> <button type="submit" class="button" style="padding: 10px 20px 10px;"> <i class="fa fa-search fa-lg"></i> </button> </div> </div> </form> </div> <div class="three columns"> <p class="phone"><i class="fa fa-phone fa-lg"></i>&nbsp; <a href="#" id="Call_Back" class="topbar-link" onclick="if (LC_API.mobile_is_detected()) { LC_API.open_mobile_window({skill:37}); } else if (LC_API.embedded_chat_supported() &amp;&amp; LC_API.embedded_chat_enabled()) { LC_API.show_full_view({skill:37}); } else { LC_Invite.windowRef = window.open('https://secure.livechatinc.com/licence/1215771/open_chat.cgi?groups=37); };return false">Call Back</a> &nbsp;&nbsp; <i class="fa fa-comments-o fa-lg"></i>&nbsp; <a href="#" id="LiveChat_1340964081" class="topbar-link" onclick="if (LC_API.mobile_is_detected()) { LC_API.open_mobile_window({skill:37}); } else if (LC_API.embedded_chat_supported() &amp;&amp; LC_API.embedded_chat_enabled()) { LC_API.show_full_view({skill:37}); } else { LC_Invite.windowRef = window.open('https://secure.livechatinc.com/licence/1215771/open_chat.cgi?groups=37); };return false">LiveChat</a></p> </div> <script type="text/javascript"> var __lc_buttons = __lc_buttons || []; __lc_buttons.push({ elementId: 'LiveChat_1340964081', skill: '37', type: 'text', labels: { online: 'LiveChat', offline: 'Contact' } }); </script> <script type="text/javascript"> var __lc_buttons = __lc_buttons || []; __lc_buttons.push({ elementId: 'Call_Back', skill: '37', type: 'text', labels: { online: 'Call Back', offline: 'Call Back' } }); </script> <script type="text/javascript"> var __lc_buttons = __lc_buttons || []; __lc_buttons.push({ elementId: 'Contact', skill: '37', type: 'text', labels: { online: '<i class="fa fa-envelope-square fa-4x"></i>', offline: '<i class="fa fa-envelope-square fa-4x"></i>' } }); </script> <script type="text/javascript"> var __lc_buttons = __lc_buttons || []; __lc_buttons.push({ elementId: 'Call_Back2', skill: '37', type: 'text', labels: { online: '<span style="font-size:16px; color:#fff;">Request Call Back</span>', offline: '<span style="font-size:16px; color:#fff;">Request Call Back</span>' } }); </script> </div> </section> <?php $this->render_partial('top_offer'); ?> </section class="content"> <!--<div class="row"> <div class="twelve columns">--> <!-- start store content --> <section class="content"> <div class="row"> <?php $this->render_partial('closed_bank_holiday'); ?> <div class="three mobile-two columns" style="min-height: 220px;"> <ul style="maragin-left: 0 !important; list-style-type:none;" class="benefits"> <li style="padding-bottom: 5px;"><i class="fa fa-check-square-o" style="font-size:1.2em;"></i> DIY or Trade</li> <li style="padding-bottom: 5px;"><i class="fa fa-check-square-o" style="font-size:1.2em;"></i> Discounted Hire Rates</li> <li style="padding-bottom: 5px;"><i class="fa fa-check-square-o" style="font-size:1.2em;"></i> Local Tool Hire Shops</li> <li style="padding-bottom: 5px;"><i class="fa fa-check-square-o" style="font-size:1.2em;"></i> Friendly UK Call Centre</li> <li style="padding-bottom: 5px;"><i class="fa fa-check-square-o" style="font-size:1.2em;"></i> Helpful Store Staff</li> </ul> <ul style="padding-top: 20px; maragin-left: 0 !important; list-style-type:none;" class="benefits"> <li style="padding-bottom: 5px;"><i class="fa fa-hand-pointer-o" style="font-size:1.2em;"></i> Click &amp; Collect Service</li> <li style="padding-bottom: 5px;"><i class="fa fa-truck" style="font-size:1.2em;"></i> Cheap Delivery Prices</li> </ul> </div> <div class="three mobile-two push-six columns" style="min-height: 220px;"> <table style="border-spacing: 0px; width: 100%;" class="storetimes"> <tbody> <tr> <td>Monday:</td> <td>7:30am - 5pm</td> </tr> <tr> <td>Tuesday:</td> <td>7:30am - 5pm</td> </tr> <tr> <td>Wednesday:</td> <td>7:30am - 5pm</td> </tr> <tr> <td>Thursday:</td> <td>7:30am - 5pm</td> </tr> <tr> <td>Friday:</td> <td>7:30am - 5pm</td> </tr> <tr> <td>Saturday:</td> <td>8am - 12noon</td> </tr> <tr> <td>Sunday:</td> <td>Closed</td> </tr> </tbody> </table> </div> <div class="six pull-three columns" style="min-height: 220px; margin-bottom: 20px;"> <img src="/themes/nthsv3/resources/images/store_new.jpg" alt="Local Tool Hire" style="width:100%;"> </div> <!--<div class="twelve mobile-twelve columns"> <div id="store-locator-container" style="min-height:0;"> <div id="map-container"> <div id="loc-list"> <ul class="storelist" id="list"> </ul> </div> </div> </div> </div>--> <div class="twelve mobile-twelve columns"> <div style="margin: 0 0 10px; padding: 10px; background-color: #FFD700; text-align: center;"> <i class="fa fa-exclamation-triangle"></i> Web prices only apply to 'Click &amp; Collect' &amp; 'Delivery' bookings. In-store prices are significantly more without a 'Click &amp; Collect' booking. </div> </div> </div> <div class="row"> <div class="twelve columns"><hr /> <? $products = Shop_Product::create()->limit(8)->order('RAND()')->find_all(); $this->render_partial('shop:product_list_dynamics', array('products'=>$products)); ?> </div> </div> </section> <section class="bloglatest hide-for-small" style="padding-top: 30px; background-color: #ffffff;"> <div class="row"> <h1>Tool Hire Blog Posts</h1> <!--<? $post_list = Blog_Post::list_recent_posts(4) ?>--> <? $post_list = Blog_Post::create()->limit(4)->order('RAND()')->find_all(); ?> <? foreach ($post_list as $post): ?> <div class="three mobile-two columns" style="min-height: 250px;"> <? if(isset($post->featuredimages[0])) : ?> <a href="<?php echo site_url("/blog/post/$post->url_title"); ?>"><img src="<?= $post->featuredimages[0]->getThumbnailPath(910, 'auto', true) ?>" style="height: 150px; overflow: hidden;" alt="<?= $post->featuredimages[0]->title ?>" title="<?= $post->featuredimages[0]->description ?>" /></a> <? endif; ?> <h3 style="font-size: 1.3em;"><a class="blogtitle" style="color: #414141;" href="<?php echo site_url("/blog/post/$post->url_title"); ?>"><?php echo $post->title; ?></a></h3> </div> <? endforeach ?> </div> </section> <div class="clear"></div> <!-- end store content --> <!--</div> </div>--> </section> <section class="footerbanner"> <div class="row"> <div class="twelve mobile-twelve columns"> <p class="footerbanner"><?php $this->render_partial('footerbanner'); ?></p> </div> </div> </section> <footer class="footer"> <div class="row"> <div class="four mobile-twelve columns footercontact"> <div class="row"> <div class="twelve columns"> <p class="footerlogo">national<br><span class="footerlogo">TOOL HIRE SHOPS</span></p> <p class="footerslogan"><b>Nationwide DIY &amp; Trade Tool Hire</b><br/>Collect from Store &nbsp;|&nbsp; Delivered to Door</p> <p class="footercontact"><a class="footercontact" href="tel:08008089600" style="color: #fff; cursor: default;"><i class="fa-lg fa-fw fa fa-phone"></i> &nbsp; Hire Team: 0800 808 9600</a></p> <p class="footercontact"><i class="fa-lg fa-fw fa fa-map-marker"></i> &nbsp; <a href="/local-tool-hire-shop/" title="Store Locator" class="footercontact">Local Tool Hire Shops</a></p> <p class="footercontact"><i class="fa-lg fa-fw fa fa-comments-o"></i> &nbsp; <a href="#" id="Call_Back2" class="footercontact" onclick="if (LC_API.mobile_is_detected()) { LC_API.open_mobile_window({skill:37}); } else if (LC_API.embedded_chat_supported() &amp;&amp; LC_API.embedded_chat_enabled()) { LC_API.show_full_view({skill:37}); } else { LC_Invite.windowRef = window.open('https://secure.livechatinc.com/licence/1215771/open_chat.cgi?groups=37); };return false">Request Call Back</a></p> </div> </div> </div> <div class="two mobile-two columns footercols"> <h5>Tool Hire</h5> <ul class="links cols-2"> <li> <a href="/category/access-and-support-equipment-hire/" title="Access & Support">Access &amp; Support</a> </li> <li> <a href="/category/cleaning-equipment-hire/" title="Cleaning">Cleaning Tools</a> </li> <li> <a href="/category/building/" title="Building">Building Tools</a> </li> <li> <a href="/category/lifting-equipment-hire/" title="Lifting">Lifting Equipment</a> </li> <li> <a href="/category/flooring-equipment-hire/" title="Flooring">Flooring Tools</a> </li> <li> <a href="/category/garden-and-landscaping-tool-hire/" title="Gardening">Gardening Tools</a> </li> <li> <a href="/category/decorating-equipment-hire/" title="Decorating">Decorating Tools</a> </li> <li> <a href="/category/power-tool-hire/" title="Power Tools">Power Tools</a> </li> <li> <a href="https://www.surveyingequipment.com" title="Survey Equipment">Survey Equipment</a> </li> <li> <a href="/category/more-tool-hire-and-equipment-rental/" title="Tool Hire">More...</a> </li> </ul> </div> <div class="two mobile-two columns footercols"> <h5>Popular</h5> <ul class="links"> <li> <a href="/category/carpet-cleaner-hire/" title="Carpet Cleaner Hire">Carpet Cleaner</a> </li> <li> <a href="/category/floor-sander-hire/" title="Floor Sander Hire">Floor Sander</a> </li> <li> <a href="/category/concrete-mixer-hire/" title="Concrete Mixer Hire">Concrete Mixer</a> </li> <li> <a href="/category/breaker-hire/" title="Concrete Breaker Hire">Concrete Breaker</a> </li> <li> <a href="/category/scaffold-tower-hire/" title="Scaffold Tower Hire">Scaffold Tower</a> </li> <li> <a href="/category/wacker-plate-hire/" title="Wacker Plate Hire">Wacker Plate</a> </li> <li> <a href="/category/rotavator-cultivator-and-tiller-hire/" title="Rotavator Hire">Rotavator</a> </li> <li> <a href="/category/ladder-hire/" title="Ladder Hire">Ladder</a> </li> <li> <a href="/category/dehumidifier-hire/" title="Dehumidifier Hire">Dehumidifier</a> </li> <li> <a href="/product/heavy-duty-garden-shredder-garden-chipper-for-hire/" title="Wood Chipper Hire">Wood Chipper</a> </li> </ul> </div> <div class="two mobile-two columns footercols"> <ul class="links"> <h5>Help &amp; Info</h5> <li> <a href="/blog/" title="Tool Hire Blog">Tool Hire Blog</a> </li> <li> <a href="/category/info/" title="Equipment Information">Equipment Info</a> </li> <li> <a href="/category/how-to/" title="How To Guides">How To Guides</a> </li> <li> <a href="/price-match/" title="">Price Match</a> </li> <li> <a href="/health-and-safety/" title="Health & Safety">Health &amp; Safety</a> </li> <li> <a href="/air-con-calculator/" title="Air Con Calculator">Air Con Calculator</a> </li> <li> <a href="/payment-and-delivery/" title="Payment & Delivery">Payment &amp; Delivery</a> </li> <li> <a href="/terms-and-conditions/" title="Terms & Conditions">Terms &amp; Conditions</a> </li> <li> <a href="/privacy-policy/" title="Privacy Policy">Privacy Policy</a> </li> <li> <a href="/careers/" title="Careers">Careers</a> </li> </ul> </div> <div class="two mobile-two columns footercols"> <h5>Services</h5> <ul class="links"> <li> <a href="/trade-accounts/" title="Trade Account">Trade Account</a> </li> <li> <a href="/training-services/" title="Training Services">Training Services</a> </li> </ul> <ul> <li> <a href="https://twitter.com/toolhireshops" target="_blank" title="National Tool Hire Shops on Twitter" style="padding-right:5%;"><i class="fa fa-twitter-square fa-4x"></i></a> <a href="#" id="Contact" onclick="if (LC_API.mobile_is_detected()) { LC_API.open_mobile_window({skill:37}); } else if (LC_API.embedded_chat_supported() &amp;&amp; LC_API.embedded_chat_enabled()) { LC_API.show_full_view({skill:37}); } else { LC_Invite.windowRef = window.open('https://secure.livechatinc.com/licence/1215771/open_chat.cgi?groups=37); };return false"><i class="fa fa-envelope-square fa-4x"></i></a> </li> </ul> </div> </div> </footer> <footer class="footer2"> <div class="row"> <div class="eight hide-for-small columns"> <? $num = Rand (1,2); switch ($num) { case 1: echo '<a href="https://www.nationaltoolhireshops.co.uk/category/heater-hire/" title="Heater Hire" alt="Heater Hire"><img style="border: 1px solid #eb121a" src="/themes/nthsv3/resources/images/d_headers/heat_for_hire.jpg"></a>'; break; case 2: echo '<a href="https://www.nationaltoolhireshops.co.uk/national-skip-hire/" title="Skip Hire" alt="Skip Hire"><img style="border: 1px solid #eb121a" src="/themes/nthsv3/resources/images/d_headers/skip_hire.jpg"></a>'; } ?> <!--<ul class="block-grid five-up"> <li><img src="/themes/nthsv3/resources/images/iso1.jpg" width="106px;" height="102px;"></li> <li><img src="/themes/nthsv3/resources/images/iso2.jpg" width="107px;" height="102px;"></li> <li><img src="/themes/nthsv3/resources/images/uvdb.jpg" width="106px;" height="102px;"></li> <li><img src="/themes/nthsv3/resources/images/uvdb2.jpg" width="107px;" height="102px;"></li> <li><img src="/themes/nthsv3/resources/images/linkup.jpg" width="106px;" height="102px;"></li> </ul>--> </div> <div class="four mobile-twelve columns"> <div class="row"> <div class="twelve columns"> <!-- Begin MailChimp Signup Form --> <div id="mc_embed_signup"> <form action="//nationaltoolhireshops.us5.list-manage.com/subscribe?u=cbd7bb5899e6fc39c0a6e32a5&id=fb87e94760" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> <div id="mc_embed_signup_scroll"> <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="enter email address" required> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> <div style="position: absolute; left: -5000px;"><input type="text" name="b_d9c1602bda52f86ab3365d21b_1da2962d97" tabindex="-1" value=""></div> <div class="clear"><input type="submit" value="Subscribe to Newsletter" name="subscribe" id="mc-embedded-subscribe" class="button"></div> <p>Offers, Discounts, Competitions. No Spam.</p> </div> </form> </div> <!--End mc_embed_signup--> </div> </div> </div> </div> </footer> <footer class="credit"> <div class="row"> <div class="ten columns"> <p>National Tool Hire Shops is a national tool &amp; equipment hire company with stores across the UK</p> </div> <div class="two columns"> <p class="right hide-for-small">National Tool Hire Ltd</p> </div> </div> </footer> <!--<script type="application/ld+json"> { "@context" : "http://schema.org", "@type" : "Organization", "url" : "https://www.nationaltoolhireshops.co.uk", "contactPoint" : [{ "@type" : "ContactPoint", "telephone" : "+44-8008089600", "contactType" : "customer service" }] } </script>--> <script type="text/javascript"> function downloadJSAtOnload() { var element = document.createElement("script"); element.src = "/themes/nthsv3/resources/javascripts/defer.js"; document.body.appendChild(element); } if (window.addEventListener) window.addEventListener("load", downloadJSAtOnload, false); else if (window.attachEvent) window.attachEvent("onload", downloadJSAtOnload); else window.onload = downloadJSAtOnload; </script> </body> </html>', 'CMS template', 'Stores (with defer)') /modules/cms/classes/cms_controller.php 211
9 Cms_Controller->open(object(Cms_Page), array(0)) /controllers/application.php 72
8 Application->On404(())
7 call_user_func_array(array(2) [0 => object(Application), 1 => 'On404'], array(0)) /phproad/modules/phpr/classes/phpr_controller.php 170
6 Phpr_Controller->executeAction('On404', array(0)) /phproad/modules/phpr/classes/phpr_controller.php 84
5 Phpr_Controller->_run('On404', array(0)) /phproad/modules/phpr/classes/phpr_response.php 64
4 Phpr_Response->open404(()) /phproad/modules/phpr/classes/phpr_response.php 37
3 Phpr_Response->open('/tool-hire-london-east') /phproad/system/phproad.php 31
2 include('/var/www/vhosts/nationaltoolhireshops.co.uk/httpdocs/phproad/system/phproad.php') /boot.php 114
1 require_once('/var/www/vhosts/nationaltoolhireshops.co.uk/httpdocs/boot.php') /index.php 3