Re: [Radiant] Rack-Cache, Redirects, and the ssl_requirement plugin... a twisted love triangle

2009-11-18 Thread Sean Cribbs
Jason, Instead of setting the :default_ttl option, which obviously indiscriminately sets an undesirable Cache-Control header, set the default timeout on SiteController like so: config.after_initialize do SiteController.cache_timeout = 1.year end In general, I've found that when a page is n

[Radiant] Radiant installation issue with demo data.

2009-11-18 Thread Venkata Alla
Hi, I have just finished installing the Radiant as per the instructions on this link - http://wiki.github.com/radiant/radiant/installing-on-site5 I have only got the demo data on my domain. The url for the installation is - http://sizzlz.com Currently every URL on this site goes back to the in

[Radiant] Rack-Cache, Redirects, and the ssl_requirement plugin... a twisted love triangle

2009-11-18 Thread Jason Fox
I'm having an issue in production that I can only sometimes reproduce locally. The issue involves Rack-Cache, Redirects and the ssl_requirement plugin running within the latest Radiant CMS. Let me lay it out for you... Radiant is using Rack-Cache to do it's caching these days as we all know.

Re: [Radiant] how to convert to a radiant without breaking incoming links

2009-11-18 Thread Victor Zuniga
You might find this tutorial on setting up 301 redirects useful (Apache & Nginx): http://tinyurl.com/7anzd9 Victor On 11/18/09 4:13 PM, "Sean Cribbs" wrote: > I've had great success with Jim's "vapor" extension. You can set up the > redirects to be 301s as well, so you will lose minimal

Re: [Radiant] how to convert to a radiant without breaking incoming links

2009-11-18 Thread Sean Cribbs
I've had great success with Jim's "vapor" extension. You can set up the redirects to be 301s as well, so you will lose minimal Google rank. Sean dave- wrote: > I have a html site that I would like to convert to radiant? > > There are other people who link to my site and I do not want to break t

Re: [Radiant] how to convert to a radiant without breaking incoming links

2009-11-18 Thread john muhl
maybe http://coderack.org/users/qoobaa/entries/34-karma-chameleon would help. it's a simple middleware component that can add an extension to all of your urls. On Wed, Nov 18, 2009 at 2:55 PM, dave- wrote: > I have a html site that I would like to convert to radiant? > > There are other people wh

[Radiant] how to convert to a radiant without breaking incoming links

2009-11-18 Thread dave-
I have a html site that I would like to convert to radiant? There are other people who link to my site and I do not want to break those links. For example: - http://mySite.com or - http://mySite.com/index.html or - http://mySite.com/bo

Re: [Radiant] SQLite3::SQLException: no such table: extension_meta: SELECT schema_version FROM extension_meta WHERE name =

2009-11-18 Thread subsorama
You are quite right rake production radiant:extensions:twitter:migrate VERSION=0 worked perfectly. Many thanks On 18 Nov 2009, at 18:31, john muhl wrote: > maybe you ran the initial migration on the production db and then the > uninstall migration on the development db. > > On Wed, Nov 18,

Re: [Radiant] SQLite3::SQLException: no such table: extension_meta: SELECT schema_version FROM extension_meta WHERE name =

2009-11-18 Thread banane
Also it looks like the SQL is searching for Twitter-1 vs. Twitter in the condition: >>> SQLite3::SQLException: no such table: extension_meta: SELECT schema_version >>> FROM extension_meta WHERE name = 'Twitter' This stretches my knowledge of how Radiant/Rails uses the schema version- it adds a "-

Re: [Radiant] SQLite3::SQLException: no such table: extension_meta: SELECT schema_version FROM extension_meta WHERE name =

2009-11-18 Thread john muhl
maybe you ran the initial migration on the production db and then the uninstall migration on the development db. On Wed, Nov 18, 2009 at 12:04 PM, wrote: > Thanks for the reply, I did: > > rake production db:migrate:extensions > > ==  AddTwitterNotificationFields: migrating > ==

Re: [Radiant] SQLite3::SQLException: no such table: extension_meta: SELECT schema_version FROM extension_meta WHERE name =

2009-11-18 Thread subsorama
Thanks for the reply, I did: rake production db:migrate:extensions == AddTwitterNotificationFields: migrating === -- add_column(:pages, :notify_twitter_of_children, :boolean, {:default=>false}) -> 0.0358s -- add_column(:pages, :twitter_id, :string) -> 0.002

Re: [Radiant] SQLite3::SQLException: no such table: extension_meta: SELECT schema_version FROM extension_meta WHERE name =

2009-11-18 Thread banane
Did you ever migrate the Twitter extension? "rake radiant:extensions:twitter:migrate" - look in the schema version table, and if there's no reference, you didn't, so your undo doesn't know what to undo, basically. On Wed, Nov 18, 2009 at 7:58 AM, wrote: > Hello all, > > I just decided to try out

[Radiant] SQLite3::SQLException: no such table: extension_meta: SELECT schema_version FROM extension_meta WHERE name =

2009-11-18 Thread subsorama
Hello all, I just decided to try out the the twitter extension, but then decided to remove it as it couldn't pull in multiple feeds. When I tried to roll back the migrations with this command: rake radiant:extensions:twitter:migrate VERSION=0 I got this error: SQLite3::SQLException: no suc

Re: [Radiant] Blog extension usage

2009-11-18 Thread María Paula Mariani
On Tue, Nov 17, 2009 at 1:30 PM, Jim Gay wrote: > Admittedly, I've needed to add more details for a while. > > Set Radiant::Config['blog.location.configurable?'] = 'true' and you > can add a "home" location for each user's blog (used to generate the > "new blog post" links on Dashboard > You may

Re: [Radiant] The system cannot find the path specified.

2009-11-18 Thread Charles Roper
2009/11/17 Charles Roper : > So, is this a bug in FileUtils, perhaps? I'm at a loss. Luis Lavena advised me that this is indeed a problem with FileUtils on Windows in certain circumstances: http://groups.google.com/group/rubyinstaller/msg/6c7da3b7d19919d7 He advised disabling anti-virus software