From paul.p.carey at gmail.com Sat Feb 2 14:13:34 2008 From: paul.p.carey at gmail.com (Paul Carey) Date: Sat, 2 Feb 2008 19:13:34 +0000 Subject: [typo] Caching problems with Typo 5.0.2 In-Reply-To: <13ae4dd50801291520j1d7aa8j611ae6b2685a7e7e@mail.gmail.com> References: <13ae4dd50801291520j1d7aa8j611ae6b2685a7e7e@mail.gmail.com> Message-ID: <13ae4dd50802021113y57446e12yd355da207551cea5@mail.gmail.com> Hi I'm still seeing caching issues that puzzle me, but maybe what I see is expected behaviour. After installing typo and publishing an article, the contents of the blog landing page are written to public/index.html. However, after I modify the article and save, public/index.html is not updated and old content is served. Is this correct? Similarly, after publishing the first article I checked Article and Comments on the Syndication plugin. Pages that I hadn't previously accessed display the sidebar correctly. Those that I accessed before updating the plugin do not contain the feed links. On my previous installation I had observed similar behaviour and so deleted out-of-date files from the public dir. This fixed the caching issue but pages were never written out to disk again. Clicking Empty Fragment Cache, running typo sweep_cache and rake sweep_cache have had no effect. I'd be very grateful if someone could point out whether this behaviour is as expected, or whether I might have mis-configured something. Kind regards Paul On Jan 29, 2008 11:20 PM, Paul Carey wrote: > I deleted everything in typo/public that had a datestamp after the > installation time. Nothing seems to be cached erroneously any longer. > Regards > Paul > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080202/87a10c6b/attachment.html From kevwil at gmail.com Sat Feb 2 16:17:55 2008 From: kevwil at gmail.com (Kevin Williams) Date: Sat, 2 Feb 2008 14:17:55 -0700 Subject: [typo] Caching problems with Typo 5.0.2 In-Reply-To: <13ae4dd50802021113y57446e12yd355da207551cea5@mail.gmail.com> References: <13ae4dd50801291520j1d7aa8j611ae6b2685a7e7e@mail.gmail.com> <13ae4dd50802021113y57446e12yd355da207551cea5@mail.gmail.com> Message-ID: <683a886f0802021317m7f747b56k5c3a45d6b747f514@mail.gmail.com> I turned caching off alltogether, and now my Typo seems to run fine. :( On Feb 2, 2008 12:13 PM, Paul Carey wrote: > Hi > > I'm still seeing caching issues that puzzle me, but maybe what I see is > expected behaviour. > > After installing typo and publishing an article, the contents of the blog > landing page are written to public/index.html. However, after I modify the > article and save, public/index.html is not updated and old content is > served. Is this correct? > > Similarly, after publishing the first article I checked Article and Comments > on the Syndication plugin. Pages that I hadn't previously accessed display > the sidebar correctly. Those that I accessed before updating the plugin do > not contain the feed links. > > On my previous installation I had observed similar behaviour and so deleted > out-of-date files from the public dir. This fixed the caching issue but > pages were never written out to disk again. > > Clicking Empty Fragment Cache, running typo sweep_cache and rake sweep_cache > have had no effect. > > I'd be very grateful if someone could point out whether this behaviour is as > expected, or whether I might have mis-configured something. > > Kind regards > > Paul > > > > > > On Jan 29, 2008 11:20 PM, Paul Carey wrote: > > > I deleted everything in typo/public that had a datestamp after the > installation time. Nothing seems to be cached erroneously any longer. > > Regards > > Paul > > > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Cheers, Kevin Williams http://www.bantamtech.com/ http://www.almostserio.us/ http://kevwil.com/ From phil at pricom.com.au Sat Feb 2 21:07:27 2008 From: phil at pricom.com.au (Phil Rhoades) Date: Sun, 03 Feb 2008 13:07:27 +1100 Subject: [typo] Changing from Admin to Admin-advanced Message-ID: <1202004447.663.243.camel@prix.pricom.com.au> People, Typo looks like just what I want and I produced a test site and did a first post but two things: - I can't work out how to change Admin to Admin-advanced mode - I can't work out how to change an existing post ie do corrections Thanks, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia Fax: +61:(0)2-8221-9599 E-mail: phil at pricom.com.au From pdcawley at bofh.org.uk Mon Feb 4 04:51:37 2008 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 4 Feb 2008 09:51:37 +0000 Subject: [typo] Caching problems with Typo 5.0.2 In-Reply-To: <13ae4dd50802021113y57446e12yd355da207551cea5@mail.gmail.com> References: <13ae4dd50801291520j1d7aa8j611ae6b2685a7e7e@mail.gmail.com> <13ae4dd50802021113y57446e12yd355da207551cea5@mail.gmail.com> Message-ID: <897e96cc0802040151g69e48a75g25072784f4ee723d@mail.gmail.com> On Feb 2, 2008 7:13 PM, Paul Carey wrote: > Hi > > I'm still seeing caching issues that puzzle me, but maybe what I see is > expected behaviour. > > After installing typo and publishing an article, the contents of the blog > landing page are written to public/index.html. However, after I modify the > article and save, public/index.html is not updated and old content is > served. Is this correct? > > Similarly, after publishing the first article I checked Article and Comments > on the Syndication plugin. Pages that I hadn't previously accessed display > the sidebar correctly. Those that I accessed before updating the plugin do > not contain the feed links. > > On my previous installation I had observed similar behaviour and so deleted > out-of-date files from the public dir. This fixed the caching issue but > pages were never written out to disk again. > > Clicking Empty Fragment Cache, running typo sweep_cache and rake sweep_cache > have had no effect. > > I'd be very grateful if someone could point out whether this behaviour is as > expected, or whether I might have mis-configured something. Definitely not correct behaviour - I've been short of time to look at Typo recently, but I'll certainly be looking into these caching issues as soon as I'm back in the saddle. From gwhilts at gmail.com Tue Feb 5 00:05:27 2008 From: gwhilts at gmail.com (Jerry) Date: Mon, 4 Feb 2008 21:05:27 -0800 Subject: [typo] Better docs? Message-ID: <94609531-EBB3-4623-ACA3-E3D90BDDE788@gmail.com> Cheers. I'm wondering if someone can point a newbie toward some documentation. The docs on typosphere are pretty sparse. In particular, I'm looking for info on configuring permissions for "contributors", "publishers" and "administrators". Intuitively, I would think that that users with these different profiles would have certain sets of permissions, but their doesn't seem to be any restrictions at all. My "contributors" appear to have full admin rights. j. From crazy.bisht at gmail.com Wed Feb 6 13:00:16 2008 From: crazy.bisht at gmail.com (Sanjay Bisht) Date: Wed, 6 Feb 2008 23:30:16 +0530 Subject: [typo] Theme support 5.0.2 Message-ID: Hi, I just tried porting Typo to 5.0.2 from 4.1.1 on my localhost first. While everything worked fine, and my db was also migrated, the themes seem to have some problem. Can anyone please guide me as to what might be the problem. I get a "template missing" error saying that the "default layout" could not be located. I have simply copied the whole theme folder that I had created in 4.1.1 (where it is working fine). Can somebody please help me on the changes that have been made to the theme structure. Thanks and regards Sanjay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080206/04c4e97b/attachment.html From frederic at de-villamil.com Wed Feb 6 13:12:20 2008 From: frederic at de-villamil.com (Frederic de Villamil) Date: Wed, 6 Feb 2008 19:12:20 +0100 Subject: [typo] Theme support 5.0.2 In-Reply-To: References: Message-ID: <221804FC-39A5-4482-81F3-EF747D40B4BC@de-villamil.com> Hello, You need to rename your theme files from .rhtml to html.erb Cheers, Fr?d?ric Le 6 f?vr. 08 ? 19:00, Sanjay Bisht a ?crit : > Hi, > > I just tried porting Typo to 5.0.2 from 4.1.1 on my localhost first. > While everything worked fine, and my db was also migrated, the > themes seem to have some problem. > > Can anyone please guide me as to what might be the problem. I get a > "template missing" error saying that the "default layout" could not > be located. I have simply copied the whole theme folder that I had > created in 4.1.1 (where it is working fine). > > Can somebody please help me on the changes that have been made to > the theme structure. > > Thanks and regards > Sanjay > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From crazy.bisht at gmail.com Wed Feb 13 14:16:28 2008 From: crazy.bisht at gmail.com (Sanjay Bisht) Date: Thu, 14 Feb 2008 00:46:28 +0530 Subject: [typo] need some help regarding the views Message-ID: Hi, I was going through the views, but I am unable to locate the views for the sidebars..I mean I do find the _sidebar partial, but where exactly is the final HTML generated from, because the generated output is something like this

