Jump to content
rockstar1313

Интеграция 1C с Интернет-магазином на OpenCart

Recommended Posts

Добрый день не могу связать магазин с 1 С, выбивает вот такую ошибку!

 

Notice: Error: Table 'u66000yx_cart.oc_product_feature_value' doesn't exist
Error No: 1146
SELECT `pfv`.`product_feature_id`, `pov`.`product_option_id`, `pfv`.`product_option_value_id` FROM `oc_product_feature_value` `pfv` LEFT JOIN `oc_product_option_value` `pov` ON (`pfv`.`product_option_value_id` = `pov`.`product_option_value_id`) LEFT JOIN `oc_option` `o` ON (`pov`.`option_id` = `o`.`option_id`) WHERE `pfv`.`product_id` = 4369 ORDER BY `o`.`sort_order` in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 302Warning: Invalid argument supplied for foreach() in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 303Notice: Error: Table 'u66000yx_cart.oc_product_price' doesn't exist
Error No: 1146
SELECT `product_feature_id`, `price`, `unit_id` FROM `oc_product_price` WHERE `product_id` = 4369 AND `customer_group_id` = 1 in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 328Warning: Invalid argument supplied for foreach() in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 328Notice: Error: Table 'u66000yx_cart.oc_warehouse' doesn't exist
Error No: 1146
SELECT * FROM `oc_warehouse` in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 390Warning: Invalid argument supplied for foreach() in /home/u/u66000yx/test.u66000yx.beget.tech/public_html/system/storage/modification/catalog/controller/product/product.php on line 390

Share this post


Link to post
Share on other sites

нет таблицы product_feature_value, что-то не так устанавливаете

Share this post


Link to post
Share on other sites

Странное название у таблицы "u66000yx_cart.oc_product_feature_value"

Share this post


Link to post
Share on other sites
CREATE TABLE `oc_product_feature_value` (
				`product_feature_id` 		INT(11) 		NOT NULL,
				`product_option_id` 		INT(11) 		NOT NULL,
				`product_id` 				INT(11) 		NOT NULL,
				`product_option_value_id` 	INT(11) 		NOT NULL,
				`price`						DECIMAL(15,4)	NOT NULL DEFAULT 0,
				`quantity`					INT(4)	NOT NULL DEFAULT 0,
				`status`					INT(1)			NOT NULL DEFAULT 0,
				UNIQUE KEY `product_feature_value_key` (`product_feature_id`, `product_id`, `product_option_value_id`),
				FOREIGN KEY (`product_feature_id`) 		REFERENCES `oc_product_feature`(`product_feature_id`),
				FOREIGN KEY (`product_option_id`) 		REFERENCES `oc_product_option`(`product_option_id`),
				FOREIGN KEY (`product_id`) 				REFERENCES `oc_product`(`product_id`),
				FOREIGN KEY (`product_option_value_id`)	REFERENCES `oc_product_option_value`(`product_option_value_id`)
			) ENGINE=MyISAM DEFAULT CHARSET=utf8

 

 

Модуль от Кириллове?

Share this post


Link to post
Share on other sites
1 час назад, niger сказал:

Странное название у таблицы "u66000yx_cart.oc_product_feature_value"

Магазин еще не выложен, он на бесплатном хостинге!

Share this post


Link to post
Share on other sites
1 час назад, n3bo сказал:

CREATE TABLE `oc_product_feature_value` (
				`product_feature_id` 		INT(11) 		NOT NULL,
				`product_option_id` 		INT(11) 		NOT NULL,
				`product_id` 				INT(11) 		NOT NULL,
				`product_option_value_id` 	INT(11) 		NOT NULL,
				`price`						DECIMAL(15,4)	NOT NULL DEFAULT 0,
				`quantity`					INT(4)	NOT NULL DEFAULT 0,
				`status`					INT(1)			NOT NULL DEFAULT 0,
				UNIQUE KEY `product_feature_value_key` (`product_feature_id`, `product_id`, `product_option_value_id`),
				FOREIGN KEY (`product_feature_id`) 		REFERENCES `oc_product_feature`(`product_feature_id`),
				FOREIGN KEY (`product_option_id`) 		REFERENCES `oc_product_option`(`product_option_id`),
				FOREIGN KEY (`product_id`) 				REFERENCES `oc_product`(`product_id`),
				FOREIGN KEY (`product_option_value_id`)	REFERENCES `oc_product_option_value`(`product_option_value_id`)
			) ENGINE=MyISAM DEFAULT CHARSET=utf8

 

 

Модуль от Кириллове?

Да

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.