From alpartis at thundernet.com Mon Jul 4 18:38:52 2011 From: alpartis at thundernet.com (Alan Partis) Date: Mon, 4 Jul 2011 18:38:52 -0400 (EDT) Subject: [typo] db migrate failure in new 6.0.5 Message-ID: I'm setting up a fresh typo 6.0.5 installation. Downloaded and untarred the 6.0.5 tarball. Ran 'bundle install' and then tried rake db:migrate RAILS_ENV=production. The database existed, but was empty. I expected everything to run smoothly, of course, so I am surprised to be seeing this: --- Creating shortened URL for existing contents, this may take a moment rake aborted! An error has occurred, all later migrations canceled: The single-table inheritance mechanism failed to locate the subclass: 'Page'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Content.inheritance_column to use another column for that information. Tasks: TOP => db:migrate (See full trace by running task with --trace) --- What am I missing? I can't imagine there is/was a problem with the database as I'm staring with a fresh empty database. Any thoughts? Thanks. _______________________________________________________ Alan Partis thundernet development group From matijs at matijs.net Tue Jul 5 04:50:42 2011 From: matijs at matijs.net (Matijs van Zuijlen) Date: Tue, 05 Jul 2011 10:50:42 +0200 Subject: [typo] db migrate failure in new 6.0.5 In-Reply-To: References: Message-ID: <4E12D062.3020901@matijs.net> Hi Alan, Sadly, this is a known bug :-(. I'm working on an overhaul of the migrations, many of which were created in prehistory, but I'll try to rush a fix for this particular problem today. In the mean time, you can take a look at http://fdv.lighthouseapp.com/projects/11171/tickets/209-single-table-inheritance-problem The patch there apparently works (though I have not tested it myself), but DO be sure to remove it once the migration is done. Regards, Matijs On 05/07/2011 00:38, Alan Partis wrote: > I'm setting up a fresh typo 6.0.5 installation. Downloaded and untarred > the 6.0.5 tarball. Ran 'bundle install' and then tried rake db:migrate > RAILS_ENV=production. The database existed, but was empty. I expected > everything to run smoothly, of course, so I am surprised to be seeing > this: > > --- > > Creating shortened URL for existing contents, this may take a moment > rake aborted! > An error has occurred, all later migrations canceled: > > The single-table inheritance mechanism failed to locate the subclass: > 'Page'. This error is raised because the column 'type' is reserved for > storing the class in case of inheritance. Please rename this column if you > didn't intend it to be used for storing the inheritance class or overwrite > Content.inheritance_column to use another column for that information. > > Tasks: TOP => db:migrate > (See full trace by running task with --trace) > > --- > > > > What am I missing? I can't imagine there is/was a problem with the > database as I'm staring with a fresh empty database. Any thoughts? > > Thanks. > > > > _______________________________________________________ > Alan Partis > thundernet development group > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From alpartis at thundernet.com Tue Jul 5 22:38:06 2011 From: alpartis at thundernet.com (Alan Partis) Date: Tue, 5 Jul 2011 22:38:06 -0400 (EDT) Subject: [typo] db migrate failure in new 6.0.5 In-Reply-To: <4E12D062.3020901@matijs.net> References: <4E12D062.3020901@matijs.net> Message-ID: Matijs, I went ahead and pulled down a clone of the typo git repo and noted in the git log that you committed a change that says it fixes issue #209. Given your fix, I chose to re-attempt my typo install using this code instead of making the patch to 6.0.5. Unfortunately, the problem as described below persists. Is it possible that commit #a7964f4 was subsequently re-broken by one of the two following commits? For the time being, I've decided to just work with 6.0.5 and the patch. Thanks. _______________________________________________________ Alan Partis thundernet development group On Tue, 5 Jul 2011, Matijs van Zuijlen wrote: > Hi Alan, > > Sadly, this is a known bug :-(. I'm working on an overhaul of the migrations, > many of which were created in prehistory, but I'll try to rush a fix for this > particular problem today. > > In the mean time, you can take a look at > > > http://fdv.lighthouseapp.com/projects/11171/tickets/209-single-table-inheritance-problem > > The patch there apparently works (though I have not tested it myself), but DO > be sure to remove it once the migration is done. > > Regards, > Matijs > > On 05/07/2011 00:38, Alan Partis wrote: > > I'm setting up a fresh typo 6.0.5 installation. Downloaded and untarred > > the 6.0.5 tarball. Ran 'bundle install' and then tried rake db:migrate > > RAILS_ENV=production. The database existed, but was empty. I expected > > everything to run smoothly, of course, so I am surprised to be seeing > > this: > > > > --- > > > > Creating shortened URL for existing contents, this may take a moment > > rake aborted! > > An error has occurred, all later migrations canceled: > > > > The single-table inheritance mechanism failed to locate the subclass: > > 'Page'. This error is raised because the column 'type' is reserved for > > storing the class in case of inheritance. Please rename this column if you > > didn't intend it to be used for storing the inheritance class or overwrite > > Content.inheritance_column to use another column for that information. > > > > Tasks: TOP => db:migrate > > (See full trace by running task with --trace) > > > > --- > > > > > > > > What am I missing? I can't imagine there is/was a problem with the > > database as I'm staring with a fresh empty database. Any thoughts? > > > > Thanks. > > > > > > > > _______________________________________________________ > > Alan Partis > > thundernet development group From dag at sonsorol.org Wed Jul 6 08:56:54 2011 From: dag at sonsorol.org (Chris Dagdigian) Date: Wed, 06 Jul 2011 08:56:54 -0400 Subject: [typo] after Typo 6.0.4 upgrade - can't activate any sidebars Message-ID: <4E145B96.6000104@sonsorol.org> Hi folks, Followed the upgrade instructions a while back but experienced a really odd case not covered by the upgrade warnings. I have an empty sidebar and I can't add anything, including the standard built-in elements. The site is http://gridengine.info The error when I try to add a simple sidebar like "Categories" appears to be this: > > NoMethodError (undefined method `inject' for nil:NilClass): > app/controllers/admin/sidebar_controller.rb:26:in `set_active' > The symptom in the admin interface is the "spinning" icon hanging forever. Basically the blog engine is up but I can't add anything to the sidebar. Any tips/tricks would be appreciated. Regards, Chris From matijs at matijs.net Fri Jul 8 11:25:08 2011 From: matijs at matijs.net (Matijs van Zuijlen) Date: Fri, 08 Jul 2011 17:25:08 +0200 Subject: [typo] db migrate failure in new 6.0.5 In-Reply-To: References: <4E12D062.3020901@matijs.net> Message-ID: <4E172154.1000603@matijs.net> Hi Alan, I thought I understood the issues involved in this bug, but apparently I didn't. I have now committed what I think is the Ultimate Fix(TM) for this bug. Please check it out if you like. Regards, Matijs On 07/06/2011 04:38 AM, Alan Partis wrote: > Matijs, > > I went ahead and pulled down a clone of the typo git repo and noted in the > git log that you committed a change that says it fixes issue #209. Given > your fix, I chose to re-attempt my typo install using this code instead of > making the patch to 6.0.5. Unfortunately, the problem as described below > persists. > > Is it possible that commit #a7964f4 was subsequently re-broken by one of > the two following commits? > > For the time being, I've decided to just work with 6.0.5 and the patch. > > Thanks. > > _______________________________________________________ > Alan Partis > thundernet development group > > > On Tue, 5 Jul 2011, Matijs van Zuijlen wrote: > >> Hi Alan, >> >> Sadly, this is a known bug :-(. I'm working on an overhaul of the migrations, >> many of which were created in prehistory, but I'll try to rush a fix for this >> particular problem today. >> >> In the mean time, you can take a look at >> >> >> http://fdv.lighthouseapp.com/projects/11171/tickets/209-single-table-inheritance-problem >> >> The patch there apparently works (though I have not tested it myself), but DO >> be sure to remove it once the migration is done. >> >> Regards, >> Matijs >> >> On 05/07/2011 00:38, Alan Partis wrote: >>> I'm setting up a fresh typo 6.0.5 installation. Downloaded and untarred >>> the 6.0.5 tarball. Ran 'bundle install' and then tried rake db:migrate >>> RAILS_ENV=production. The database existed, but was empty. I expected >>> everything to run smoothly, of course, so I am surprised to be seeing >>> this: >>> >>> --- >>> >>> Creating shortened URL for existing contents, this may take a moment >>> rake aborted! >>> An error has occurred, all later migrations canceled: >>> >>> The single-table inheritance mechanism failed to locate the subclass: >>> 'Page'. This error is raised because the column 'type' is reserved for >>> storing the class in case of inheritance. Please rename this column if you >>> didn't intend it to be used for storing the inheritance class or overwrite >>> Content.inheritance_column to use another column for that information. >>> >>> Tasks: TOP => db:migrate >>> (See full trace by running task with --trace) >>> >>> --- >>> >>> >>> >>> What am I missing? I can't imagine there is/was a problem with the >>> database as I'm staring with a fresh empty database. Any thoughts? >>> >>> Thanks. >>> >>> >>> >>> _______________________________________________________ >>> Alan Partis >>> thundernet development group > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- Matijs From matijs at matijs.net Mon Jul 18 04:54:55 2011 From: matijs at matijs.net (Matijs van Zuijlen) Date: Mon, 18 Jul 2011 10:54:55 +0200 Subject: [typo] after Typo 6.0.4 upgrade - can't activate any sidebars In-Reply-To: <4E145B96.6000104@sonsorol.org> References: <4E145B96.6000104@sonsorol.org> Message-ID: <4E23F4DF.2020009@matijs.net> Hi Chris, I just realized I committed a change this weekend that might fix your issue. The rest of the code is a bit in flux right now, so you may not want to switch to git master for your production blog :-). However, you might try applying the patch from this commit: https://github.com/fdv/typo/commit/ce2e5ac880f09f7ef1699faed56df2016cb05105 Regards, Matijs. On 06/07/2011 14:56, Chris Dagdigian wrote: > > Hi folks, > > Followed the upgrade instructions a while back but experienced a really > odd case not covered by the upgrade warnings. I have an empty sidebar > and I can't add anything, including the standard built-in elements. > > The site is http://gridengine.info > > The error when I try to add a simple sidebar like "Categories" appears > to be this: > >> >> NoMethodError (undefined method `inject' for nil:NilClass): >> app/controllers/admin/sidebar_controller.rb:26:in `set_active' >> > > The symptom in the admin interface is the "spinning" icon hanging > forever. Basically the blog engine is up but I can't add anything to the > sidebar. > > Any tips/tricks would be appreciated. > > Regards, > Chris > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From s0nic0nslaught at gmail.com Thu Jul 21 15:25:18 2011 From: s0nic0nslaught at gmail.com (Jonathan M. Polom) Date: Thu, 21 Jul 2011 15:25:18 -0400 Subject: [typo] Post not showing up on home page Message-ID: First of all I'm pretty new to the typo blogging platform, so figure that I have no idea how typo works. I've managed to get it setup with thin being proxied through a Cherokee web server but I do not know the ins-and-outs of typo itself. Anyway, I wrote my first article today, created a new category to place it in and published it. I can access and read the article by browsing to the category view but the article doesn't show up on the blog's home page. I have no idea what could be causing this. I thought it would just show up. I know there was a default article that came with the blogging platform after installation but I deleted that article. The article I wrote today was created as a new article. Any help on resolving this is appreciated. -- Jon Polom From frederic at de-villamil.com Thu Jul 21 15:42:14 2011 From: frederic at de-villamil.com (Frederic de Villamil) Date: Thu, 21 Jul 2011 21:42:14 +0200 Subject: [typo] Post not showing up on home page In-Reply-To: References: Message-ID: Le 21 juil. 2011 ? 21:25, Jonathan M. Polom a ?crit : > First of all I'm pretty new to the typo blogging platform, so figure > that I have no idea how typo works. I've managed to get it setup with > thin being proxied through a Cherokee web server but I do not know the > ins-and-outs of typo itself. > > Anyway, I wrote my first article today, created a new category to > place it in and published it. I can access and read the article by > browsing to the category view but the article doesn't show up on the > blog's home page. I have no idea what could be causing this. I thought > it would just show up. I know there was a default article that came > with the blogging platform after installation but I deleted that > article. The article I wrote today was created as a new article. > > Any help on resolving this is appreciated. > Hello Jon, First thank you for using our carefully crafted blogging engine, we're always happy to hear from a new user. Please, can you login into the admin -> settings -> cache, remove all cache, then go to your blog homepage and hit ctrl+f5 to be sure you're not displaying a cached page. If this doesn't work, can you: ? tell me which typo version and which theme you're using. ? send me the content of log/production.log when you try to load the homepage Best regards, Frederic -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From s0nic0nslaught at gmail.com Thu Jul 21 17:29:29 2011 From: s0nic0nslaught at gmail.com (Jonathan M. Polom) Date: Thu, 21 Jul 2011 17:29:29 -0400 Subject: [typo] Post not showing up on home page In-Reply-To: References: Message-ID: Frederic: Thanks for getting back with me so quickly. I have to say typo has awesome support if the main dev responds within two hours to a mailing list question. Anyway, I just checked the main page from my browser on a different machine than that from which I was experiencing problems on and I see the article now. It must have been a cached page. I figured since it looked like it was loaded via ajax cache wouldn't have been an issue. As for the cache clearing step you suggested though, were you referring to clearing browser cache or some kind of cache for the typo application? I looked in the typo admin panel under settings and found no such mention of "cache." Just curious for the future. I assume you mean browser cache. Thanks a lot. On Thu, Jul 21, 2011 at 3:42 PM, Frederic de Villamil wrote: > Le 21 juil. 2011 ? 21:25, Jonathan M. Polom a ?crit : > >> First of all I'm pretty new to the typo blogging platform, so figure >> that I have no idea how typo works. I've managed to get it setup with >> thin being proxied through a Cherokee web server but I do not know the >> ins-and-outs of typo itself. >> >> Anyway, I wrote my first article today, created a new category to >> place it in and published it. I can access and read the article by >> browsing to the category view but the article doesn't show up on the >> blog's home page. I have no idea what could be causing this. I thought >> it would just show up. I know there was a default article that came >> with the blogging platform after installation but I deleted that >> article. The article I wrote today was created as a new article. >> >> Any help on resolving this is appreciated. >> > > Hello Jon, > > First thank you for using our carefully crafted blogging engine, we're always happy to hear from a new user. > > Please, can you login into the admin -> settings -> cache, remove all cache, then go to your blog homepage and hit ctrl+f5 to be sure you're not displaying a cached page. > > If this doesn't work, can you: > ? ?tell me which typo version and which theme you're using. > ? send me the content of log/production.log when you try to load the homepage > > Best regards, > Frederic > > -- > Fr?d?ric de Villamil > "What's mine is mine. What's yours is still unsetteled" ? Go player proverb > frederic at de-villamil.com ? ? ? ? ? ? ? ? ? ? ? ?tel: +33 (0)6 62 19 1337 > http://t37.net ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Typo : http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Jon Polom From frederic at de-villamil.com Fri Jul 22 08:02:50 2011 From: frederic at de-villamil.com (Frederic de Villamil) Date: Fri, 22 Jul 2011 14:02:50 +0200 Subject: [typo] Post not showing up on home page In-Reply-To: References: Message-ID: <19FD2F61-6B93-4029-BCB3-710CA1521E90@de-villamil.com> Le 21 juil. 2011 ? 23:29, Jonathan M. Polom a ?crit : > Frederic: Thanks for getting back with me so quickly. I have to say > typo has awesome support if the main dev responds within two hours to > a mailing list question. Anyway, I just checked the main page from my > browser on a different machine than that from which I was experiencing > problems on and I see the article now. It must have been a cached > page. I figured since it looked like it was loaded via ajax cache > wouldn't have been an issue. > > As for the cache clearing step you suggested though, were you > referring to clearing browser cache or some kind of cache for the typo > application? I looked in the typo admin panel under settings and found > no such mention of "cache." Just curious for the future. I assume you > mean browser cache. > > Thanks a lot. Hi Jonathan, You're lucky: I'm in vacation and the weather has just been horrible for a week, which explains why I've been so fast relying. This aside, depending on which Typo version you're running, you may find the link to the cache clearing page at http:///admin/cache Best regards, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From s0nic0nslaught at gmail.com Fri Jul 22 12:41:01 2011 From: s0nic0nslaught at gmail.com (Jonathan M. Polom) Date: Fri, 22 Jul 2011 12:41:01 -0400 Subject: [typo] Post not showing up on home page In-Reply-To: <19FD2F61-6B93-4029-BCB3-710CA1521E90@de-villamil.com> References: <19FD2F61-6B93-4029-BCB3-710CA1521E90@de-villamil.com> Message-ID: I'm running 6.0.4 and I tried that URL and typo claimed it couldn't find the page. Another question if you don't mind; is it possible to enable SSL for the admin section of the blog? I could obviously enable URL rewriting in my web server configuration but I'd prefer to use a method at the application level. Thanks for the help. On Fri, Jul 22, 2011 at 8:02 AM, Frederic de Villamil < frederic at de-villamil.com> wrote: > > Le 21 juil. 2011 ? 23:29, Jonathan M. Polom a ?crit : > > > Frederic: Thanks for getting back with me so quickly. I have to say > > typo has awesome support if the main dev responds within two hours to > > a mailing list question. Anyway, I just checked the main page from my > > browser on a different machine than that from which I was experiencing > > problems on and I see the article now. It must have been a cached > > page. I figured since it looked like it was loaded via ajax cache > > wouldn't have been an issue. > > > > As for the cache clearing step you suggested though, were you > > referring to clearing browser cache or some kind of cache for the typo > > application? I looked in the typo admin panel under settings and found > > no such mention of "cache." Just curious for the future. I assume you > > mean browser cache. > > > > Thanks a lot. > > > Hi Jonathan, > > You're lucky: I'm in vacation and the weather has just been horrible for a > week, which explains why I've been so fast relying. > > This aside, depending on which Typo version you're running, you may find > the link to the cache clearing page at http:///admin/cache > > Best regards, > Fr?d?ric > -- > Fr?d?ric de Villamil > "What's mine is mine. What's yours is still unsetteled" ? Go player proverb > frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > http://t37.net Typo : > http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Jon Polom -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic at de-villamil.com Fri Jul 22 15:24:00 2011 From: frederic at de-villamil.com (Frederic de Villamil) Date: Fri, 22 Jul 2011 21:24:00 +0200 Subject: [typo] Post not showing up on home page In-Reply-To: References: <19FD2F61-6B93-4029-BCB3-710CA1521E90@de-villamil.com> Message-ID: Le 22 juil. 2011 ? 18:41, Jonathan M. Polom a ?crit : > I'm running 6.0.4 and I tried that URL and typo claimed it couldn't find the page. Another question if you don't mind; is it possible to enable SSL for the admin section of the blog? I could obviously enable URL rewriting in my web server configuration but I'd prefer to use a method at the application level. > > Thanks for the help. I see, this feature was added in 6.0.5 which explains why you can't see it. Enabling SSL for the admin is unfortunately something you'll have to do with a redirection to your WebServer. However, if someone want to push a patch to enable it on the application side, I'm OK to consider it :-) Have a nice day, Frederic -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org