Page 1 of 1

[SOLVED] Error when trying to add custom theme repository

Posted: Sun Nov 22, 2020 10:07 am
by bilfri
I've created a custom theme repository in Github by following the provided guide, starting with a clone of the default theme.
When I try to add it to my page I get the error 'Repository not added - missing version file.'
It does have a version file though. I've tried with the custom theme of another user as well and got the same error.
The theme I'm trying to add is https://github.com/bilfri/bilfri.dk - I'm still just getting started :D
My best bet is that it has something to do with browser permissions, but that's only a hunch.
Or could this be a bug? at least the error message is very odd.

Debug info:
WonderCMS 3.1.3
Server: Apache 2.4.46
PHP 7.2.34
browser: Firefox 83.0
I'm not sure what PHP extensions are installed, but WonderCMS was installed using Softaculous, so I assume the requirements are met. Any tips on how to check this in cPanel are appreciated though.

Re: Error when trying to add custom theme repository

Posted: Sun Nov 22, 2020 3:13 pm
by wiz
Hi Bilfri, welcome to the community.

Thanks for providing enough details, below is the solution for your problem.

This seems to be an issue with the branch name on GitHub being "master".
Please create a "main" branch or rename the "master" one to "main" and this should work.

We applied a fix for this with 3.1.3, I'm surprised it's come back, will definitely investigate.

Let me know if you need any help with renaming the branch on GitHub.

Since we've got all problems out of the way :), how are you finding working with WonderCMS, can you provide any feedback?
What do you like or dislike the most? Any feedback enables us to push WCMS in the right direction in the future.

Re: Error when trying to add custom theme repository

Posted: Thu Nov 26, 2020 4:49 pm
by bilfri
Hi, I appreciate the swift feedback.
With regards to the experience using WonderCMS, I have to admit, that I switched to using WordPress with the Astra theme, which does everything I'm looking for. That being said, for me WonderCMS was the best CMS option where you actually code. It's small and clear enough for you to 'see the bottom, before you dive in'. What turned me off of it apart from the bit of trouble importing a custom theme was that the login/logout experience was a bit unusual. A few times, I opened the page to discover that I was logged in, when I definitely thought I wouldn't be. Also I had some issues with the browser cache when I tried to apply new themes and so on. All stuff that would be easily solved if you just know a bit about web development, of course. Anyway, I think you have a very meaningful approach and wish you the best of luck. And who knows, I might return when they eventually decide to monetize the WordPress theme :lol: I would really prefer to use a CMS where the business model etc. is a lot more transparent than for WordPress.

Re: Error when trying to add custom theme repository

Posted: Sun Nov 29, 2020 11:15 am
by wiz
Hi bilfri.

No matter what other solution you're using, this sort of feedback is of immense value and is greatly appreciated.

If possible, I would love to debug the login/logout issue with you, as we haven't had any similar issues like that in the past.
If you don't mind asking, how could we additionally improve so it seems like you have to code less? Would including the default editor help (which currently has to be installed after installing WonderCMS).

Again, your feedback has been amazing. As a thank you, we'd love to add you to our special contributors list: https://www.wondercms.com/special-contributors (shoot us over your name / website), even if it isn't running on WonderCMS. :)