bigbrush / yii2-bigcms Goto Github PK
View Code? Open in Web Editor NEWYii 2 CMS and starter application
License: Other
Yii 2 CMS and starter application
License: Other
MySql error appeared after update
Update Menu::afterFind() with below:
$this->params = empty($this->params) ? '' : Json::decode($this->params);
*** applying m150530_182223_init > create table {{%page}} ... done (time: 0.286s) > create table {{%user}} ... done (time: 0.278s) > insert into {{%extension}} ... done (time: 0.043s) > insert into {{%extension}} ... done (time: 0.032s) > insert into {{%extension}} ... done (time: 0.066s) > insert into {{%extension}} ... done (time: 0.066s) > insert into {{%category}} ...Error: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'created_at' at row 1 The SQL being executed was: INSERT INTO
category (
id,
module,
title,
content,
state,
tree,
lft,
rgt,
depth,
created_at,
updated_at,
alias,
meta_title,
meta_description,
meta_keywords,
params) VALUES (1, 'pages', 'pages', '', 1, 1, 1, 4, 0, NOW(), NOW(), 'pages-root', '', '', '', '')
Test it with an empty module
In your info about accessing Demo:
Username: bigadmin
Password: bigadmin
Provides "Incorrect username or password." message
For frontend and backend
Are positions names handled correctly by the UI?
Only happens on "Navigation" submenus
Or even better - get the latest release forever.
Yii::$app->getRequest()->pathInfo === ''
In cms\modules\pages\frontend\UrlRule.php check createUrl when on home page. Content of the page must contain a link to a pages category. UrlRule::createUrl is called twice.
Only happens on home page and only when a link to a pages category is inserted by the editor. When a link to a page is inserted createUrl gets correctly called once.
Contact pages are used everywhere.
your CMS is not running. Do not run the migration . Once everything was repaired migration but did not work because there is no one single controller module
Do you have a demo link?
i was run cms/init and apply migration there's error insert table category
insert into {{%category}} ...Error: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'created_at' at row 1
The SQL being executed was: INSERT INTO category
(id
, module
, title
, content
, state
, tree
, lft
, rgt
, depth
, created_at
, updated_at
, alias
, meta_title
, meta_description
, meta_keywords
, params
) VALUES (1, 'pages', 'pages', '', 1, 1, 1, 4, 0, NOW(), NOW(), 'pages-root', '', '', '', '')
Error: SQLSTATE[HY000]: General error: 1364 Field 'template_id' doesn't have a default value
The SQL being executed was: INSERT INTO category
(id
, module
, title
, content
, state
, tree
, lft
, rgt
, depth
, created_at
, updated_at
, alias
, meta_title
, meta_description
, meta_keywords
, params
) VALUES (1, 'pages', 'pages', '', 1, 1, 1, 4, 0, NOW(), NOW(), 'pages-root', '', '', '', '')
and another errors in migrations
Likes is being done with all pages
To replicated:
Image 1
fieldThe FileManager popup is shown instead of submitting the form.
I use mysql version 5.7.18.
when i run ./yii cms/install , these two error occurd:
after i fix errors above.
I try to add a menu in admin, i got an exception, Field 'route' doesn't have a default value.
use bigbrush\big\models\Block;
It is now controlled by the parameter setApplicationDefaultRoute
which takes away control.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.