miniShop2
miniShop2 copied to clipboard
Подготовить и протестировать minishop в MODX3
Консоль запущена...
Пробуем установить пакет с подписью: minishop2-2.9.3-pl
Пакет найден... сейчас идёт подготовка к его установке.
Загрузка рабочего пространства пакета...
Рабочее пространство загружено, сейчас устанавливаем пакет...
Created table `modx2_ms2_products` SQL: CREATE TABLE `modx2_ms2_products` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `article` VARCHAR(50) NULL, `price` DECIMAL(12,2) NULL DEFAULT '0', `old_price` DECIMAL(12,2) NULL DEFAULT '0', `weight` DECIMAL(13,3) NULL DEFAULT '0', `image` VARCHAR(255) NULL, `thumb` VARCHAR(255) NULL, `vendor` INT(10) unsigned NULL DEFAULT '0', `made_in` VARCHAR(100) NULL DEFAULT '', `new` TINYINT(1) unsigned NULL DEFAULT '0', `popular` TINYINT(1) unsigned NULL DEFAULT '0', `favorite` TINYINT(1) unsigned NULL DEFAULT '0', `tags` TEXT NULL, `color` TEXT NULL, `size` TEXT NULL, `source` INT(10) unsigned NULL DEFAULT '1', PRIMARY KEY (`id`), INDEX `article` (`article`), INDEX `price` (`price`), INDEX `old_price` (`old_price`), INDEX `vendor` (`vendor`), INDEX `new` (`new`), INDEX `favorite` (`favorite`), INDEX `popular` (`popular`), INDEX `made_in` (`made_in`)) ENGINE=InnoDB
Created table `modx2_ms2_vendors` SQL: CREATE TABLE `modx2_ms2_vendors` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `name` VARCHAR(100) NOT NULL, `resource` INT(10) unsigned NULL DEFAULT '0', `country` VARCHAR(100) NULL, `logo` VARCHAR(255) NULL, `address` TEXT NULL, `phone` VARCHAR(20) NULL, `fax` VARCHAR(20) NULL, `email` VARCHAR(255) NULL, `description` TEXT NULL, `properties` TEXT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB
Created table `modx2_ms2_product_categories` SQL: CREATE TABLE `modx2_ms2_product_categories` (`product_id` INT(10) unsigned NOT NULL, `category_id` INT(10) unsigned NOT NULL, PRIMARY KEY (`product_id`,`category_id`)) ENGINE=InnoDB
Created table `modx2_ms2_product_options` SQL: CREATE TABLE `modx2_ms2_product_options` (`product_id` INT(10) unsigned NOT NULL, `key` VARCHAR(191) NOT NULL, `value` TEXT NULL, INDEX `product` (`product_id`,`key`)) ENGINE=InnoDB
Created table `modx2_ms2_product_files` SQL: CREATE TABLE `modx2_ms2_product_files` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `product_id` INT(10) unsigned NOT NULL, `source` INT(10) unsigned NULL DEFAULT '1', `parent` INT(10) unsigned NULL DEFAULT '0', `name` VARCHAR(255) NULL DEFAULT '', `description` TEXT NULL, `path` VARCHAR(255) NULL DEFAULT '', `file` VARCHAR(255) NOT NULL, `type` VARCHAR(50) NULL, `createdon` DATETIME NULL, `createdby` INT(10) unsigned NULL DEFAULT '0', `rank` TINYINT(1) unsigned NULL DEFAULT '0', `url` VARCHAR(255) NULL DEFAULT '', `properties` TEXT NULL, `hash` CHAR(40) NULL DEFAULT '', `active` TINYINT(1) NULL DEFAULT '1', PRIMARY KEY (`id`), INDEX `product_id` (`product_id`), INDEX `type` (`type`), INDEX `parent` (`parent`), INDEX `hash` (`hash`), INDEX `active` (`active`)) ENGINE=InnoDB
Created table `modx2_ms2_orders` SQL: CREATE TABLE `modx2_ms2_orders` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `user_id` INT(10) unsigned NOT NULL, `createdon` DATETIME NULL, `updatedon` DATETIME NULL, `num` VARCHAR(20) NULL DEFAULT '', `cost` DECIMAL(12,2) NULL DEFAULT '0', `cart_cost` DECIMAL(12,2) NULL DEFAULT '0', `delivery_cost` DECIMAL(12,2) NULL DEFAULT '0', `weight` DECIMAL(13,3) NULL DEFAULT '0', `status` INT(10) unsigned NULL DEFAULT '0', `delivery` INT(10) unsigned NULL DEFAULT '0', `payment` INT(10) unsigned NULL DEFAULT '0', `address` INT(10) unsigned NULL DEFAULT '0', `context` VARCHAR(100) NULL DEFAULT 'web', `comment` TEXT NULL, `properties` TEXT NULL, `type` TINYINT(3) unsigned NULL DEFAULT '0', PRIMARY KEY (`id`), INDEX `user_id` (`user_id`), INDEX `status` (`status`), INDEX `type` (`type`)) ENGINE=InnoDB
Created table `modx2_ms2_order_statuses` SQL: CREATE TABLE `modx2_ms2_order_statuses` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `name` VARCHAR(100) NOT NULL, `description` TEXT NULL, `color` CHAR(6) NULL DEFAULT '000000', `email_user` TINYINT(1) NULL DEFAULT '0', `email_manager` TINYINT(1) NULL DEFAULT '0', `subject_user` VARCHAR(255) NULL DEFAULT '', `subject_manager` VARCHAR(255) NULL DEFAULT '', `body_user` INT(10) NULL DEFAULT '0', `body_manager` INT(10) NULL DEFAULT '0', `active` TINYINT(1) NULL DEFAULT '1', `final` TINYINT(1) NULL DEFAULT '0', `fixed` TINYINT(1) NULL DEFAULT '0', `rank` TINYINT(1) unsigned NULL DEFAULT '0', `editable` TINYINT(1) NULL DEFAULT '1', PRIMARY KEY (`id`), INDEX `active` (`active`)) ENGINE=InnoDB
Created table `modx2_ms2_order_logs` SQL: CREATE TABLE `modx2_ms2_order_logs` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `user_id` INT(10) unsigned NOT NULL DEFAULT '0', `order_id` INT(10) unsigned NOT NULL DEFAULT '0', `timestamp` DATETIME NULL, `action` VARCHAR(100) NOT NULL DEFAULT '', `entry` VARCHAR(255) NOT NULL DEFAULT '0', `ip` TEXT NOT NULL, PRIMARY KEY (`id`), INDEX `user_id` (`user_id`), INDEX `order_id` (`order_id`)) ENGINE=InnoDB
Could not load class: pdoFetch from pdofetch
Problem getting service pdoFetch, instance of class pdoFetch, from path
Created table `modx2_ms2_payments` SQL: CREATE TABLE `modx2_ms2_payments` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `name` VARCHAR(255) NOT NULL, `description` TEXT NULL, `price` VARCHAR(11) NULL DEFAULT '0', `logo` VARCHAR(255) NULL, `rank` TINYINT(1) unsigned NULL DEFAULT '0', `active` TINYINT(1) unsigned NULL DEFAULT '1', `class` VARCHAR(50) NULL, `properties` TEXT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB
Created table `modx2_ms2_deliveries` SQL: CREATE TABLE `modx2_ms2_deliveries` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `name` VARCHAR(255) NOT NULL, `description` TEXT NULL, `price` VARCHAR(11) NULL DEFAULT '0', `weight_price` DECIMAL(12,2) NULL DEFAULT '0', `distance_price` DECIMAL(12,2) NULL DEFAULT '0', `logo` VARCHAR(255) NULL, `rank` TINYINT(1) unsigned NULL DEFAULT '0', `active` TINYINT(1) NULL DEFAULT '1', `class` VARCHAR(50) NULL, `properties` TEXT NULL, `requires` VARCHAR(255) NULL DEFAULT 'email,receiver', `free_delivery_amount` DECIMAL(12,2) NULL DEFAULT '0', PRIMARY KEY (`id`)) ENGINE=InnoDB
Created table `modx2_ms2_delivery_payments` SQL: CREATE TABLE `modx2_ms2_delivery_payments` (`delivery_id` INT(10) unsigned NOT NULL, `payment_id` INT(10) unsigned NOT NULL, PRIMARY KEY (`delivery_id`,`payment_id`)) ENGINE=InnoDB
Created table `modx2_ms2_order_addresses` SQL: CREATE TABLE `modx2_ms2_order_addresses` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `user_id` INT(10) unsigned NOT NULL, `createdon` DATETIME NULL, `updatedon` DATETIME NULL, `receiver` VARCHAR(255) NULL, `phone` VARCHAR(20) NULL, `country` VARCHAR(100) NULL, `index` VARCHAR(50) NULL, `region` VARCHAR(100) NULL, `city` VARCHAR(100) NULL, `metro` VARCHAR(255) NULL, `street` VARCHAR(255) NULL, `building` VARCHAR(10) NULL, `entrance` VARCHAR(10) NULL, `floor` VARCHAR(10) NULL, `room` VARCHAR(10) NULL, `comment` TEXT NULL, `text_address` TEXT NULL, `properties` TEXT NULL, PRIMARY KEY (`id`), INDEX `user_id` (`user_id`)) ENGINE=InnoDB
Created table `modx2_ms2_order_products` SQL: CREATE TABLE `modx2_ms2_order_products` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `product_id` INT(10) unsigned NOT NULL, `order_id` INT(10) unsigned NOT NULL, `name` VARCHAR(255) NULL, `count` INT(10) unsigned NULL DEFAULT '1', `price` DECIMAL(12,2) NULL DEFAULT '0', `weight` DECIMAL(13,3) NULL DEFAULT '0', `cost` DECIMAL(12,2) NULL DEFAULT '0', `options` TEXT NULL, PRIMARY KEY (`id`), INDEX `product_id` (`product_id`), INDEX `order_id` (`order_id`)) ENGINE=InnoDB
Created table `modx2_ms2_links` SQL: CREATE TABLE `modx2_ms2_links` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `type` VARCHAR(100) NOT NULL, `name` VARCHAR(255) NOT NULL, `description` TEXT NULL, PRIMARY KEY (`id`), INDEX `type` (`type`)) ENGINE=InnoDB
Created table `modx2_ms2_product_links` SQL: CREATE TABLE `modx2_ms2_product_links` (`link` INT(10) unsigned NOT NULL, `master` INT(10) unsigned NOT NULL, `slave` INT(10) unsigned NOT NULL, PRIMARY KEY (`link`,`master`,`slave`)) ENGINE=InnoDB
Created table `modx2_ms2_customer_profiles` SQL: CREATE TABLE `modx2_ms2_customer_profiles` (`id` INT(10) unsigned NOT NULL, `account` DECIMAL(12,2) NULL DEFAULT '0', `spent` DECIMAL(12,2) NULL DEFAULT '0', `createdon` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP, `referrer_id` INT(10) unsigned NULL DEFAULT '0', `referrer_code` VARCHAR(50) NULL DEFAULT '', PRIMARY KEY (`id`), INDEX `referrer_id` (`referrer_id`), UNIQUE KEY `referrer_code` (`referrer_code`), INDEX `spent` (`spent`)) ENGINE=InnoDB
Created table `modx2_ms2_options` SQL: CREATE TABLE `modx2_ms2_options` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `key` VARCHAR(191) NOT NULL DEFAULT '', `caption` VARCHAR(191) NOT NULL DEFAULT '', `description` TEXT NULL, `measure_unit` TINYTEXT NULL, `category` INT(10) unsigned NOT NULL, `type` VARCHAR(191) NOT NULL DEFAULT '', `properties` TEXT NULL, PRIMARY KEY (`id`), INDEX `key` (`type`), FULLTEXT `caption_ft` (`caption`), INDEX `category` (`category`)) ENGINE=InnoDB
Created table `modx2_ms2_category_options` SQL: CREATE TABLE `modx2_ms2_category_options` (`option_id` INT(10) NOT NULL DEFAULT '0', `category_id` INT(10) NOT NULL DEFAULT '0', `rank` INT(10) NOT NULL DEFAULT '0', `active` TINYINT(1) unsigned NOT NULL DEFAULT '0', `required` TINYINT(1) unsigned NOT NULL DEFAULT '0', `value` TEXT NULL, PRIMARY KEY (`option_id`,`category_id`), INDEX `rank` (`rank`), INDEX `active` (`active`), INDEX `required` (`required`), FULLTEXT `value_ft` (`value`)) ENGINE=InnoDB
Removed MODX\Revolution\modSystemSetting instance with primary key ms2_product_thumbnail_size
Trying to install pdoTools. Please wait...
PHP notice: Undefined property: GuzzleHttp\Psr7\Response::$response
PHP warning: Invalid argument supplied for foreach()
PHP notice: Trying to access array offset on value of type bool
PHP notice: Trying to access array offset on value of type bool
Успешно установлен пакет minishop2-2.9.3-pl
[2021-10-24 09:35:35] (ERROR @ /Users/bochkarev/Desktop/modx3/core/components/minishop2/model/minishop2/minishop2.class.php : 636) pdoTools not installed, metadata for miniShop2 objects not loaded
[2021-10-24 09:35:35] (ERROR @ /Users/bochkarev/Desktop/modx3/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 666) Could not load class: pdoFetch from pdofetch
[2021-10-24 09:35:35] (ERROR @ /Users/bochkarev/Desktop/modx3/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 1267) Problem getting service pdoFetch, instance of class pdoFetch, from path
[2021-10-24 09:35:35] (ERROR @ /Users/bochkarev/Desktop/modx3/core/components/minishop2/model/minishop2/minishop2.class.php : 636) pdoTools not installed, metadata for miniShop2 objects not loaded
[2021-10-24 09:37:16] (ERROR @ /Users/bochkarev/Desktop/modx3/core/components/minishop2/processors/mgr/category/getnodes.class.php : 3) PHP warning: require_once(/Users/bochkarev/Desktop/modx3/core/model/modx/processors/resource/getnodes.class.php): failed to open stream: No such file or directory
В типе ресурса нет Категории товаров и Товара