Categories

I was wondering if I could include the inside the , which gives a better look and is easier to style. I would be really glad if someone could really help me with this. -- Cheers! S www.bishtblogs.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080214/48e8e2e7/attachment.html From pdcawley at bofh.org.uk Thu Feb 14 01:47:22 2008 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 14 Feb 2008 06:47:22 +0000 Subject: [typo] need some help regarding the views In-Reply-To: References: Message-ID: <897e96cc0802132247p10d587aax5fe79c472168ade2@mail.gmail.com> On Feb 13, 2008 7:16 PM, Sanjay Bisht wrote: > Hi, > > I was going through the views, but I am unable to locate the views for the > sidebars..I mean I do find the _sidebar partial, but where exactly is the > final HTML generated from, because the generated output is something like > this Sidebars are plugins, so if you look in the plugin directory you'll find vendor/plugins/category_sidebar/views/content.rhtml which is the view you seek. From pat at occamsmachete.com Sat Feb 16 11:17:05 2008 From: pat at occamsmachete.com (Pat Ferrel) Date: Sat, 16 Feb 2008 08:17:05 -0800 Subject: [typo] Typo on mongrel + apache + ubuntu In-Reply-To: Message-ID: I have typo running on mongrel proxied thru apache2. But I have two problems: * If a page request comes in while mongrel/typo is down I get an error but when typo comes back up I see it on the port mongrel uses but apachecontinues to give the error. I have to restart apache to get things back in sync. Why? * What form should my sysv init.d scripts take? I created the one below to get around my apache restart problem but I see other talk about starting mongrel instead of typo on reboot. Which is right? Can someone point me to a good init.d script that can be used for typo? #!/bin/bash # Starts the ruby mongrel server that runs the occamsmachete blog # case "$1" in start) cd /home/pat/blog typo start . /etc/init.d/apache2 restart ;; stop) cd /home/pat/blog typo stop . ;; restart) cd /home/pat/blog typo restart . /etc/init.d/apache2 restart ;; sweep_cache) cd /home/pat/blog typo sweep_cache . ;; *) log_action_msg "Usage: /etc/init.d/typo {start|stop|restart|sweep_cache}" exit 2 ;; esac exit 0 I guess this is a mongrel question but thought I?d try first here in case another typo user has run into this. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080216/56bb01f2/attachment.html From damm at yazzy.org Sat Feb 16 15:16:10 2008 From: damm at yazzy.org (Scott Likens) Date: Sat, 16 Feb 2008 12:16:10 -0800 Subject: [typo] Typo on mongrel + apache + ubuntu In-Reply-To: References: Message-ID: <6156285D-D805-4A60-B0D4-2508BE4B8ADC@yazzy.org> Pat, Unfortunately that is an Apache thing, what it does is determine that the service it is connecting to as a proxy is down, and it remembers that it is down. You would see in the apache error_log (for example) [Sat Feb 16 11:55:38 2008] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:4485 (xxx.xxxxx.xxx) fad [Sat Feb 16 11:55:38 2008] [error] ap_proxy_connect_backend disabling worker for (xxx.xxxxx.xxx) [Sat Feb 16 11:55:38 2008] [error] proxy: HTTP: disabled connection for (xxx.xxxxx.xxx) Sometimes, a hard refresh after starting/stopping typo will resolve it without restarting apache. However that is really a limitation of apache and has nothing to do with mongrel or typo. :( As far as your init script, it looks fine... you might have a case where when you stop apache it doesn't kill all of it's children and the restart fails... not very likely since it's a restart but I've seen it happen. BTW, I just did that, it disabled it, re-started typo and it started working again without restarting apache... running Apache 2.2.8 Hope that helps. Scott On Feb 16, 2008, at 8:17 AM, Pat Ferrel wrote: > I have typo running on mongrel proxied thru apache2. But I have two > problems: > If a page request comes in while mongrel/typo is down I get an error > but when typo comes back up I see it on the port mongrel uses but > apachecontinues to give the error. I have to restart apache to get > things back in sync. Why? > What form should my sysv init.d scripts take? I created the one > below to get around my apache restart problem but I see other talk > about starting mongrel instead of typo on reboot. Which is right? > Can someone point me to a good init.d script that can be used for > typo? > > #!/bin/bash > # Starts the ruby mongrel server that runs the occamsmachete blog > # > > case "$1" in > start) cd /home/pat/blog > typo start . > /etc/init.d/apache2 restart > ;; > stop) cd /home/pat/blog > typo stop . > ;; > restart) cd /home/pat/blog > typo restart . > /etc/init.d/apache2 restart > ;; > sweep_cache) cd /home/pat/blog > typo sweep_cache . > ;; > *) log_action_msg "Usage: /etc/init.d/typo {start|stop|restart| > sweep_cache}" > exit 2 > ;; > esac > exit 0 > > > I guess this is a mongrel question but thought I?d try first here in > case another typo user has run into this. !DSPAM: > 47b71d137561804284693! > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > !DSPAM:47b71d137561804284693! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080216/b7cf8562/attachment-0001.html From bill at bfccomputing.com Fri Feb 22 01:53:56 2008 From: bill at bfccomputing.com (Bill McGonigle) Date: Fri, 22 Feb 2008 01:53:56 -0500 Subject: [typo] Working with Trackback object Message-ID: <79B7341D-9A37-41DD-A079-836701D6E999@bfccomputing.com> This might be an elementary ruby/rails question... sorry for the noob if it is... I'm working on a script to clean up my trackbacks. I'm having great success using script/console and the Trackback object. What I want to do now is to write my own ruby script to process things, and I'd like to use the Trackback object from it. I naively added: require File.dirname(__FILE__) + '/../config/boot' to my script, but that wasn't it... :( Could somebody set me down the proper path? Thanks, -Bill ----- Bill McGonigle, Owner Work: 603.448.4440 BFC Computing, LLC Home: 603.448.1668 bill at bfccomputing.com Cell: 603.252.2606 http://www.bfccomputing.com/ Page: 603.442.1833 Blog: http://blog.bfccomputing.com/ VCard: http://bfccomputing.com/vcard/bill.vcf From bill at bfccomputing.com Fri Feb 22 01:57:05 2008 From: bill at bfccomputing.com (Bill McGonigle) Date: Fri, 22 Feb 2008 01:57:05 -0500 Subject: [typo] Typo on mongrel + apache + ubuntu In-Reply-To: <6156285D-D805-4A60-B0D4-2508BE4B8ADC@yazzy.org> References: <6156285D-D805-4A60-B0D4-2508BE4B8ADC@yazzy.org> Message-ID: <3B7842D9-5BFE-4E05-9FF4-06D060CF199A@bfccomputing.com> On Feb 16, 2008, at 15:16, Scott Likens wrote: > [Sat Feb 16 11:55:38 2008] [error] proxy: HTTP: disabled connection > for (xxx.xxxxx.xxx) Hmm, I've had typo not start on me on more than one occasion and my apache hasn't done this. I wonder what's different about my config. I'm using: RewriteEngine On RewriteRule /(.*) http://localhost:8080/$1 [P,L] ProxyPassReverse / http://localhost:8080/ -Bill ----- Bill McGonigle, Owner Work: 603.448.4440 BFC Computing, LLC Home: 603.448.1668 bill at bfccomputing.com Cell: 603.252.2606 http://www.bfccomputing.com/ Page: 603.442.1833 Blog: http://blog.bfccomputing.com/ VCard: http://bfccomputing.com/vcard/bill.vcf From bill at bfccomputing.com Fri Feb 22 01:48:35 2008 From: bill at bfccomputing.com (Bill McGonigle) Date: Fri, 22 Feb 2008 01:48:35 -0500 Subject: [typo] Akismet for trackbacks? (4.1.1) Message-ID: <74D27A92-77FF-4361-A5A2-6333BF297E47@bfccomputing.com> Hi, folks, Does anybody have Akismet working with trackbacks on 4.1.1? I have no problems with comment spam, but I've got a few posts today with a few thousand trackback spams each. :( No wonder my systems monitor paged me last night that the blog was responding slowly... Thanks, -Bill ----- Bill McGonigle, Owner Work: 603.448.4440 BFC Computing, LLC Home: 603.448.1668 bill at bfccomputing.com Cell: 603.252.2606 http://www.bfccomputing.com/ Page: 603.442.1833 Blog: http://blog.bfccomputing.com/ VCard: http://bfccomputing.com/vcard/bill.vcf From pat at occamsmachete.com Fri Feb 22 11:08:46 2008 From: pat at occamsmachete.com (Pat Ferrel) Date: Fri, 22 Feb 2008 08:08:46 -0800 Subject: [typo] Typo on mongrel + apache + ubuntu In-Reply-To: <3B7842D9-5BFE-4E05-9FF4-06D060CF199A@bfccomputing.com> Message-ID: I?m using the virtual host def that came with the most recent typo shown below. Do you have sysv init.d scripts to start typo? ServerName blog.occamsmachete.com ServerAlias www.blog.occamsmachete.com # Change this to your email address ServerAdmin pat at occamsmachete.com # Change these to be valid paths for your host. The DocumentRoot path # isn't very important because we don't actually use it for anything. # For security's sake, it's best that it points to an empty directory, # but that's not critical. DocumentRoot /var/www/blog ErrorLog /var/log/apache2/blog_error.log CustomLog /var/log/apache2/blog_access.log combined ServerSignature On # This is the important part--it sets up proxying. ProxyRequests Off Order deny,allow Allow from all ProxyPass / http://localhost:4155/ ProxyPassReverse / http://localhost:4155/ ProxyPreserveHost On On 2/21/08 10:57 PM, "Bill McGonigle" wrote: > On Feb 16, 2008, at 15:16, Scott Likens wrote: > >> > [Sat Feb 16 11:55:38 2008] [error] proxy: HTTP: disabled connection >> > for (xxx.xxxxx.xxx) > > Hmm, I've had typo not start on me on more than one occasion and my > apache hasn't done this. I wonder what's different about my config. > > I'm using: > > RewriteEngine On > RewriteRule /(.*) http://localhost:8080/$1 [P,L] > ProxyPassReverse / http://localhost:8080/ > > -Bill > > > ----- > Bill McGonigle, Owner Work: 603.448.4440 > BFC Computing, LLC Home: 603.448.1668 > bill at bfccomputing.com Cell: 603.252.2606 > http://www.bfccomputing.com/ Page: 603.442.1833 > Blog: http://blog.bfccomputing.com/ > VCard: http://bfccomputing.com/vcard/bill.vcf > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080222/1de19ed7/attachment.html From 790506 at gmail.com Sun Feb 24 03:58:36 2008 From: 790506 at gmail.com (imfly) Date: Sun, 24 Feb 2008 16:58:36 +0800 Subject: [typo] An exception when create a new post with typo5.0.2 Message-ID: hi, I get the follow log When i create a post. //////// Processing ContentController#new (for 127.0.0.1 at 2008-02-24 11:01:21) [POST] Session ID: eaa8a78eceaa91a9e10b1c09bb8b89c7 Parameters: {"article"=>{"permalink"=>"", "allow_pings"=>"0", "title"=>"bh", "body"=>"

hhh

", "published"=>"1", "published_at(1i)"=>"2008", "extended"=>"", "published_at(2i)"=>"2", "published_at(3i)"=>"24", "published_at(4i)"=>"11", "published_at(5i)"=>"01", "keywords"=>"", "allow_comments"=>"1"}, "action"=>"new", "controller"=>"admin/content", "attachments"=>{"filename_1"=>""}, "text_filter"=>"markdown smartypants"} Trigger Load (0.000500) SELECT * FROM `triggers` WHERE (due_at <= '2008-02-24 11:01:21') SQL (0.000795) SHOW TABLES Blog Columns (0.000875) SHOW FIELDS FROM `blogs` Blog Load (0.000477) SELECT * FROM `blogs` ORDER BY id LIMIT 1 User Columns (0.001376) SHOW FIELDS FROM `users` User Load (0.000787) SELECT * FROM `users` WHERE (`users`.`id` = 1) SQL (0.000235) SELECT version FROM schema_info CACHE (0.000000) SELECT * FROM `blogs` ORDER BY id LIMIT 1 # leaving state Article::States::New # entering state Article::States::JustPublished # leaving state Article::States::JustPublished # entering state Article::States::Published Category Load (0.000474) SELECT * FROM `categories` ORDER BY UPPER(name), position ASC undefined method `original_filename' for "":String SQL (0.000132) BEGIN Article Load (0.001201) SELECT * FROM `contents` WHERE (contents.guid IS NULL) AND ( (`contents`.`type` = 'Article' ) ) LIMIT 1 Blog Load (0.000348) SELECT * FROM `blogs` WHERE (`blogs`.`id` = 1) Article Create (0.000311) INSERT INTO `contents` (`allow_pings`, `name`, `permalink`, `updated_at`, `body`, `guid`, `title`, `published`, `author`, `type`, `excerpt`, `text_filter_id`, `blog_id`, `extended`, `whiteboard`, `published_at`, `user_id`, `allow_comments`, `created_at`, `keywords`, `state`) VALUES(0, NULL, 'bh', '2008-02-24 11:01:21', '

hhh

', '446084c3-626e-426c-aa35-355dd7abe7be', 'bh', 1, 'admin', 'Article', NULL, NULL, 1, '', NULL, '2008-02-24 11:01:00', 1, 1, '2008-02-24 11:01:21', '', 'published') User Load (0.000718) SELECT * FROM `users` WHERE (notify_on_new_articles = 1) User Load (0.000894) SELECT users.* FROM users INNER JOIN notifications ON users.id = notifications.user_id WHERE ((notifications.content_id = 10)) CACHE (0.000000) SELECT * FROM `users` WHERE (notify_on_new_articles = 1) SQL (0.000635) SHOW TABLES TextFilter Columns (0.001012) SHOW FIELDS FROM `text_filters` TextFilter Load (0.000512) SELECT * FROM `text_filters` WHERE (`text_filters`.`name` = 'markdown smartypants') LIMIT 1 Ping Load (0.000656) SELECT * FROM `pings` WHERE (pings.article_id = 10) ORDER BY created_at ASC Ping Columns (0.000873) SHOW FIELDS FROM `pings` Article Load (0.001224) SELECT * FROM `contents` WHERE (`contents`.`id` = 10) AND ( (`contents`.`type` = 'Article' ) ) Blog Load (0.000363) SELECT * FROM `blogs` WHERE (`blogs`.`id` = 1) CACHE (0.000000) SELECT * FROM `contents` WHERE (`contents`.`id` = 10) AND ( (`contents`.`type` = 'Article' ) ) CACHE (0.000000) SELECT * FROM `blogs` WHERE (`blogs`.`id` = 1) HTTP-Error: 405 Method Not Allowed CACHE (0.000000) SELECT * FROM `contents` WHERE (`contents`.`id` = 10) AND ( (`contents`.`type` = 'Article' ) ) CACHE (0.000000) SELECT * FROM `blogs` WHERE (`blogs`.`id` = 1) Join Table Columns (0.004942) SHOW FIELDS FROM `articles_tags` Tag Load (0.000773) SELECT * FROM `tags` INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 10 ) SQL (0.022399) COMMIT Categorization Load (0.000861) SELECT * FROM `categorizations` WHERE ( categorizations.article_id = 10) Redirected to http://localhost:3000/admin/content/show/10 Completed in 5.22495 (0 reqs/sec) | DB: 0.05974 (1%) | 302 Found [ http://localhost/admin/content/new] ////// thanks zzw -- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080224/a9328294/attachment.html From frederic at de-villamil.com Sun Feb 24 11:56:24 2008 From: frederic at de-villamil.com (Frederic de Villamil) Date: Sun, 24 Feb 2008 17:56:24 +0100 Subject: [typo] [ANN] Typo 5.0.3 Message-ID: Hello, Typo 5.0.3 "Don Mc Cullin" released on February 2008 the 24th is mostly a bugfix and refactoring release, going along with some improvements, everything leading slowly but surely to 5.1. *** Less bugs, more speed *** Typo has never been so fast and so bugless as well. We've rewriten most of the caching engine, and it's now running flawlessly. Our effort to speed up the code has also been pursued and we can be proud of what we're releasing. *** Brand new editor *** The blog editor has been rewriten too, to be more functionnal and user friendly. We've also switched the rich text editor from TinyMCE to FCKEditor for 4 important features : ? Fullscreen edition (kicks ass baby) ? Spellchecking ? Safari compatibility ? Impressive localization *** More localisation *** We're continuing the localization effort to port Typo in your language. Default themes has been localized, and we now provide up to 8 languages : ? English (default) ? French ? German ? Italian ? Japanese ? Mexican Spanish ? Polish ? Romanian Many thanks to all the translators. Currently, only French translation is really complete. *** No gem? *** We won't provide you the habitual gem we used to. Rails app installer ? formerly known as Typo installer ? is brocken with Rails 2.0.2 and Typo instances installed this way just don't work. We hope you'll enjoy Typo 5.0.3 as much as we enjoyed bringing it to you. Cheers, Fr?d?ric de Villamil / neuro` From kevwil at gmail.com Sun Feb 24 12:12:41 2008 From: kevwil at gmail.com (Kevin Williams) Date: Sun, 24 Feb 2008 10:12:41 -0700 Subject: [typo] [ANN] Typo 5.0.3 In-Reply-To: References: Message-ID: <683a886f0802240912o424d1de2kb5616418f11bf714@mail.gmail.com> On Sun, Feb 24, 2008 at 9:56 AM, Frederic de Villamil wrote: > *** No gem? *** > > We won't provide you the habitual gem we used to. Rails app installer > ? formerly known as Typo installer ? is brocken with Rails 2.0.2 and > Typo instances installed this way just don't work. I'm sorry for the stupid question, but how are you distributing Typo now if not by gem? Tarball? Source repository tag? Rsync? Native installer(s)? -- Cheers, Kevin Williams http://bantamtech.com/ http://almostserio.us/ http://kevwil.com/ From codeblogger at gmail.com Sun Feb 24 12:23:32 2008 From: codeblogger at gmail.com (Codeblogger) Date: Sun, 24 Feb 2008 20:23:32 +0300 Subject: [typo] [ANN] Typo 5.0.3 In-Reply-To: <683a886f0802240912o424d1de2kb5616418f11bf714@mail.gmail.com> References: <683a886f0802240912o424d1de2kb5616418f11bf714@mail.gmail.com> Message-ID: <1a3b35960802240923u33418531m78dbab9e9731bc7d@mail.gmail.com> Tarball seems to be the weapon of choice: http://www.typosphere.org/pages/download -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080224/19ce6902/attachment.html From frederic at de-villamil.com Sun Feb 24 13:08:07 2008 From: frederic at de-villamil.com (Frederic de Villamil) Date: Sun, 24 Feb 2008 19:08:07 +0100 Subject: [typo] [ANN] Typo 5.0.3 In-Reply-To: <1a3b35960802240923u33418531m78dbab9e9731bc7d@mail.gmail.com> References: <683a886f0802240912o424d1de2kb5616418f11bf714@mail.gmail.com> <1a3b35960802240923u33418531m78dbab9e9731bc7d@mail.gmail.com> Message-ID: Le 24 f?vr. 08 ? 18:23, Codeblogger a ?crit : > Tarball seems to be the weapon of choice: > http://www.typosphere.org/pages/download Oh, sorry, I thought I had put the URL in th mail but it was only on the release post at http://blog.typosphere.org/articles/2008/02/24/typo-5-0-3-don-mc-cullin-release Btw Kevin, I'm looking forward seeing your perfs using the now repaired cache. Fr?d?ric -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080224/6d9e4738/attachment.html From kevwil at gmail.com Sun Feb 24 13:30:00 2008 From: kevwil at gmail.com (Kevin Williams) Date: Sun, 24 Feb 2008 11:30:00 -0700 Subject: [typo] [ANN] Typo 5.0.3 In-Reply-To: References: <683a886f0802240912o424d1de2kb5616418f11bf714@mail.gmail.com> <1a3b35960802240923u33418531m78dbab9e9731bc7d@mail.gmail.com> Message-ID: <683a886f0802241030k1202123at51b544985f2f18a8@mail.gmail.com> Yes, I'm looking forward to testing it. Thanks for the clarification on the download. :) On Sun, Feb 24, 2008 at 11:08 AM, Frederic de Villamil wrote: > > > Le 24 f?vr. 08 ? 18:23, Codeblogger a ?crit : > > Tarball seems to be the weapon of choice: > http://www.typosphere.org/pages/download > > Oh, sorry, I thought I had put the URL in th mail but it was only on the > release post at > http://blog.typosphere.org/articles/2008/02/24/typo-5-0-3-don-mc-cullin-release > > Btw Kevin, I'm looking forward seeing your perfs using the now repaired > cache. > Fr?d?ric > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Cheers, Kevin Williams http://bantamtech.com/ http://almostserio.us/ http://kevwil.com/ From kevwil at gmail.com Sun Feb 24 23:25:45 2008 From: kevwil at gmail.com (Kevin Williams) Date: Sun, 24 Feb 2008 21:25:45 -0700 Subject: [typo] [ANN] Typo 5.0.3 In-Reply-To: <683a886f0802241030k1202123at51b544985f2f18a8@mail.gmail.com> References: <683a886f0802240912o424d1de2kb5616418f11bf714@mail.gmail.com> <1a3b35960802240923u33418531m78dbab9e9731bc7d@mail.gmail.com> <683a886f0802241030k1202123at51b544985f2f18a8@mail.gmail.com> Message-ID: <683a886f0802242025i4c823233o6761e748f99c85f3@mail.gmail.com> Here's my status report. With both the action_controller.fragment_cache_store set to :mem_cache_store and CachedModel.use_memcache = true, I get 500 errors at times, especially when using the admin console. If I grep for /Error/ in my logs there are a number of different ones, so I'm not sure what the error is. Before upgrading today, I had config.action_controller.fragment_cache_store commented out and CachedModel.use_memcache set to false. Right now I'm running with the fragment_cache_store set to the original :file_store. I think most of my caching problems stem from my numerous attempts to use memcache as the cache. One final thing. In /admin/resources/list, the sub-nav menu doesn't seem to have the new 'Manage foo' names. On Sun, Feb 24, 2008 at 11:30 AM, Kevin Williams wrote: > Yes, I'm looking forward to testing it. > > Thanks for the clarification on the download. :) > > On Sun, Feb 24, 2008 at 11:08 AM, Frederic de Villamil > > wrote: > > > > > > > > Le 24 f?vr. 08 ? 18:23, Codeblogger a ?crit : > > > > Tarball seems to be the weapon of choice: > > http://www.typosphere.org/pages/download > > > > Oh, sorry, I thought I had put the URL in th mail but it was only on the > > release post at > > http://blog.typosphere.org/articles/2008/02/24/typo-5-0-3-don-mc-cullin-release > > > > Btw Kevin, I'm looking forward seeing your perfs using the now repaired > > cache. > > Fr?d?ric > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > > -- > Cheers, > > Kevin Williams > http://bantamtech.com/ > http://almostserio.us/ > http://kevwil.com/ > -- Cheers, Kevin Williams http://bantamtech.com/ http://almostserio.us/ http://kevwil.com/ From pdcawley at bofh.org.uk Mon Feb 25 02:32:30 2008 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 25 Feb 2008 07:32:30 +0000 Subject: [typo] [ANN] Typo 5.0.3 In-Reply-To: <683a886f0802242025i4c823233o6761e748f99c85f3@mail.gmail.com> References: <683a886f0802240912o424d1de2kb5616418f11bf714@mail.gmail.com> <1a3b35960802240923u33418531m78dbab9e9731bc7d@mail.gmail.com> <683a886f0802241030k1202123at51b544985f2f18a8@mail.gmail.com> <683a886f0802242025i4c823233o6761e748f99c85f3@mail.gmail.com> Message-ID: <897e96cc0802242332x36215fe2h36f326c3a587f094@mail.gmail.com> On Mon, Feb 25, 2008 at 4:25 AM, Kevin Williams wrote: > Here's my status report. > > With both the action_controller.fragment_cache_store set to > :mem_cache_store and CachedModel.use_memcache = true, I get 500 errors > at times, especially when using the admin console. If I grep for > /Error/ in my logs there are a number of different ones, so I'm not > sure what the error is. > > Before upgrading today, I had > config.action_controller.fragment_cache_store commented out and > CachedModel.use_memcache set to false. Right now I'm running with the > fragment_cache_store set to the original :file_store. > > I think most of my caching problems stem from my numerous attempts to > use memcache as the cache. > > One final thing. In /admin/resources/list, the sub-nav menu doesn't > seem to have the new 'Manage foo' names. Ah, memcache support hasn't been a priority with us because we're expecting to see Typo deployed in places where there is no memcache available (my blog's currently running on a site that doesn't even let me run mongrel or thin, it's fcgi all the way). Our recent cache fixing spree has been focussed on getting page caching and sweeping working correctly because the more pages that get served without touching typo, the better. Looking at your blog's sidebar, you should be able to switch to page caching with impunity. From rdominick at gmail.com Mon Feb 25 21:41:18 2008 From: rdominick at gmail.com (R. N. Dominick) Date: Mon, 25 Feb 2008 21:41:18 -0500 Subject: [typo] 5.0.3 error: NoMethodError in ArticlesController#index Message-ID: I recently used svn to update to Typo 5.0.3. After the update I'm getting a 500 Server Error when trying to go to the home page of my blog (http://blog.peekle.net), even though I can use the admin just fine. I ran under WEBrick and got the error in the subject line. Further info (a capture from Lynx): Action Controller: Exception caught (p1 of 8) NoMethodError in ArticlesController#index You have a nil object when you didn't expect it! The error occurred while evaluating nil.lang RAILS_ROOT: /home/xxxx/typo Application Trace | Framework Trace | Full Trace app/controllers/application.rb:46:in `load_lang' vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `send!' vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `call' vendor/rails/actionpack/lib/action_controller/filters.rb:441:in `run' vendor/rails/actionpack/lib/action_controller/filters.rb:718:in `run_before_fil ters' vendor/rails/actionpack/lib/action_controller/filters.rb:697:in `call_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:691:in `perform_action _without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_ac -- press space for next page -- Arrow keys: Up and Down to move. Right to follow a link; Left to go back. Anyone know what's going on here? I'm stumped. From denis at recettesdefamille.com Fri Feb 29 08:42:37 2008 From: denis at recettesdefamille.com (Denis FABIEN) Date: Fri, 29 Feb 2008 08:42:37 -0500 Subject: [typo] undefined local variable or method `published_articles' Message-ID: <47C80BCD.2010400@recettesdefamille.com> Hi I've installed typo via svn on a mongrel/nginx server. All was ok except on thing. When i go to read an article, i've got this message : undefined local variable or method `published_articles' for #. You can see my trouble here : http://beta.miseajour.net/articles/2008/02/27/test Someone can help me ? Thanks From pdcawley at bofh.org.uk Fri Feb 29 15:04:45 2008 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 29 Feb 2008 20:04:45 +0000 Subject: [typo] undefined local variable or method `published_articles' In-Reply-To: <47C80BCD.2010400@recettesdefamille.com> References: <47C80BCD.2010400@recettesdefamille.com> Message-ID: <897e96cc0802291204n75ac60eas80d83a0965281be6@mail.gmail.com> On Fri, Feb 29, 2008 at 1:42 PM, Denis FABIEN wrote: > Hi > > I've installed typo via svn on a mongrel/nginx server. All was ok except > on thing. > > When i go to read an article, i've got this message : > undefined local variable or method `published_articles' for #. > > You can see my trouble here : > http://beta.miseajour.net/articles/2008/02/27/test Strange, i thought I'd got rid of all the calls to that method when I started turning Blog back into a singleton. There was a a broken svn version for a while, but it should have been fixed with r1667. If you do an svn up and still have a problem, it'd be good to see the log entry for the failed request. From denis at recettesdefamille.com Fri Feb 29 15:22:22 2008 From: denis at recettesdefamille.com (Denis FABIEN) Date: Fri, 29 Feb 2008 15:22:22 -0500 Subject: [typo] undefined local variable or method `published_articles' In-Reply-To: <897e96cc0802291204n75ac60eas80d83a0965281be6@mail.gmail.com> References: <47C80BCD.2010400@recettesdefamille.com> <897e96cc0802291204n75ac60eas80d83a0965281be6@mail.gmail.com> Message-ID: <47C8697E.3020803@recettesdefamille.com> I made already made svn up. Here is a part of my log : NameError (undefined local variable or method `published_articles' for #): /vendor/rails/activerecord/lib/active_record/attribute_methods.rb:206:in `method_missing' /app/models/blog.rb:190:in `requested_article' /app/controllers/articles_controller.rb:38:in `show' ... Piers Cawley a ?crit : > On Fri, Feb 29, 2008 at 1:42 PM, Denis FABIEN > wrote: > >> Hi >> >> I've installed typo via svn on a mongrel/nginx server. All was ok except >> on thing. >> >> When i go to read an article, i've got this message : >> undefined local variable or method `published_articles' for #. >> >> You can see my trouble here : >> http://beta.miseajour.net/articles/2008/02/27/test >> > > Strange, i thought I'd got rid of all the calls to that method when I > started turning Blog back into a singleton. There was a a broken svn > version for a while, but it should have been fixed with r1667. If you > do an svn up and still have a problem, it'd be good to see the log > entry for the failed request. > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080229/de75337f/attachment-0001.html From denis at recettesdefamille.com Fri Feb 29 16:27:39 2008 From: denis at recettesdefamille.com (Denis FABIEN) Date: Fri, 29 Feb 2008 16:27:39 -0500 Subject: [typo] undefined local variable or method `published_articles' In-Reply-To: <47C8697E.3020803@recettesdefamille.com> References: <47C80BCD.2010400@recettesdefamille.com> <897e96cc0802291204n75ac60eas80d83a0965281be6@mail.gmail.com> <47C8697E.3020803@recettesdefamille.com> Message-ID: <47C878CB.4090609@recettesdefamille.com> I solve my trouble using ... gem update Sometime I stupid, don't try this before ask the list, sorry about it Denis FABIEN a ?crit : > I made already made svn up. > > Here is a part of my log : > > NameError (undefined local variable or method `published_articles' for > #): > > /vendor/rails/activerecord/lib/active_record/attribute_methods.rb:206:in > `method_missing' > /app/models/blog.rb:190:in `requested_article' > /app/controllers/articles_controller.rb:38:in `show' > ... > > Piers Cawley a ?crit : >> On Fri, Feb 29, 2008 at 1:42 PM, Denis FABIEN >> wrote: >> >>> Hi >>> >>> I've installed typo via svn on a mongrel/nginx server. All was ok except >>> on thing. >>> >>> When i go to read an article, i've got this message : >>> undefined local variable or method `published_articles' for #. >>> >>> You can see my trouble here : >>> http://beta.miseajour.net/articles/2008/02/27/test >>> >> >> Strange, i thought I'd got rid of all the calls to that method when I >> started turning Blog back into a singleton. There was a a broken svn >> version for a while, but it should have been fixed with r1667. If you >> do an svn up and still have a problem, it'd be good to see the log >> entry for the failed request. >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> >> > > ------------------------------------------------------------------------ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20080229/12c9e408/attachment.html