Smile-SA / magento2-module-product-label

Module to handle custom labels with images on products
Open Software License 3.0
53 stars 34 forks source link

Problem istallation Magento 2.3.6 #34

Closed Danieleeffe1 closed 1 year ago

Danieleeffe1 commented 3 years ago

God morning and sorry for my english .

I have a problem for installing this module. In My Hosting

I from Magento1 I'm new user of magento2 In magento 1 i not use composer

I have installing varius module in magento 2 in manual mode but this module not have instruction for this way.

I have crate folder in magento root /app/code/Smile/ProductLabel

I have unzip file magento2-module-product-label-master.zip and i copied the unzipped files in the ProductLabel

I have add and enable module in Magento root /app/etc/config.php

I the virtual termina of my hosting i have run the command : php ./bin/magento setup:upgrade

The reminal return this error:

Unable to apply data patch Smile\ProductLabel\Setup\Patch\Data\UpdateExistingLabelsStoreView for module Smile_ProductLabel. Original exception message: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxxx_xxx771.smile_productlabel' doesn't exist, query was: SELECT smile_productlabel.product_label_id, 0 as store_id FROM smile_productlabel

Please help my

Danieleeffe1 commented 3 years ago

Update my report

If i try manual installation the server print this message:

Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Smile\ProductLabel\Setup\Patch\Data\UpdateExistingLabelsStoreView' not found in /home/myuser/m2.mydomain.com/vendor/magento/framework/Setup/Patch/PatchRegistry.php on line 141

cemag44300 commented 1 year ago

Hello @Danieleeffe1 , I have just published a new version of the module, you can see if that fixes your problem. https://github.com/Smile-SA/magento2-module-product-label/releases/tag/1.2.0