Jump to content

Errror when sending CONTACT US form (PS1.6.0.13)


Recommended Posts

This shop was upgraded from .11 version.

While testing I realized the contact us form doesn't work.  Please advice.

[PrestaShopDatabaseException]
Unknown column 'date_upd' in 'field list'
INSERT INTO `ps_customer_message` (`id_employee`, `id_customer_thread`, `ip_address`, `message`, `file_name`, `user_agent`, `private`, `date_add`, `date_upd`, `read`) VALUES ('0', '16', '1290281811', 'GENERAL MESSAGE TEST', '', 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0', '0', '2015-03-12 06:23:24', '2015-03-12 06:23:24', '0')

at line 646 in file classes/db/Db.php
641. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
642. 		}
643. 		elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
644. 		{
645. 			if ($sql)
646. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
647. 			throw new PrestaShopDatabaseException($this->getMsgError());
648. 		}
649. 	}
650. 
651. 	/**
•	DbCore->displayError - [line 340 - classes/db/Db.php] - [1 Arguments]
•	DbCore->query - [line 620 - classes/db/Db.php] - [1 Arguments]
•	DbCore->q - [line 405 - classes/db/Db.php] - [2 Arguments]
•	DbCore->insert - [line 486 - classes/ObjectModel.php] - [3 Arguments]
•	ObjectModelCore->add - [line 153 - controllers/front/ContactController.php]
•	ContactControllerCore->postProcess - [line 171 - classes/controller/Controller.php]
•	ControllerCore->run - [line 373 - classes/Dispatcher.php]
•	DispatcherCore->dispatch - [line 28 - index.php]

Edited by dformica (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...