Unhandled Error!

MySQL error executing query: Can't create/write to file '/tmp/#sql_2651_0.MYD' (Errcode: 17)

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
18 Db_MySQLDriver->execute('DESCRIBE core_configuration_records') /phproad/modules/db/classes/db_mysqldriver.php 211
17 Db_MySQLDriver->fetchAll('DESCRIBE core_configuration_records') /phproad/modules/db/classes/db_mysqldriver.php 187
16 Db_MySQLDriver->describe_table('core_configuration_records') /phproad/modules/db/classes/db_sqlbase.php 434
15 Db_SqlBase->describe_table('core_configuration_records') /phproad/modules/db/classes/db_activerecord.php 1123
14 Db_ActiveRecord->fields(()) /phproad/modules/db/classes/db_activerecord.php 290
13 Db_ActiveRecord->initialize(()) /phproad/modules/db/classes/db_activerecord.php 243
12 Db_ActiveRecord->__construct(()) /modules/core/classes/core_configuration_model.php 25
11 Core_Configuration_Model->__construct(()) /modules/cms/models/cms_maintenanceparams.php 9
10 Cms_MaintenanceParams::create(()) /controllers/application.php 10
9 Application->resolve_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 161
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 79
4 Phpr_Response->open404(()) /phproad/modules/phpr/classes/phpr_response.php 52
3 Phpr_Response->open('/store/category/heston-kitchen-knives') /phproad/system/phproad.php 31
2 include('/var/www/vhosts/tojiro.co.uk/httpdocs/phproad/system/phproad.php') /boot.php 109
1 require_once('/var/www/vhosts/tojiro.co.uk/httpdocs/boot.php') /index.php 3
Warning: file_exists(): open_basedir restriction in effect. File(Unknown) is not within the allowed path(s): (/var/www/vhosts/tojiro.co.uk/httpdocs/:/tmp/) in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_errorlog.php on line 82 Warning: mcrypt_enc_get_key_size(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 42 Warning: mcrypt_enc_get_iv_size(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 53 Warning: mcrypt_create_iv(): Cannot create an IV with a size of less than 1 or greater than 2147483647 in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 53 Warning: mcrypt_generic_init(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 55 Warning: mcrypt_generic(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 56 Warning: mcrypt_generic_deinit(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 57 Warning: spl_autoload(): open_basedir restriction in effect. File(phpr_trace_log_record.inc) is not within the allowed path(s): (/var/www/vhosts/tojiro.co.uk/httpdocs/:/tmp/) in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_errorlog.php on line 210 Warning: spl_autoload(): open_basedir restriction in effect. File(phpr_trace_log_record.php) is not within the allowed path(s): (/var/www/vhosts/tojiro.co.uk/httpdocs/:/tmp/) in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_errorlog.php on line 210 Warning: file_exists(): open_basedir restriction in effect. File(Unknown) is not within the allowed path(s): (/var/www/vhosts/tojiro.co.uk/httpdocs/:/tmp/) in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_errorlog.php on line 82 Warning: mcrypt_enc_get_key_size(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 42 Warning: mcrypt_enc_get_iv_size(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 53 Warning: mcrypt_create_iv(): Cannot create an IV with a size of less than 1 or greater than 2147483647 in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 53 Warning: mcrypt_generic_init(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 55 Warning: mcrypt_generic(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 56 Warning: mcrypt_generic_deinit(): 100 is not a valid MCrypt resource in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_securityframework.php on line 57 Warning: spl_autoload(): open_basedir restriction in effect. File(phpr_trace_log_record.inc) is not within the allowed path(s): (/var/www/vhosts/tojiro.co.uk/httpdocs/:/tmp/) in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_errorlog.php on line 210 Warning: spl_autoload(): open_basedir restriction in effect. File(phpr_trace_log_record.php) is not within the allowed path(s): (/var/www/vhosts/tojiro.co.uk/httpdocs/:/tmp/) in /var/www/vhosts/tojiro.co.uk/httpdocs/phproad/modules/phpr/classes/phpr_errorlog.php on line 210