Comments (11)
The Laravel database migration is missing in your setup. Did you forgot to execute php artisan vendor:publish
and php artisan migrate
first?
from aimeos-laravel.
yes, but only 2 table was in /database/migrations/ after install package
$ php artisan migrate Migration table created successfully. Migrated: 2014_10_12_000000_create_users_table Migrated: 2014_10_12_100000_create_password_resets_table
from aimeos-laravel.
Did you add the Aimeos service provider class in the config/app.php
first, so php artisan vendor:publish
will copy the Aimeos migrations to ./database/migrations
?
from aimeos-laravel.
my mistake, i did migration before vendor:publish
from aimeos-laravel.
Laravel Framework version 5.2.43
Doing a fresh aimeos install - its failing on the command:
php artisan aimeos:setup --option=setup/default/demo:1
And also when I try to create the admin.
Checking table "mshop_product_type": OK
Checking table "mshop_service_list_type": OK
Checking table "mshop_service_type": OK
Checking table "mshop_text_list_type": OK
Checking table "mshop_text_type": OK
Adding default code data for site "default"
Checking "customer/group" codes OK
Checking "product/stock/warehouse" codes OK
Processing product demo data added
Processing catalog demo data added
Processing coupon demo data added
Processing customer demo data
[Aimeos\MW\DB\Exception]
Executing statement "
SELECT DISTINCT lvu."id" AS "customer.id",
lvu."label" AS "customer.label", lvu."name" as "customer.code",
lvu."company" AS "customer.company", lvu."vatid" AS "customer.vatid",
lvu."salutation" AS "customer.salutation", lvu."title" AS "customer.title",
...
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'lvu.label' in 'field list'
Thanks for any help.
from aimeos-laravel.
Please have a look into your database. Is the users
table there? How does it look like?
from aimeos-laravel.
I missed that. There is no users table. It did not get created?
from aimeos-laravel.
OK, might be a bug in the most recent Laravel version because the users
table is created by Laravel (normally). Can you check with the Laravel community why it's not created any more?
from aimeos-laravel.
Aimeos thanks for the help. It may be something I did. I am doing a fresh install of Laravel and Aimeos this morning (so I don't waste anyone's time).
from aimeos-laravel.
Update, I was installing Aimeos into an existing Laravel site. The user table did exist already and it has many more fields than the "Aimeos clean install user table". It looks like the "php artisan aimeos:account" command fails with custom user tables? My clean Aimeos install worked.
from aimeos-laravel.
It will fail if there are columns that don't allow NULL values because the aimeos:account
command doesn't know that they exist and what needs to be inserted
from aimeos-laravel.
Related Issues (20)
- Some functions report an error HOT 3
- API with laravel sanctum HOT 1
- laminas/laminas-diactoros problem with Laravel 10 and PHP 8.1+ HOT 1
- Running Custom Cronjob in Aimeos Laravel. HOT 1
- rest api for client aplication HOT 3
- error while running aimeos:setup HOT 1
- Please disregard
- 404 on catalog-filter.js and catalog-filter.css HOT 6
- Showing Class "\Aimeos\MShop\User\Manager\Standard" not found HOT 1
- Can't access to admin panel on fresh install
- Pricing rules issue, getting reset after placing order HOT 1
- How these actions are defined ? HOT 1
- Correction to installation instructions needed when installing Laravel Breeze HOT 1
- Integrating Urway-Payment into Aimeos Laravel Package HOT 2
- SQL syntax Error when running setup command. HOT 2
- [Solved] Dependency issue when installing aimeos... psr/http-message HOT 1
- The extension jqadm's index.blade.php is not taken into consideration HOT 1
- Changing shop prefix A non-recoverable error occurred in header (categories menu and search) HOT 8
- Auth API HOT 3
- New release supporting Laravel 11 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aimeos-laravel.