Giter Site home page Giter Site logo

yii2-bigcms's People

Contributors

michaelbech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

yii2-bigcms's Issues

Error migration on install

*** 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', '', '', '', '')

UrlRule::createUrl called twice on home page

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.

you cms not working

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

Demo

Do you have a demo link?

cms/init Error SqlState

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

Too many Field 'xxx' doesn't have a default value

I use mysql version 5.7.18.
when i run ./yii cms/install , these two error occurd:

  • created_at out of range , because created_at is int in db table column, new Expression('NOW()') isn't a valid value
  • intro_content deesn't have a defautl value

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.