# Online Editor fails to create new file

**URL:** <https://forums.realmacsoftware.com/t/online-editor-fails-to-create-new-file/56916>\
**Category:** Elements CMS\
**Created:** [July 6, 2026, 9:33am UTC](https://forums.realmacsoftware.com/t/online-editor-fails-to-create-new-file/56916 "2026-07-06T09:33:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisecurtis](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@chrisecurtis](https://forums.realmacsoftware.com/u/chrisecurtis)\
**Post date:** [July 6, 2026, 9:33am UTC](https://forums.realmacsoftware.com/t/online-editor-fails-to-create-new-file/56916/1 "2026-07-06T09:33:37Z")

</div>

Hi,

I’ve set up the online editor (free). It’s working fine to view and edit existing markdown files and I can see and use resources without a problem.

What I can’t do is make anything new. If I click on the “+ New File” button I am simply taken to the home page. The javascript console shows an error from index.js line 8:

“Failed to load a resource: the server responded with a status of 404()”. and the file listed is

[https://www.curtisfamily.org.uk/undefined](https://www.curtisfamily.org.uk/undefined)

Index.js line 8 simply logs to the console, so something else is going wrong.

Am I unable to create new files with the online editor unless I pay for a licence or is something broken? It’s puzzling as what look like similar functions for edit and saving edited files seem to work fine, which also suggests that the relevant permissions are OK.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [July 8, 2026, 7:36am UTC](https://forums.realmacsoftware.com/t/online-editor-fails-to-create-new-file/56916/2 "2026-07-08T07:36:53Z")

</div>

Hi @chrisecurtis,

Sorry to hear that you’re having trouble with the online editor. Let’s see if we can figure out what’s going on 😊

> [@chrisecurtis](#):
>
> Am I unable to create new files with the online editor unless I pay for a licence or is something broken?

The free version allows you to create new files, so something is not working as expected.

> [@chrisecurtis](#):
>
> “Failed to load a resource: the server responded with a status of 404()”. and the file listed is
> 
> [https://www.curtisfamily.org.uk/undefined](https://www.curtisfamily.org.uk/undefined)
> 
> Index.js line 8 simply logs to the console, so something else is going wrong.

I’d need to see the network requests for this before I can tell if it’s an issue with your hosting provider or with the online editor.

Any chance you can share a login for your online editor with me or share the network requests happening when you try to create a new file?

---

<div class="post-metadata">

**Author:** ![chrisecurtis](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@chrisecurtis](https://forums.realmacsoftware.com/u/chrisecurtis)\
**Post date:** [July 8, 2026, 10:13am UTC](https://forums.realmacsoftware.com/t/online-editor-fails-to-create-new-file/56916/3 "2026-07-08T10:13:13Z")

</div>

Produced a network timeline but the forum wouldn’t allow me to upload a json or zip.

I think I may have found the bug anyway.

Although it appears to drop to the home page when I press the “+ new file” button, the browser reports it as:

[https://www.curtisfamily.org.uk/#/files/0/new](https://www.curtisfamily.org.uk/#/files/0/new)

I noticed that other urls in the editor had a slightly different structure e.g. :

[https://www.curtisfamily.org.uk/admin/#/files/0/edit/weatherjune2026.md](https://www.curtisfamily.org.uk/admin/#/files/0/edit/weatherjune2026.md)

(i.e. they include the admin folder)

So I tried amending the url:

[https://www.curtisfamily.org.uk/admin/#/0/files/new](https://www.curtisfamily.org.uk/admin/#/0/files/new)

and I got a perfectly functional new file page and could use it to make a new file. Looking at the source for the page containing the “+New File” button I can see that the button is hard coded like this:

```auto
<a href="#/files/0/new" class="inline-flex items-center gap-1.5 h-8 px-3 bg-accent text-white hover:bg-accent/90 rounded-lg text-sm font-medium transition-colors"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class=""><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>New File</a>

```

That is: it needs “/admin/” to be inserted before the # in that url.

---

<div class="post-metadata">

**Author:** ![chrisecurtis](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@chrisecurtis](https://forums.realmacsoftware.com/u/chrisecurtis)\
**Post date:** [July 8, 2026, 10:30am UTC](https://forums.realmacsoftware.com/t/online-editor-fails-to-create-new-file/56916/4 "2026-07-08T10:30:28Z")

</div>

Digging a little deeper. That url seems to be generated in the javascript - I stopped digging at that point!

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [July 8, 2026, 11:17am UTC](https://forums.realmacsoftware.com/t/online-editor-fails-to-create-new-file/56916/5 "2026-07-08T11:17:17Z")

</div>

ok, thanks again for the detailed info. I’m digging in to this one now!

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [July 8, 2026, 11:41am UTC](https://forums.realmacsoftware.com/t/online-editor-fails-to-create-new-file/56916/6 "2026-07-08T11:41:35Z")

</div>

found the issue, this will be fixed in the next build 🙂

---

<div class="post-metadata">

**Author:** ![chrisecurtis](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@chrisecurtis](https://forums.realmacsoftware.com/u/chrisecurtis)\
**Post date:** [July 8, 2026, 12:02pm UTC](https://forums.realmacsoftware.com/t/online-editor-fails-to-create-new-file/56916/7 "2026-07-08T12:02:21Z")

</div>

Thank you.
