go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.02k stars 5.49k forks source link

Edit new wiki page is not working in binary package installation #13889

Closed strusberg closed 3 years ago

strusberg commented 3 years ago

Description

When you try to create a new wiki page the edit area is not showing. ...

Screenshots

jolheiser commented 3 years ago

What errors are you getting? I cannot reproduce on try or my 1.13.0 instance.

strusberg commented 3 years ago

Just do not show the edition area:

image

the server report:

image

the 1.13.0 instance is running from binary installation gitea-1.13.0-linux-386

jolheiser commented 3 years ago

Are you using custom templates? As I mentioned in #13888, EasyMDE was added to 1.14, it should not be in any 1.13 templates.

strusberg commented 3 years ago

No, I am not using custom templates yet. It is the original installation.

jolheiser commented 3 years ago

Are you sure you're running 1.13, then?

Downloading and extracting https://dl.gitea.io/gitea/1.13.0/gitea-src-1.13.0.tar.gz I see simplemde.

The version should be in the footer of any page. Alternatively, you can see the entire version at https://domain.tld/admin/config

jolheiser commented 3 years ago

Alternatively, you can try to re-download a binary, but as far as I can tell no 1.13.0 binary should be pointing to easymde.

strusberg commented 3 years ago

Are you sure you're running 1.13, then?

Downloading and extracting https://dl.gitea.io/gitea/1.13.0/gitea-src-1.13.0.tar.gz I see simplemde.

The version should be in the footer of any page. Alternatively, you can see the entire version at https://domain.tld/admin/config

Yes,

image

strusberg commented 3 years ago

Alternatively, you can try to re-download a binary, but as far as I can tell no 1.13.0 binary should be pointing to easymde.

I did it. I tried the development branch binary. Same issue.

jolheiser commented 3 years ago

My only other guess then is a custom template (again)? You don't have any templates in your custom directory? The path for the custom directory should also be shown on that admin/config page.

strusberg commented 3 years ago

You are right. A new footer.tpl was in the custom directory and reference the wrong file (easymde.js). I really appreciate your time for this support. My apologies.

The wiki area is working now.

jolheiser commented 3 years ago

Happy to help! 🙂