PV
Asked
Hello support,
I don't know what's wrong, now I updated to a version 3.4.41 I have a problem when I want to enable product Variants because on previous version this option is already enabled, but the products when I check it doesn't show variants so I check in setting it was disabled, so I try to change to Enable but it doesn't change.
also for product expiry when I change to enable also doesn't work. I haven't try to change other setting yet but I need those two options to be enabled so I can work on my inventory.
thank you for your support.
I don't know what's wrong, now I updated to a version 3.4.41 I have a problem when I want to enable product Variants because on previous version this option is already enabled, but the products when I check it doesn't show variants so I check in setting it was disabled, so I try to change to Enable but it doesn't change.
also for product expiry when I change to enable also doesn't work. I haven't try to change other setting yet but I need those two options to be enabled so I can work on my inventory.
thank you for your support.
- MSAnsweredHello,
What happens when you submit? Do it show any error message? Can you check server error logs and let me know the error details so that I can suggest.
Thank you - PVAnsweredwhen I submit it goes normally but the setting won't change.
I will check the log in my server and I will share to you later. - EGAnswered**[Prom Vongchann](/u/prom.vongchann)** Kindly check if you have error logging enabled.
To check this open `config.php` in `app/config/config.php` and ensure that `log_threshold` is set to **1**. That's `$config['log_threshold'] = 1;` - PVAnsweredafter I change that, then I will run the operation again and I will let you know.
- MSAnsweredHello,
How are you updating? Did you imported the sql files as mentioned in the step 8 of update guide? You haven't imported the `files/db_updates/ALL.3.4.38.sql`
---
**_Please import the files `files/db_updates/version` one by one starting from the next version you are updating from using phpmyadmin after selecting your database. Please import `files/db_updates/POS*` files too, if you have purchased SMA with POS._**
---
If you missing to import any file that will cause issues like this. You can run the second query from the file mentioned above. You can't import it as you have already added the `base_unit_cost` and full file import will give error.
Thank you - PVAnsweredI think I have updated all of those files in my phpmyadmin already, I will upload again.
can I clearify about > one by one starting from the next version you are "
does this mean below my version or above or what? because I upload all the file from 3.1 till my version 3.4.41, I just upload all the files in > files/db_updates/version
I will just look for those files and I will upload again. - PVAnsweredI purchase the Stock advance all module, it also has POS feature but in the file db updates I did not see POS* thing.
I only see the files like in my screenshot. - PVAnsweredafter I upload all the file db updates. I tried to change setting again, but it still not work, when I check logs I see this:
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
ERROR - 2020-12-17 00:12:26 --> Could not find the language line "subcategory"
ERROR - 2020-12-17 00:42:31 --> Could not find the language line "subcategory"
ERROR - 2020-12-17 01:12:27 --> Could not find the language line "subcategory"
ERROR - 2020-12-17 01:22:25 --> Could not find the language line "subcategory"
ERROR - 2020-12-17 01:42:25 --> Could not find the language line "subcategory"
ERROR - 2020-12-17 03:17:15 --> Could not find the language line "subcategory"
ERROR - 2020-12-17 05:54:04 --> Could not find the language line "subcategory"
ERROR - 2020-12-17 09:41:01 --> Could not find the language line "subcategory"
seems like missing file? - MSAnsweredHello,
The SMA with All Modules, will have the sql files starting with `All*` Please check the file I mentioned in previous reply.
**No upload, you need to import them to your database** :(
The language lines won't cause any issue. These are just to tell the language file don't have translation for the key.
Thank you - PVAnsweredI test more and I see more errors.
but I cannot attach my full text file so I put in wetransfer : https://we.tl/t-9NMFPSJNXz - Login to Reply