Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #2433

Closed
Open
Created Dec 29, 2012 by Administrator@rootOwner

500 error when click wiki->pages

Created by: toplinuxsir

when click wiki->pages 500 error I use pgsql9.1 as backend db

I check the production.log and find the error info :

ActionView::Template::Error (PG::Error: Error: Field "wikis.id" 必须出现在 GROUP BY 子句中或者在聚合函数中使用 LINE 1: SELECT "wikis".* FROM "wikis" WHERE "wikis"."project_id" = ... ^ : SELECT "wikis".* FROM "wikis" WHERE "wikis"."project_id" = 4 GROUP BY slug ORDER BY created_at): 7: %th slug 8: %th created by 9: %tbody 10: - @wikis.each_with_index do |wiki_page, i| 11: %tr 12: %td 13: = link_to wiki_page.title, project_wiki_path(@project, wiki_page, old_page_id: wiki_page.id) app/views/wikis/pages.html.haml:10:in `_app_views_wikis_pages_html_haml__3627641172024630291_52916820'

Assignee
Assign to
Time tracking