oc-shopaholic / oc-shopaholic-plugin

🛍️ No. 1 e-commerce platform for October CMS
https://shopaholic.one
GNU General Public License v3.0
426 stars 51 forks source link

Sneaker Plugin issuses #268

Open potioncodes opened 4 years ago

potioncodes commented 4 years ago

I've recently bought the sneaker theme and all the additional plugins and installed all of the plugins I needed to download.

Bildschirmfoto 2020-04-03 um 16 12 52

There are still some bugs at my project. Mostly SQL commad bugs. Is there any way to fix them? - or am I something missing out?

Bildschirmfoto 2020-04-03 um 16 14 32 Bildschirmfoto 2020-04-03 um 18 24 12

A video of my error results: https://www.dropbox.com/s/bueljg8bhsv51sn/Bildschirmvideo%20aufnehmen%202020-04-03%20um%2018.25.00.mov?dl=0

kharanenka commented 4 years ago

Hi!

  1. You must install Lovata.GoodNews plugin.
  2. What version of Orders for Shopaholic do you have? What database do you use? Please, check if plugin version 1.25.0 migrations have been applied? Migrations table_update_promo_mechanism_add_increase_field.php and table_update_order_promo_mechanism_add_increase_field.php should have applied
potioncodes commented 4 years ago

Thank you! I figured out the error of 1. I use the 1.25.0 version of Shopaholic. I use an MySQL Database and I noticed that there is missing the "auto_add" field. Maybe it didn't got migrated.

Bildschirmfoto 2020-04-04 um 10 55 10

Is there any way to manually migrate them? I tried a force update in October but it didn't work out.

kharanenka commented 4 years ago

You can delete manually migration info from database and apply php artisan october:up again. Please remove migrations from system_plugin_history with version 1.25.0 and decrease version from 1.25.0 to 1.24.1 in system_plugin_versions table.

Please debug, why migration did not create columns in your database. There may be a problem in after() method in migration file.

potioncodes commented 4 years ago

I found 2 script tuples in my DB for shopaholic according 1.25.0.

Bildschirmfoto 2020-04-04 um 12 03 08

Should i delete them both? And after that use SSH Terminal to use the php artisan october:up command? Cause if i do so i get this message in SSH terminal: Could not open input file: artisan

kharanenka commented 4 years ago

You must delete rows filtered by 1.25.0 version and Order for Shoapholic plugin.