Hello everyone,
I’m encountering an issue with creating subpages on a site using Kirby 3. Here are the details:
Environment:
- PHP 8.1 with all necessary modules installed.
- Kirby 3.9
- The site works correctly on my local environment but faces issues on the production server.
Problem: When I try to create a subpage, I get the following error:
The directory “/usr/home/…/…/content/2_projets/_drafts/test” cannot be created
The system administrator mentioned that the absolute path /usr/home/...
does not exist on the production server, and I should use paths relative to the website’s root directory (e.g., ./content/2_projets/_drafts/test
).
I can create pages at the root level without any issues, suggesting that the permissions and basic configuration are correct.
- Is it possible that Kirby is using absolute paths that are not compatible with my production server configuration?
- How can I configure Kirby to use relative paths for creating subpages?
- Are there any specific Kirby configurations I should check to avoid this issue?
Thank you in advance for your help!
Adrien