GithubHelp home page GithubHelp logo

blog's Issues

Composer installation fail

Problem 1
- Installation request for idavoll/tag-module 4.0.x-dev -> satisfiable by idavoll/tag-module[4.0.x-dev].
- asgardcms/blog-module 3.0.0 requires idavoll/tag-module ~3.0 -> satisfiable by idavoll/tag-module[3.0.x-dev].
- asgardcms/blog-module 3.0.1 requires idavoll/tag-module ~3.0 -> satisfiable by idavoll/tag-module[3.0.x-dev].
- Conclusion: don't install idavoll/tag-module 3.0.x-dev
- Installation request for asgardcms/blog-module ^3.0 -> satisfiable by asgardcms/blog-module[3.0.0, 3.0.1].

Allow fallback to default lang

As far as I understand, dimsav/laravel-translatable gives us the option to fall back to the default translation if the specified translation doesn't exist, when retrieving instances/entities etc.

Is there any such way in AsgardCms/Blog?

I would like to display all blog posts (via $latestPosts) regardless of the current lang.

ErrorException when saving post with no tags

Creating a new post without any tags throws the following error:-

production.ERROR: ErrorException: array_diff(): Argument #1 is not an array in /home/asgardcms/public_html/Modules/Tag/Traits/TaggableTrait.php:104

Unsatisfiable dependencies

Can't install the Blog module on a new AsgardCMS installation.

Installation steps:

  1. composer create-project asgardcms/platform=~2.0 test
  2. cd test
  3. composer require asgardcms/blog-module

The error:

Using version ^3.0 for asgardcms/blog-module
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove laravel/framework v5.4.36
    - Conclusion: don't install laravel/framework v5.4.36
    - asgardcms/blog-module 3.0.0 requires idavoll/core-module ~3.0 -> satisfiable by idavoll/core-module[3.0.x-dev].
    - asgardcms/blog-module 3.0.1 requires idavoll/core-module ~3.0 -> satisfiable by idavoll/core-module[3.0.x-dev].
    - idavoll/core-module 3.0.x-dev requires laravelcollective/html ~5.5.0 -> satisfiable by laravelcollective/html[5.5.x-dev, v5.5, v5.5.1].
    - idavoll/core-module 3.0.x-dev requires laravelcollective/html ~5.5.0 -> satisfiable by laravelcollective/html[5.5.x-dev, v5.5, v5.5.1].
    - laravelcollective/html 5.5.x-dev requires illuminate/view 5.5.* -> satisfiable by laravel/framework[5.5.x-dev], illuminate/view[5.5.x-dev, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28].
    - laravelcollective/html v5.5 requires illuminate/view 5.5.* -> satisfiable by laravel/framework[5.5.x-dev], illuminate/view[5.5.x-dev, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28].
    - laravelcollective/html v5.5.1 requires illuminate/view 5.5.* -> satisfiable by laravel/framework[5.5.x-dev], illuminate/view[5.5.x-dev, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28].
    - Can only install one of: laravel/framework[5.5.x-dev, v5.4.36].
    - don't install illuminate/view 5.5.x-dev|don't install laravel/framework v5.4.36
    - don't install illuminate/view v5.5.0|don't install laravel/framework v5.4.36
    - don't install illuminate/view v5.5.16|don't install laravel/framework v5.4.36
    - don't install illuminate/view v5.5.17|don't install laravel/framework v5.4.36
    - don't install illuminate/view v5.5.2|don't install laravel/framework v5.4.36
    - don't install illuminate/view v5.5.28|don't install laravel/framework v5.4.36
    - Installation request for laravel/framework (locked at v5.4.36, required as 5.4.*) -> satisfiable by laravel/framework[v5.4.36].
    - Installation request for asgardcms/blog-module ^3.0 -> satisfiable by asgardcms/blog-module[3.0.0, 3.0.1].

Thanks in advance

ORM relationships

Hi every body,

Help me to solve this problem please.

class Group not found.

belongsTo('Group'); //error hear *_* } ``` # } hasMany('User', 'group_id', 'id'); } ``` # }

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.