netamismb Posted January 12, 2021 Share Posted January 12, 2021 (edited) I tried to install a new thirtybees project on local machine (windows 10 with WSL2) using current version from master branch, but i get errror Create settings.inc file Create database tables Create default shop and languages Populate database tables Configure shop information Install demonstration data An error occurred during installation... You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here. Uncaught Error: Call to undefined method Attribute::hydrate() in /mnt/d/localdevelopment/thirtybees/install-dev/classes/xmlLoader.php:526 Stack trace: #0 /mnt/d/localdevelopment/thirtybees/install-dev/classes/xmlLoader.php(362): InstallXmlLoader->createEntity('attribute', '12_oz', 'Attribute', Array, Array) #1 /mnt/d/localdevelopment/thirtybees/install-dev/models/install.php(889): InstallXmlLoader->populateEntity('attribute') #2 /mnt/d/localdevelopment/thirtybees/install-dev/controllers/http/process.php(268): InstallModelInstall->installFixtures(Array, Array) #3 /mnt/d/localdevelopment/thirtybees/install-dev/controllers/http/process.php(104): InstallControllerHttpProcess->processInstallFixtures() #4 /mnt/d/localdevelopment/thirtybees/install-dev/classes/controllerHttp.php(207): InstallControllerHttpProcess->process() #5 /mnt/d/localdevelopment/thirtybees/install-dev/trystart.php(34): InstallControllerHttp::execute() #6 /mnt/d/localdevelopment/thirtybees/install-dev/index.php(56): require_once('/mnt/d/localdev any hints what goes wrong? The error occurs to install demonstration data, would be safe to just delete the install-dev folder and add manually some data? Edited January 12, 2021 by netamismb Link to comment Share on other sites More sharing options...
netamismb Posted January 13, 2021 Author Share Posted January 13, 2021 Trying to install the project without demonstration data, I get: An error occurred during installation... You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here. Table 'thirtybees_test.tb_attribute' doesn't exist Link to comment Share on other sites More sharing options...
datakick Posted January 13, 2021 Share Posted January 13, 2021 This is related to php8 and it's Attribute class. Even if you don't run on php8 there is already a polyfill that introduces this class, and that breaks the whole tb store. I'm currently working on this issue, it will be fixed soon. 2 Link to comment Share on other sites More sharing options...
jristeska Posted February 5, 2021 Share Posted February 5, 2021 Can you please help me? Link to comment Share on other sites More sharing options...
datakick Posted February 6, 2021 Share Posted February 6, 2021 This looks like a database permission issue. Maybe you don't have rights to create new tables Link to comment Share on other sites More sharing options...
jristeska Posted February 6, 2021 Share Posted February 6, 2021 Can I fix it somehow? Link to comment Share on other sites More sharing options...
netamismb Posted February 6, 2021 Author Share Posted February 6, 2021 Check if the mysql user has SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER rights. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now