Skip to content

Problem with backend when installed in root #948

@agenciazmark

Description

@agenciazmark

Winter CMS Build

1.2

PHP Version

8.1

Database engine

SQLite

Plugins installed

none

Issue description

After Winter 1.2.2, I am unable to access the backend. I tried installing a fresh instance without any plugins, using only the 'demo' theme, but the problem persists. The issue is that it is trying to access a folder located behind the root of the installation, for which it does not have permission. This problem only occurs with the backend, regardless of whether it was installed using Composer or the web installer.

The server is running Ubuntu 20.04 and PHP 8.1 and 8.2.

Screenshot

Steps to replicate

  • Go to the main folder of the server
  • Install a new wintercms with version 1.2.2 or higher
  • Try to access the backend link

Workaround

It works if I create a subfolder in the main folder and put the project inside it. Then, I need to create a redirect in the server configs to open the link without the need to include the /subfolder in the URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewIssues/PRs that require a review from a maintainer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions