Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magento2.prince_faqgroup' doesn't exist #37

Closed
Pastrone opened this issue Jul 13, 2020 · 1 comment
Closed

magento2.prince_faqgroup' doesn't exist #37

Pastrone opened this issue Jul 13, 2020 · 1 comment

Comments

@Pastrone
Copy link

Pastrone commented Jul 13, 2020

Table 'magento2.prince_faqgroup' doesn't exist, query was: SELECT COUNT(*) FROM prince_faqgroup AS main_table

I installed it manually today (magento 2.3.5-p1) and I have this error on ManageFAQ and ManageFAQGroup.

On ManageFAQ it gets:

There has been an error processing your request
Exception printing is disabled by default for security reasons.

Error log record number: f41e8f6d4cab93c9c328f9e0ae351ef82b9e170f5cfe57dd8e4d4845282baeaa

What am I missing ?

Any ideas?

@Pastrone Pastrone changed the title țmagento2.prince_faqgroup' doesn't exist magento2.prince_faqgroup' doesn't exist Jul 13, 2020
@Pastrone
Copy link
Author

I answer to myself as maybe somebody will be in the same position as I was.

On first install, because of writing module name into setup_module table, after this first attempt to install (failed), later attempts will not execute the script to create DB tables prince_faq & prince_faqgroup.

To recreate a correct install proceed as follow:

  1. Remove the module entry from setup_module table (delete from setup_module where module ='Mageprince_Faq';) or by using phpmyadmin

  2. Execute following commands:
    php bin/magento setup:db-schema:upgrade
    php bin/magento setup:di:compile
    php bin/magento cache:clean

  3. In app/core create folder Mageprince and in Mageprince the folder Faq and copy the content of archive.zip in Mageprince/Faq

  4. Execute following commands:
    php bin/magento module:enable Mageprince_Faq
    php bin/magento setup:upgrade

  5. If there is something to deploy: php bin/magento setup:static-content:deploy ( you can add also -f option at the end)

  6. Change the owner recursively of you root Magento2 folder to mathe the user and group of your www server.

  7. Be happy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant