Comments (5)
This is a well known Laravel problem: https://laravel-news.com/laravel-5-4-key-too-long-error
But they key length was set in this demo project, so I guess you're using the Vanilo framework in an application and you have to add:
Schema::defaultStringLength(191);
in your AppServiceProvider::boot()
method.
Ps. please use English.
from demo.
Thanks, true solved now I get this error, but I'm not using MariaDB
In Connection.php line 664:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that
corresponds to your MariaDB server version for the right syntax to use near 'json not null, custom_properties
js
on not null, responsive_images
json not n' at line 1 (SQL: create table media
(id
int unsigned not null auto_
increment primary key, model_type
varchar(191) not null, model_id
bigint unsigned not null, collection_name
v
archar(191) not null, name
varchar(191) not null, file_name
varchar(191) not null, mime_type
varchar(191) nul
l, disk
varchar(191) not null, size
int unsigned not null, manipulations
json not null, custom_properties
j
son not null, responsive_images
json not null, order_column
int unsigned null, created_at
timestamp null, up dated_at
timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
In Connection.php line 452:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that
corresponds to your MariaDB server version for the right syntax to use near 'json not null, custom_properties
js
on not null, responsive_images
json not n' at line 1
from demo.
The doc says:
Database engine: MySQL 5.7 or higher, MariaDB 10.2.7 or higher or PostgreSQL is required
You can check your db engine version with this command:
mysql -V
(MySQL and MariaDB)
or
psql - V
(Postgres)
from demo.
Has the issue been resolved?
from demo.
Feel free to reopen if the issue persists.
from demo.
Related Issues (20)
- Picture doesn't show at shop catalog or product page in admin HOT 2
- Tweaking settings on admin page HOT 17
- Adding file input field to settings page HOT 3
- Multi-language and multi-tenancy support? HOT 2
- getThumbnailUrl on cart page not returning the image. HOT 4
- Default front end theme HOT 3
- Your requirements could not be resolved to an installable set of packages."vanilo" HOT 2
- it seems that tables are missing. Product , taxonomies, settings HOT 3
- Error when guest purchase a product HOT 2
- Return value of Konekt\Concord\Proxies\EnumProxy::targetClass() must be of the type string, null returned HOT 5
- One product have multiple property values? HOT 1
- Trying to get in touch regarding a security issue HOT 1
- need rtl theme or arabic language HOT 1
- Installation - Demo Shop HOT 1
- Class "Konekt\AppShell\Providers\ModuleServiceProvider" not found HOT 3
- Master product demo HOT 7
- Not able to see shop main menu HOT 14
- How to implement new payment gateways HOT 1
- Order of registering modules appears to remove customers relationship from Address class.
- Dropdown Menus Not Functioning
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 demo.