Jump to content
  • 0

Unknown column '\nid_country' in 'field list'


ufiartist

Question

Witam wszystkich.

 

Borykam się z następującym błędem:

*ERROR* 	2014/07/08 - 00:14:54: Unknown column '\nid_country' in 'field list'<br /><br /><pre>
			SELECT *, ( IF ('2014-07-08 00:14:54' >= `from` AND '2014-07-08 00:14:54' <= `to`, 1, 0) +  IF (`id_group` = 3, 2, 0) +  IF (`\nid_country` = 0, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 1681, 32, 0)) AS `score`
				FROM `ps_specific_price`
				WHERE `id_product` IN (0, 629)
				AND `id_product_attribute` IN (0, 0)
				AND `id_shop` IN (0, 1)
				AND `id_currency` IN (0, 1)
				AND `id_country` IN (0, 14)
				AND `id_group` IN (0, 3)
				AND `id_customer` IN (0, 1681)
				AND
				(
					(`from` = '0000-00-00 00:00:00' OR '2014-07-08 00:14:54' >= `from`)
					AND
					(`to` = '0000-00-00 00:00:00' OR '2014-07-08 00:14:54' <= `to`)
				)
				AND id_cart IN (0, 0) 
				AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC LIMIT 1</pre> at line 635 in file classes/db/Db.php

Nie wiem dlaczego wstawia mi /n przed nazwą id_country.

Całość dzieje się (a przynajmniej tak mi się wydaje) w SpecificPrice.php. Nie wiem gdzie zacząć szukać :wacko:

 

Załączam screeny.

post-798182-0-94640100-1404856778_thumb.png

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...