Skip to content

Bug: app can't running when created in a path directory with '@' character #6299

@ngekoding

Description

@ngekoding

PHP Version

7.4

CodeIgniter4 Version

4.2.1

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

macOS

Which server did you use?

cli-server (PHP built-in webserver)

Database

No response

What happened?

When creating an app in a path directory contains '@' character, the app can't running.

Got this error messages:

PHP Fatal error: Uncaught Error: Class 'Config\App' not found in /Users/nur/Devs/WebProjects/works@ftugm/ci4-app/vendor/codeigniter4/framework/system/Config/Factories.php:126 ...

My app installation in /Users/nur/Devs/WebProjects/works@ftugm/ci4-app (contains @)

But when I try to install in different directory (without @), the app running well.

Steps to Reproduce

  1. Create directory with @ character e.g. works@ftugm
  2. Create the codeigniter project inside that directory with composer
> cd works@ftugm
> composer create-project codeigniter4/appstarter ci4-app
  1. Run the app
> cd ci4-app
> php spark serve
  1. We get the errors

Expected Output

The app running well.

Anything else?

No response

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