Ticket Change Details
Not logged in
Overview

Artifact ID: e8b78a0a52e2f47f0a0f2b2d8ffc83ac6e50cd56
Ticket: 5483de2ea6bb205e502ca36fa99db2b33d8abbb5
Changing to non default skin causes database error
User & Date: anonymous 2010-01-01 19:36:31
Changes

  1. comment changed to:
    Attempt to change skin on local clone of fossil or sqlite repository in "Skins" section (e.g. http://localhost:8081/setup_skin) to some other than default one with Fossil version [def89b9393] 2010-01-01 01:30:14 causes following page to be displayed. Rebuilding repository does not help.
    
    <verbatim>
    Database Error
    
    near "$baseurl": syntax error
    REPLACE INTO config VALUES('css','/* General settings for the entire page */
    body {
      margin: 0ex 1ex;
      padding: 0px;
      background-color: white;
      font-family: "sans serif";
    }
    
    /* The project logo in the upper left-hand corner of each page */
    div.logo {
      display: table-row;
      text-align: center;
      /* vertical-align: bottom;*/
      font-size: 2em;
      font-weight: bold;
      background-color: #707070;
      color: #ffffff;
    }
    
    /* The page title centered at the top of each page */
    div.title {
      display: table-cell;
      font-size: 1.5em;
      font-weight: bold;
      text-align: left;
      padding: 0 0 0 10px;
      color: #404040;
      vertical-align: bottom;
      width: 100%;
    }
    
    /* The login status message in the top right-hand corner */
    div.status {
      display: table-cell;
      text-align: right;
      vertical-align: bottom;
      color: #404040;
      font-size: 0.8em;
      font-weight: bold;
    }
    
    /* The header across the top of the page */
    div.header {
      display: table;
      width: 100%;
    }
    
    /* The main menu bar that appears at the top of the page beneath
    ** the header */
    div.mainmenu {
      padding: 5px 10px 5px 10px;
      font-size: 0.9em;
      font-weight: bold;
      text-align: center;
      letter-spacing: 1px;
      background-color: #404040;
      color: white;
    }
    
    /* The submenu bar that *sometimes* appears below the main menu */
    div.submenu {
      padding: 3px 10px 3px 0px;
      font-size: 0.9em;
      text-align: center;
      background-color: #606060;
      color: white;
    }
    div.mainmenu a, div.mainmenu a:visited, div.submenu a, div.submenu a:visited {
      padding: 3px 10px 3px 10px;
      color: white;
      text-decoration: none;
    }
    div.mainmenu a:hover, div.submenu a:hover {
      color: #404040;
      background-color: white;
    }
    
    /* All page content from the bottom of the menu or submenu down to
    ** the footer */
    div.content {
      padding: 0ex 0ex 0ex 0ex;
    }
    /* Hyperlink colors */
    div.content a { color: #604000; }
    div.content a:link { color: #604000;}
    div.content a:visited { color: #600000; }
    
    /* Some pages have section dividers */
    div.section {
      margin-bottom: 0px;
      margin-top: 1em;
      padding: 1px 1px 1px 1px;
      font-size: 1.2em;
      font-weight: bold;
      background-color: #404040;
      color: white;
    }
    
    /* The "Date" that occurs on the left hand side of timelines */
    div.divider {
      background: #a0a0a0;
      border: 2px #505050 solid;
      font-size: 1em; font-weight: normal;
      padding: .25em;
      margin: .2em 0 .2em 0;
      float: left;
      clear: left;
    }
    
    /* The footer at the very bottom of the page */
    div.footer {
      font-size: 0.8em;
      margin-top: 12px;
      padding: 5px 10px 5px 10px;
      text-align: right;
      background-color: #404040;
      color: white;
    }
    
    /* The label/value pairs on (for example) the vinfo page */
    table.label-value th {
      vertical-align: top;
      text-align: right;
      padding: 0.2ex 2ex;
    }');
    REPLACE INTO config VALUES('header','<html>
    <head>
    <title>$<project_name>: $<title></title>
    <link rel="alternate" type="application/rss+xml" title="RSS Feed"
          href="$baseurl/timeline.rss">
    <link rel="stylesheet" href="$baseurl/style.css" type="text/css"
          media="screen">
    </head>
    <body>
    <div class="header">
      <div class="logo">
        <nobr>$<project_name></nobr>
      </div>
    </div>
    <div class="header">
      <div class="title">$<title></div>
      <div class="status"><nobr><th1>
         if {[info exists login]} {
           puts "Logged in as $login"
         } else {
           puts "Not logged in"
         }
      </th1></nobr></div>
    </div>
    <div class="mainmenu"><th1>
    html "<a href=''$baseurl$index_page''>Home</a> "
    if {[anycap jor]} {
      html "<a href='$baseurl/timeline'>Timeline</a> "
    }
    if {[hascap oh]} {
      html "<a href=''$baseurl/dir''>Files</a> "
    }
    if {[hascap o]} {
      html "<a href=''$baseurl/leaves''>Leaves</a> "
      html "<a href=''$baseurl/brlist''>Branches</a> "
      html "<a href=''$baseurl/taglist''>Tags</a> "
    }
    if {[hascap r]} {
      html "<a href=''$baseurl/reportlist''>Tickets</a> "
    }
    if {[hascap j]} {
      html "<a href=''$baseurl/wiki''>Wiki</a> "
    }
    if {[hascap s]} {
      html "<a href=''$baseurl/setup''>Admin</a> "
    } elseif {[hascap a]} {
      html "<a href=''$baseurl/setup_ulist''>Users</a> "
    }
    if {[info exists login]} {
      html "<a href=''$baseurl/login''>Logout</a> "
    } else {
      html "<a href=''$baseurl/login''>Login</a> "
    }
    </th1></div>
    ');
    REPLACE INTO config VALUES('footer','<div class="footer">
    Fossil version $manifest_version $manifest_date
    </div>
    </body></html>
    ');
    
    If you have recently updated your fossil executable, you might need to run "fossil all rebuild" to bring the repository schemas up to date. 
    </verbatim>
    
  2. foundin changed to: "[def89b9393]"
  3. private_contact changed to: "24b67375dd2ec6c7381a5ad34cfcf006f0b9c260"
  4. severity changed to: "Minor"
  5. status changed to: "Open"
  6. title changed to: "Changing to non default skin causes database error"
  7. type changed to: "Code_Defect"