Skip to content

Bug Report: Seeding #1720

Description

@MarS-83

Describe the bug
I created the SimpleSeeder, like described in the docs and called it from the example "Home"-Controller with:
$seeder = \Config\Database::seeder();
$seeder->call('SimpleSeeder');

The Class "SimpleSeeder" is located in app/Database/Seeds as SimpleSeeder.php But the controller throws an class not found error. At home i have an earlier Version of Codeigniter. The same code there results in a populated database. I cant tell which version of CI4 i have at home but the obvious difference is that there is an "application" directory instead of an "app" directory.

CodeIgniter 4 version
4.0.0-alpha.5 (master)

Affected module(s)

Expected behavior, and steps to reproduce if appropriate

Context

  • OS: Tested on Windows 10 and Linux (Ubuntu like Distribution)
  • Web server: Apache 2.4
  • PHP version: 7.2.x

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions