cancel
Showing results for 
Search instead for 
Did you mean: 

Error after installation

Error after installation

I did the install multiple times but when i try to access or store front i get all this :

Spoiler
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vibestore.store_website' doesn't exist in C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php:228 Stack trace: #0 C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php(228): PDOStatement->execute(Array) #1 C:\xampp\htdocs\vibestore\vendor\magento\framework\DB\Statement\Pdo\Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #2 C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #3 C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute(Array) #4 C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #5 C:\xampp\htdocs\vibestore\vendor\magento\framework\DB\Adapter\Pdo\Mysql.php(541): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #6 C:\xampp\htdocs\vibestore\vendor\magento\framework\DB\Adapter\Pdo\Mysql.php(615): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #7 C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Adapter\Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 C:\xampp\htdocs\vibestore\vendor\magento\module-store\App\Config\Source\RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #9 C:\xampp\htdocs\vibestore\vendor\magento\module-store\App\Config\Source\RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config\ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 C:\xampp\htdocs\vibestore\generated\code\Magento\Framework\App\Config\ConfigSourceAggregated\Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 C:\xampp\htdocs\vibestore\vendor\magento\module-store\App\Config\Type\Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/7') #14 C:\xampp\htdocs\vibestore\vendor\magento\module-store\Model\StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/7', Array) #15 C:\xampp\htdocs\vibestore\vendor\magento\module-store\Model\StoreManager.php(167): Magento\Store\Model\StoreRepository->getById('7') #16 C:\xampp\htdocs\vibestore\generated\code\Magento\Store\Model\StoreManagerInterface\Proxy.php(119): Magento\Store\Model\StoreManager->getStore('7') #17 C:\xampp\htdocs\vibestore\vendor\magento\module-store\Model\Resolver\Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore('7') #18 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config\ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope('7') #19 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Source\RuntimeConfigSource.php(86): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', '7') #20 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Source\RuntimeConfigSource.php(62): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #21 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config\ConfigSourceAggregated.php(40): Magento\Config\App\Config\Source\RuntimeConfigSource->get('') #22 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System\Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get() #23 C:\xampp\htdocs\vibestore\generated\code\Magento\Config\App\Config\Type\System\Reader\Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #24 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System.php(326): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #25 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System.php(218): Magento\Config\App\Config\Type\System->readData() #26 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System.php(168): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #27 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System.php(142): Magento\Config\App\Config\Type\System->getWithParts('default/newreli...') #28 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config.php(131): Magento\Config\App\Config\Type\System->get('default/newreli...') #29 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config.php(80): Magento\Framework\App\Config->get('system', 'default/newreli...') #30 C:\xampp\htdocs\vibestore\vendor\magento\module-new-relic-reporting\Model\Config.php(94): Magento\Framework\App\Config->getValue('newrelicreporti...') #31 C:\xampp\htdocs\vibestore\vendor\magento\module-new-relic-reporting\Plugin\HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #32 C:\xampp\htdocs\vibestore\vendor\magento\framework\Interception\Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(Exception)) #33 C:\xampp\htdocs\vibestore\vendor\magento\framework\Interception\Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #34 C:\xampp\htdocs\vibestore\generated\code\Magento\Framework\App\Http\Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #35 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #36 C:\xampp\htdocs\vibestore\index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #37 {main} Next Zend_Db_Statement_Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vibestore.store_website' doesn't exist, query was: SELECT `store_website`.* FROM `store_website` in C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php:235 Stack trace: #0 C:\xampp\htdocs\vibestore\vendor\magento\framework\DB\Statement\Pdo\Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #1 C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #2 C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute(Array) #3 C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #4 C:\xampp\htdocs\vibestore\vendor\magento\framework\DB\Adapter\Pdo\Mysql.php(541): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #5 C:\xampp\htdocs\vibestore\vendor\magento\framework\DB\Adapter\Pdo\Mysql.php(615): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #6 C:\xampp\htdocs\vibestore\vendor\magento\zendframework1\library\Zend\Db\Adapter\Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #7 C:\xampp\htdocs\vibestore\vendor\magento\module-store\App\Config\Source\RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #8 C:\xampp\htdocs\vibestore\vendor\magento\module-store\App\Config\Source\RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #9 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config\ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #10 C:\xampp\htdocs\vibestore\generated\code\Magento\Framework\App\Config\ConfigSourceAggregated\Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #11 C:\xampp\htdocs\vibestore\vendor\magento\module-store\App\Config\Type\Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #12 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/7') #13 C:\xampp\htdocs\vibestore\vendor\magento\module-store\Model\StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/7', Array) #14 C:\xampp\htdocs\vibestore\vendor\magento\module-store\Model\StoreManager.php(167): Magento\Store\Model\StoreRepository->getById('7') #15 C:\xampp\htdocs\vibestore\generated\code\Magento\Store\Model\StoreManagerInterface\Proxy.php(119): Magento\Store\Model\StoreManager->getStore('7') #16 C:\xampp\htdocs\vibestore\vendor\magento\module-store\Model\Resolver\Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore('7') #17 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config\ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope('7') #18 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Source\RuntimeConfigSource.php(86): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', '7') #19 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Source\RuntimeConfigSource.php(62): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #20 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config\ConfigSourceAggregated.php(40): Magento\Config\App\Config\Source\RuntimeConfigSource->get('') #21 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System\Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get() #22 C:\xampp\htdocs\vibestore\generated\code\Magento\Config\App\Config\Type\System\Reader\Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #23 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System.php(326): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #24 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System.php(218): Magento\Config\App\Config\Type\System->readData() #25 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System.php(168): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #26 C:\xampp\htdocs\vibestore\vendor\magento\module-config\App\Config\Type\System.php(142): Magento\Config\App\Config\Type\System->getWithParts('default/newreli...') #27 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config.php(131): Magento\Config\App\Config\Type\System->get('default/newreli...') #28 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Config.php(80): Magento\Framework\App\Config->get('system', 'default/newreli...') #29 C:\xampp\htdocs\vibestore\vendor\magento\module-new-relic-reporting\Model\Config.php(94): Magento\Framework\App\Config->getValue('newrelicreporti...') #30 C:\xampp\htdocs\vibestore\vendor\magento\module-new-relic-reporting\Plugin\HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #31 C:\xampp\htdocs\vibestore\vendor\magento\framework\Interception\Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(Exception)) #32 C:\xampp\htdocs\vibestore\vendor\magento\framework\Interception\Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #33 C:\xampp\htdocs\vibestore\generated\code\Magento\Framework\App\Http\Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #34 C:\xampp\htdocs\vibestore\vendor\magento\framework\App\Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #35 C:\xampp\htdocs\vibestore\index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #36 {main}

 

Any help?

...
3 REPLIES 3

Re: Error after installation

Ur database have the table?
run sql to check:

SHOW TABLES LIKE '%store_website%';


Check logs in va/log and va/report, verify if have additional info.

Can be some relation with ur database, do u have a raw Magento database?

 

Re: Error after installation

Hello @nikolaevaladc5,

 

The error you're encountering (SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vibestore.store_website' doesn't exist) indicates that the Magento installation is missing the store_website table, which is crucial for the store to function.

 

Verify if the table store_website and other core tables exist in your database.

If missing, check if the database import or installation process was interrupted. You can try re-running the bin/magento setup:upgrade command to reapply the database schema.

 

If the store_website table and other critical tables are missing, a fresh database installation may be necessary.

Drop the current Magento database.

 

Recreate a new, empty database.

 

Reinstall Magento using bin/magento setup:install with appropriate parameters.

 

Make sure that the installation completes successfully without errors.

 

Review the var/log/system.log and var/log/exception.log files for any related errors during the installation process.

 

Check if there were any issues during the database creation.

 

If the issue will be resolved, Click Kudos & Accept as a Solution.

Re: Error after installation

Thanks Bruh! You solved my problem and Save my time.