Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mandatory parameters are missing ("commitishPath") to generate a URL for route "tree" #295

Closed
nodiscc opened this issue Mar 30, 2013 · 3 comments

Comments

@nodiscc
Copy link

nodiscc commented Mar 30, 2013

I have this problem after upgrading my previous gitlist install to the latest master from gitlist.org (download the tarball, unpack it to the existing gitlist directory, set permissions)

Whenever I enter a repository from gitlist's main page, it shows an error message: Oops! An exception has been thrown during the rendering of a template ("Some mandatory parameters are missing ("commitishPath") to generate a URL for route "tree".") in "tree.twig" at line 46. and doesnt display the repo contents.

Apache log shows [error] PHP Notice: Undefined offset: 0 in /var/www/gitlist/vendor/klaussilveira/gitter/lib/Gitter/Repository.php on line 170

@klaussilveira
Copy link
Owner

Have you cleared the cache folder?

@nodiscc
Copy link
Author

nodiscc commented Mar 30, 2013

I've just cleared the cache/ folder contents as you suggested. Now gitlist wouldnt even list repositories and throws:
Oops! An exception has been thrown during the rendering of a template ("Parameter "branch" for route "rss" must match "(?!/|.*([/.]\.|//|@\{|\\))[^\040\177 ~^:?*\[]+(?<!\.lock|[/.])" ("" given) to generate a corresponding URL.") in "index.twig" at line 13.

Apache log:
[Sat Mar 30 19:05:45 2013] [error] [client 88.165.23.157] PHP Notice: Undefined offset: 0 in /var/www/gitlist/vendor/klaussilveira/gitter/lib/Gitter/Repository.php on line 170

@klaussilveira
Copy link
Owner

I recommend you stick to 0.3 until we fix a bug involving repositories with no branches: #291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants