Re: [Radiant] Help with uninitialized constant Page::ResponseCache

2010-03-22 Thread Earl Chew
 uninitialized constant Page::ResponseCache
 
 /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:105:in
 `const_missing'
 (eval):6:in `clear_dynamic_ancestors_cache'


I think this is due to old code in Andrea Franz's DynamicPage extension. My 
version dates back to 0.6. The core reads:

  def clear_dynamic_ancestors_cache
cache = ResponseCache.instance
self.ancestors.each do |ancestor|
  cache.expire_response(ancestor.url) if ancestor.class_name == 
'DynamicPage'
end
  end


I read in the CHANGELOG:

* Deprecate ResponseCache, add Radiant::Cache based on Rack::Cache.


I looked for an update, and found Andrea's page at www.gravityblast.com 
(http://gravityblast.com/projects/radiant-page-utilities/) but the svn 
instructions just don't work.


I looked for DynamicPage on the extensions page, but don't see it.


Is there another way to achieve the same result as DynamicPage?

What's the appropriate way to update the code to work with RadiantCache?


Earl


  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Help debugging public/500.html

2010-03-20 Thread Jim Gay
A 500 error is coming from your application server and not the application.
Check your mongrel log (for example, if you're using mongrel).

On Sat, Mar 20, 2010 at 11:42 AM, Earl Chew earl_c...@yahoo.com wrote:
 I'm upgrading my small Radiant installation from way back (0.6 or 
 thereabouts).

 I've got most of it working, but when running as a mongrel_cluster (with 
 user/group mongrel) I get a public/500.html when accessing some pages.

 I look in production.log and only see:

 Processing SiteController#show_page (for 127.0.0.1 at 2010-03-20 08:39:16) 
 [GET]
  Parameters: {url=[public, hacking, misc], action=show_page, 
 controller=site}
 Completed in 1839ms (DB: 63) | 200 [http://localhost/public/hacking/misc/]


 but the browser renders:


 Application error

 Change this error message for exceptions thrown outside of an action (like in 
 Dispatcher setups or broken Ruby code) in public/500.html


 I'm puzzled because the Radiant log doesn't show any problem.

 Where should I look next to debug this ?


 Earl



-- 
Jim Gay
http://www.saturnflyer.com
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Help!!!!!!!

2010-02-22 Thread Ben Evans
Neel,

Ruby on Windows has some issues with the built in file copy command, I never
got script/extension install working on my windows dev setup. However, it is
not too hard to install extensions manually.

Here is the radiant wiki article on it:
http://wiki.github.com/radiant/radiant/installing-extensions

Since Windows does not have wget, you will either have to install it (
http://gnuwin32.sourceforge.net/packages/wget.htm) or just use your web
browser to download the tarball instead.

For example, to install Comments:

1: Open your web browser and put this url in your address bar:
http://github.com/artofmission/radiant-comments/tarball/master (the great
thing about github is if you have a git url like git://
github.com/artofmission/radiant-comments.git from the extension registry,
changing the git:// to http:// and removing the .git from the end will get
you the web page of the extension on github, and adding /tarball/master on
the end will download a .tar.gz file of the latest version of the
extension).

2: Once you have downloaded the tarball, extract it into your
project/vendor/extensions/comments folder (create if necessary) so the
files in /vendor/extensions/comments/ match the listing here:
http://github.com/artofmission/radiant-comments. WinRAR and 7-zip should
both open these just fine in windows or you can download bsdtar -
http://gnuwin32.sourceforge.net/packages/libarchive.htm - to extract via the
command line - use bsdtar -xvzf archivename.

3: open your command prompt to your project directory and run the following
two commands:

C:\Website rake radiant:extensions:comments:migrate
and
C:\Website rake radiant:extensions:comments:update

If you get an error running one of these two commands saying rake does not
know how to build this task, then the extension you are installing may not
have anything to do in this task. In the case of the comments extension, it
should run both.

4: restart your web server and then go to your admin site and check your
settings, comments should be listed as installed and everything should be
working.

Hope this helps!

Ben

 -- Forwarded message --
 From: neel iyer kniyer@gmail.com
 To: radiant@radiantcms.org
 Date: Fri, 19 Feb 2010 22:30:24 +0530
 Subject: Re: [Radiant] Help!!!
 sorry 
 this is the error  msg tht i got when i excecuted tht command...

 C:\websiteenv RAILS_ENV=production script/extension install comments
 The filename, directory name, or volume label syntax is incorrect.
 The system cannot find the path specified.
 c:/Ruby/lib/ruby/1.8/fileutils.rb:1255:in `copy': unknown file type:
 C:/DOCUME~1
 /neel/LOCALS~1/Temp/comments (RuntimeError)
from c:/Ruby/lib/ruby/1.8/fileutils.rb:451:in `copy_entry'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:1324:in `traverse'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:448:in `copy_entry'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:423:in `cp_r'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:422:in `cp_r'
from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:49:in `copy_to_vendor_extensions'
from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:147:in `copy_to_vendor_extensions'
from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:43:in `install'
from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:93:in `install'
from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:10:in `install'
from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:266:in `initialize'
from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:224:in `new'
from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:224:in `execute'
from script/extension:5


 regards
 neel



 -- Forwarded message --
 From: Chaim Kirby chaim.ki...@childrens.harvard.edu
 To: radiant@radiantcms.org radiant@radiantcms.org
 Date: Fri, 19 Feb 2010 12:27:25 -0500
 Subject: Re: [Radiant] Help!!!
 Neel -
 There usually isn't an install task for extensions
 If you have the comments extension in your vendor/extensions folder then
 from your root radiant folder run:
 rake production radiant:extensions:comments:migrate
 then run:
 rake production radiant:extensions:comments:update

 Chaim


 neel iyer wrote:
  sorry 
  this is the error  msg tht i got when i excecuted tht command...
 
  C:\websiteenv RAILS_ENV=production script/extension install comments
  The filename, directory name, or volume label syntax is incorrect.
  The system cannot find the path

Re: [Radiant] Help!!!!!!!

2010-02-22 Thread neel iyer
thanks a lot ben ... it worked .
thanks for the help guys ...

regards
neel

On Mon, Feb 22, 2010 at 9:52 PM, Ben Evans jedifree...@gmail.com wrote:

 Neel,

 Ruby on Windows has some issues with the built in file copy command, I
 never
 got script/extension install working on my windows dev setup. However, it
 is
 not too hard to install extensions manually.

 Here is the radiant wiki article on it:
 http://wiki.github.com/radiant/radiant/installing-extensions

 Since Windows does not have wget, you will either have to install it (
 http://gnuwin32.sourceforge.net/packages/wget.htm) or just use your web
 browser to download the tarball instead.

 For example, to install Comments:

 1: Open your web browser and put this url in your address bar:
 http://github.com/artofmission/radiant-comments/tarball/master (the great
 thing about github is if you have a git url like git://
 github.com/artofmission/radiant-comments.git from the extension registry,
 changing the git:// to http:// and removing the .git from the end will get
 you the web page of the extension on github, and adding /tarball/master on
 the end will download a .tar.gz file of the latest version of the
 extension).

 2: Once you have downloaded the tarball, extract it into your
 project/vendor/extensions/comments folder (create if necessary) so the
 files in /vendor/extensions/comments/ match the listing here:
 http://github.com/artofmission/radiant-comments. WinRAR and 7-zip should
 both open these just fine in windows or you can download bsdtar -
 http://gnuwin32.sourceforge.net/packages/libarchive.htm - to extract via
 the
 command line - use bsdtar -xvzf archivename.

 3: open your command prompt to your project directory and run the following
 two commands:

 C:\Website rake radiant:extensions:comments:migrate
 and
 C:\Website rake radiant:extensions:comments:update

 If you get an error running one of these two commands saying rake does not
 know how to build this task, then the extension you are installing may not
 have anything to do in this task. In the case of the comments extension, it
 should run both.

 4: restart your web server and then go to your admin site and check your
 settings, comments should be listed as installed and everything should be
 working.

 Hope this helps!

 Ben

  -- Forwarded message --
  From: neel iyer kniyer@gmail.com
  To: radiant@radiantcms.org
  Date: Fri, 19 Feb 2010 22:30:24 +0530
  Subject: Re: [Radiant] Help!!!
  sorry 
  this is the error  msg tht i got when i excecuted tht command...
 
  C:\websiteenv RAILS_ENV=production script/extension install comments
  The filename, directory name, or volume label syntax is incorrect.
  The system cannot find the path specified.
  c:/Ruby/lib/ruby/1.8/fileutils.rb:1255:in `copy': unknown file type:
  C:/DOCUME~1
  /neel/LOCALS~1/Temp/comments (RuntimeError)
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:451:in `copy_entry'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:1324:in `traverse'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:448:in `copy_entry'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:423:in `cp_r'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:422:in `cp_r'
 from
  c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
  script.rb:49:in `copy_to_vendor_extensions'
 from
  c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
  script.rb:147:in `copy_to_vendor_extensions'
 from
  c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
  script.rb:43:in `install'
 from
  c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
  script.rb:93:in `install'
 from
  c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
  script.rb:10:in `install'
 from
  c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
  script.rb:266:in `initialize'
 from
  c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
  script.rb:224:in `new'
 from
  c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
  script.rb:224:in `execute'
 from script/extension:5
 
 
  regards
  neel
 


  -- Forwarded message --
  From: Chaim Kirby chaim.ki...@childrens.harvard.edu
  To: radiant@radiantcms.org radiant@radiantcms.org
  Date: Fri, 19 Feb 2010 12:27:25 -0500
  Subject: Re: [Radiant] Help!!!
  Neel -
  There usually isn't an install task for extensions
  If you have the comments extension in your vendor/extensions folder then
  from your root radiant folder run:
  rake production radiant:extensions:comments:migrate
  then run:
  rake production radiant:extensions:comments:update
 
  Chaim
 
 
  neel iyer wrote

Re: [Radiant] Help!!!!!!!

2010-02-19 Thread Leon Miller-Out
Neel, you need to use Radiant's script/extension to install extensions. I'm
not sure how the environment variables work on Windows (for RAILS_ENV), but
on OS X and Linux, I'd do:

RAILS_ENV=production script/extension install comments

Once the extension is installed, then you can run any rake tasks that come
with it. migrate and update seem to be the common ones, but the install
command above should run those for you in most cases.

Leon

=
Leon Miller-Out
President  CTO, Singlebrook Technology, Inc
l...@singlebrook.com
p 607-330-1493
f 607-697-0457
516 W. State St. - Suite 100
Ithaca, NY 14850


On Thu, Feb 18, 2010 at 9:17 PM, neel iyer kniyer@gmail.com wrote:

 i'm trying to install some of the extension of radiant. currently i'm using
 radiant 0.8.1 and using windows os. but each time i excecute any command to
 install those extension, an error msg is been displayed..

 this is when i tried to install comment extension.


 C:\websiterake radiant:extensions:comments:install --trace
 (in C:/website)
 rake aborted!
 Don't know how to build task 'radiant:extensions:comments:install'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1728:in `[]'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in `invoke_task'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
 `standard_exceptio
 n_handling'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
 `standard_exceptio
 n_handling'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
 C:/Ruby/bin/rake:19:in `load'
 C:/Ruby/bin/rake:19

 --

 C:\websiteruby script/about

 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/acti
 ve_support/dependencies.rb:105:in `const_missing': uninitialized constant
 AudioP
 layerExtension::Inflector (NameError)
from
 C:/website/vendor/extensions/audio_player/audio_player_extension.rb
 :28:in `activate'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension.
 rb:60:in `activate'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesup
 port/lib/active_support/core_ext/symbol.rb:11:in `__send__'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesup
 port/lib/active_support/core_ext/symbol.rb:11:in `to_proc'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension_
 loader.rb:98:in `each'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension_
 loader.rb:98:in `activate_extensions'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/initialize
 r.rb:184:in `after_initialize'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/
 lib/initializer.rb:179:in `process'
 ... 6 levels...
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/
 lib/commands/about.rb:1
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
 `ge
 m_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
 `re
 quire'
from script/about:3


 --
 this is when i tried to install the textile extension...

 C:\websiteruby script/extension install textile_editor
 The filename, directory name, or volume label syntax is incorrect.
 The system cannot find the path specified.
 C:/Ruby/lib/ruby/1.8/fileutils.rb:1255:in `copy': unknown file type:
 C:/DOCUME~1
 /neel/LOCALS~1/Temp/textile_editor (RuntimeError)
from C:/Ruby/lib/ruby/1.8/fileutils.rb:451:in `copy_entry'
from C:/Ruby/lib/ruby/1.8/fileutils.rb:1324:in `traverse'
from C:/Ruby/lib/ruby/1.8/fileutils.rb:448:in `copy_entry'
from C:/Ruby/lib/ruby/1.8/fileutils.rb:423:in `cp_r'
from C:/Ruby/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
from C:/Ruby/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
from C:/Ruby/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
from C:/Ruby/lib/ruby/1.8/fileutils.rb:422:in `cp_r'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:49:in `copy_to_vendor_extensions'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:147:in `copy_to_vendor_extensions'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:43:in `install'
from
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:93:in 

Re: [Radiant] Help!!!!!!!

2010-02-19 Thread neel iyer
thanks for the reply..
but in windows when i excecute the following command.. it show ..

C:\websiteRAILS_ENV=production script/extension install comments
'RAILS_ENV' is not recognized as an internal or external command,
operable program or batch file.



regards
neel


On Fri, Feb 19, 2010 at 7:55 PM, Leon Miller-Out l...@singlebrook.comwrote:

 Neel, you need to use Radiant's script/extension to install extensions. I'm
 not sure how the environment variables work on Windows (for RAILS_ENV), but
 on OS X and Linux, I'd do:

 RAILS_ENV=production script/extension install comments

 Once the extension is installed, then you can run any rake tasks that come
 with it. migrate and update seem to be the common ones, but the install
 command above should run those for you in most cases.

 Leon

 =
 Leon Miller-Out
 President  CTO, Singlebrook Technology, Inc
 l...@singlebrook.com
 p 607-330-1493
 f 607-697-0457
 516 W. State St. - Suite 100
 Ithaca, NY 14850


 On Thu, Feb 18, 2010 at 9:17 PM, neel iyer kniyer@gmail.com wrote:

  i'm trying to install some of the extension of radiant. currently i'm
 using
  radiant 0.8.1 and using windows os. but each time i excecute any command
 to
  install those extension, an error msg is been displayed..
 
  this is when i tried to install comment extension.
 
 
  C:\websiterake radiant:extensions:comments:install --trace
  (in C:/website)
  rake aborted!
  Don't know how to build task 'radiant:extensions:comments:install'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1728:in `[]'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in
 `invoke_task'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
  `standard_exceptio
  n_handling'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
  `standard_exceptio
  n_handling'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
  C:/Ruby/bin/rake:19:in `load'
  C:/Ruby/bin/rake:19
 
  --
 
  C:\websiteruby script/about
 
 
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/acti
  ve_support/dependencies.rb:105:in `const_missing': uninitialized constant
  AudioP
  layerExtension::Inflector (NameError)
 from
  C:/website/vendor/extensions/audio_player/audio_player_extension.rb
  :28:in `activate'
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension.
  rb:60:in `activate'
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesup
  port/lib/active_support/core_ext/symbol.rb:11:in `__send__'
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesup
  port/lib/active_support/core_ext/symbol.rb:11:in `to_proc'
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension_
  loader.rb:98:in `each'
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension_
  loader.rb:98:in `activate_extensions'
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/initialize
  r.rb:184:in `after_initialize'
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/
  lib/initializer.rb:179:in `process'
  ... 6 levels...
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/
  lib/commands/about.rb:1
 from
 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
  `ge
  m_original_require'
 from
 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
  `re
  quire'
 from script/about:3
 
 
  --
  this is when i tried to install the textile extension...
 
  C:\websiteruby script/extension install textile_editor
  The filename, directory name, or volume label syntax is incorrect.
  The system cannot find the path specified.
  C:/Ruby/lib/ruby/1.8/fileutils.rb:1255:in `copy': unknown file type:
  C:/DOCUME~1
  /neel/LOCALS~1/Temp/textile_editor (RuntimeError)
 from C:/Ruby/lib/ruby/1.8/fileutils.rb:451:in `copy_entry'
 from C:/Ruby/lib/ruby/1.8/fileutils.rb:1324:in `traverse'
 from C:/Ruby/lib/ruby/1.8/fileutils.rb:448:in `copy_entry'
 from C:/Ruby/lib/ruby/1.8/fileutils.rb:423:in `cp_r'
 from C:/Ruby/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
 from C:/Ruby/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
 from C:/Ruby/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
 from C:/Ruby/lib/ruby/1.8/fileutils.rb:422:in 

Re: [Radiant] Help!!!!!!!

2010-02-19 Thread neel iyer
sorry 
this is the error  msg tht i got when i excecuted tht command...

C:\websiteenv RAILS_ENV=production script/extension install comments
The filename, directory name, or volume label syntax is incorrect.
The system cannot find the path specified.
c:/Ruby/lib/ruby/1.8/fileutils.rb:1255:in `copy': unknown file type:
C:/DOCUME~1
/neel/LOCALS~1/Temp/comments (RuntimeError)
from c:/Ruby/lib/ruby/1.8/fileutils.rb:451:in `copy_entry'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:1324:in `traverse'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:448:in `copy_entry'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:423:in `cp_r'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
from c:/Ruby/lib/ruby/1.8/fileutils.rb:422:in `cp_r'
from
c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
script.rb:49:in `copy_to_vendor_extensions'
from
c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
script.rb:147:in `copy_to_vendor_extensions'
from
c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
script.rb:43:in `install'
from
c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
script.rb:93:in `install'
from
c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
script.rb:10:in `install'
from
c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
script.rb:266:in `initialize'
from
c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
script.rb:224:in `new'
from
c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
script.rb:224:in `execute'
from script/extension:5


regards
neel



On Fri, Feb 19, 2010 at 10:22 PM, neel iyer kniyer@gmail.com wrote:

 thanks for the reply..
 but in windows when i excecute the following command.. it show ..

 C:\websiteRAILS_ENV=production script/extension install comments
 'RAILS_ENV' is not recognized as an internal or external command,
 operable program or batch file.



 regards
 neel



 On Fri, Feb 19, 2010 at 7:55 PM, Leon Miller-Out l...@singlebrook.comwrote:

 Neel, you need to use Radiant's script/extension to install extensions.
 I'm
 not sure how the environment variables work on Windows (for RAILS_ENV),
 but
 on OS X and Linux, I'd do:

 RAILS_ENV=production script/extension install comments

 Once the extension is installed, then you can run any rake tasks that come
 with it. migrate and update seem to be the common ones, but the
 install
 command above should run those for you in most cases.

 Leon

 =
 Leon Miller-Out
 President  CTO, Singlebrook Technology, Inc
 l...@singlebrook.com
 p 607-330-1493
 f 607-697-0457
 516 W. State St. - Suite 100
 Ithaca, NY 14850


 On Thu, Feb 18, 2010 at 9:17 PM, neel iyer kniyer@gmail.com wrote:

  i'm trying to install some of the extension of radiant. currently i'm
 using
  radiant 0.8.1 and using windows os. but each time i excecute any command
 to
  install those extension, an error msg is been displayed..
 
  this is when i tried to install comment extension.
 
 
  C:\websiterake radiant:extensions:comments:install --trace
  (in C:/website)
  rake aborted!
  Don't know how to build task 'radiant:extensions:comments:install'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1728:in `[]'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in
 `invoke_task'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
 `top_level'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
 `top_level'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
  `standard_exceptio
  n_handling'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
 `top_level'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
  `standard_exceptio
  n_handling'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
  C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
  C:/Ruby/bin/rake:19:in `load'
  C:/Ruby/bin/rake:19
 
  --
 
  C:\websiteruby script/about
 
 
 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/acti
  ve_support/dependencies.rb:105:in `const_missing': uninitialized
 constant
  AudioP
  layerExtension::Inflector (NameError)
 from
  C:/website/vendor/extensions/audio_player/audio_player_extension.rb
  :28:in `activate'
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension.
  rb:60:in `activate'
 from
  C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesup
  port/lib/active_support/core_ext/symbol.rb:11:in 

Re: [Radiant] Help!!!!!!!

2010-02-19 Thread Chaim Kirby
Neel -
There usually isn't an install task for extensions
If you have the comments extension in your vendor/extensions folder then
from your root radiant folder run:
rake production radiant:extensions:comments:migrate
then run:
rake production radiant:extensions:comments:update

Chaim


neel iyer wrote:
 sorry 
 this is the error  msg tht i got when i excecuted tht command...
 
 C:\websiteenv RAILS_ENV=production script/extension install comments
 The filename, directory name, or volume label syntax is incorrect.
 The system cannot find the path specified.
 c:/Ruby/lib/ruby/1.8/fileutils.rb:1255:in `copy': unknown file type:
 C:/DOCUME~1
 /neel/LOCALS~1/Temp/comments (RuntimeError)
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:451:in `copy_entry'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:1324:in `traverse'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:448:in `copy_entry'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:423:in `cp_r'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest'
 from c:/Ruby/lib/ruby/1.8/fileutils.rb:422:in `cp_r'
 from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:49:in `copy_to_vendor_extensions'
 from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:147:in `copy_to_vendor_extensions'
 from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:43:in `install'
 from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:93:in `install'
 from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:10:in `install'
 from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:266:in `initialize'
 from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:224:in `new'
 from
 c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/
 script.rb:224:in `execute'
 from script/extension:5
 
 
 regards
 neel
 
 
 
 On Fri, Feb 19, 2010 at 10:22 PM, neel iyer kniyer@gmail.com wrote:
 
 thanks for the reply..
 but in windows when i excecute the following command.. it show ..

 C:\websiteRAILS_ENV=production script/extension install comments
 'RAILS_ENV' is not recognized as an internal or external command,
 operable program or batch file.



 regards
 neel



 On Fri, Feb 19, 2010 at 7:55 PM, Leon Miller-Out l...@singlebrook.comwrote:

 Neel, you need to use Radiant's script/extension to install extensions.
 I'm
 not sure how the environment variables work on Windows (for RAILS_ENV),
 but
 on OS X and Linux, I'd do:

 RAILS_ENV=production script/extension install comments

 Once the extension is installed, then you can run any rake tasks that come
 with it. migrate and update seem to be the common ones, but the
 install
 command above should run those for you in most cases.

 Leon

 =
 Leon Miller-Out
 President  CTO, Singlebrook Technology, Inc
 l...@singlebrook.com
 p 607-330-1493
 f 607-697-0457
 516 W. State St. - Suite 100
 Ithaca, NY 14850


 On Thu, Feb 18, 2010 at 9:17 PM, neel iyer kniyer@gmail.com wrote:

 i'm trying to install some of the extension of radiant. currently i'm
 using
 radiant 0.8.1 and using windows os. but each time i excecute any command
 to
 install those extension, an error msg is been displayed..

 this is when i tried to install comment extension.


 C:\websiterake radiant:extensions:comments:install --trace
 (in C:/website)
 rake aborted!
 Don't know how to build task 'radiant:extensions:comments:install'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1728:in `[]'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in
 `invoke_task'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
 `top_level'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
 `top_level'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
 `standard_exceptio
 n_handling'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
 `top_level'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
 `standard_exceptio
 n_handling'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
 C:/Ruby/bin/rake:19:in `load'
 C:/Ruby/bin/rake:19

 --

 C:\websiteruby script/about


 C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/acti
 ve_support/dependencies.rb:105:in `const_missing': uninitialized
 constant
 AudioP
 layerExtension::Inflector (NameError)
from
 

Re: [Radiant] Help With Questionnaire Extension

2010-01-09 Thread Michael Kessler
Hi Alexis

We have this extension running only on a Radiant 0.7 installation and there are 
actually no concrete plans to migration the extension. The Rails version that 
comes with Radiant 0.8.1 introduces nested forms/attributes and that would 
simplify the extension code a lot, so a migration to Radiant 0.8.1 is more 
about to remove some code than adding new one. It may be also the reason that 
the extension is actually broken with Radiant 0.8.1

Michael

On 07.01.2010, at 20:25, Alexis Masters wrote:

 Hello again,
 I have a new radiant site that needs the Questionnaire extension. The  
 site is on Radiant 0.8.1. I keep getting this error when I try to  
 create a new questionnaire:
 
 /!\ FAILSAFE /!\  Thu Jan 07 10:40:21 -0800 2010
   Status: 500 Internal Server Error
   expected Hash (got String) for param `questionnaire'
 
 Is anyone else using this extension on 0.8.1, and if so, have you seen  
 and hopefully solved this issue?
 
 ~ Alexis
 =
 Alexis Masters, author
 http://www.alexismasters.com
 
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Help Extension Error

2009-12-02 Thread Jim Gay
On Wed, Dec 2, 2009 at 5:00 AM, kevin bett kevin.b...@gmail.com wrote:
 After installing help extension on 0.9.0:
 ActionView::TemplateError (undefined method `developer?' for
 #ActionView::Base:0x1030ad1e8) on line #6 of
 vendor/extensions/help/app/views/admin/help/_help_nav.html.haml:

It's not ready yet, and neither is 0.9.0.
But you could try this branch
http://github.com/saturnflyer/radiant-help-extension/commits/edge

-- 
Jim Gay
http://www.saturnflyer.com
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help running tests

2009-11-26 Thread Sean Cribbs
If you cloned the repository from github, make sure to run `git 
submodule init  git submodule update` before you run the spec suite.

Sean

Paul Sullivan wrote:
 Hello! This may be a bit of a silly question but I'm having issues running 
 any of the tests. 

 If I run an individual spec in the spec/models folder I get an error 'no such 
 file to load -- dataset' .

 Does any documentation exist that talks about running the tests? I found one 
 rake task radiant:release but that gives me the same error.
 I would appreciate any help with understanding how to run the tests. Thanks 
 so much!

 paul
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

   

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with RAILS_ROOT and Frozen Gems

2009-09-10 Thread Jim Gay
On Thu, Sep 10, 2009 at 1:09 AM, Chris
Parrishchris.parrish-forumm...@swankinnovations.com wrote:
 I just tried installing radiant 0.8.1 and all went well until I performed a
 rake radiant:freeze:gems  Now starting mongrel on my development machine
 produces the following error:

 ** Starting Mongrel listening at 0.0.0.0:3000
 ** Starting Rails with development environment...
 my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:902:in
 `read': No such file or directory -
 my_project/vendor/radiant/config/database.yml (Errno::ENOENT)
   from
 my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:902:in
 `database_configuration'
   from
 my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:437:in
 `initialize_database'
   from
 my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:141:in
 `process'
   from
 my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in
 `send'
   from
 my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in
 `run'
   from my_project/vendor/radiant/lib/radiant/initializer.rb:148:in `run'
   from my_project/vendor/radiant/config/environment.rb:12
   from .../ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
 `gem_original_require'
    ... 12 levels...
   from ...\ruby\bin\mongrel_rails:19:in `load'
   from ...\ruby\bin\mongrel_rails:19
   from -e:2:in `load'
   from -e:2

 If I step through the initializer.rb, it clearly thinks the RAILS_ROOT
 should be my_project/vendor/radiant I can make it happy by copying my
 database.yml to where it's looking, but then the app wants my
 development.sqlite3.db in the radiant directory and it creates a tmp/
 directory for the cache down in vendor/radiant/ too.

 What am I missing?

 -Chris

Is this on an existing application?
And if so, have you run rake radiant:update?


-- 
Jim Gay
http://www.saturnflyer.com
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with RAILS_ROOT and Frozen Gems

2009-09-10 Thread Chris Parrish
Actually, it looks like an IDE problem (I use RadRails).  It would seem 
that they are incorrectly inferring the application's working directory 
to be the \vendor\radiant\ directory when launching mongrel.


Sorry for the noise.

-Chris

Jim Gay wrote:

On Thu, Sep 10, 2009 at 1:09 AM, Chris
Parrishchris.parrish-forumm...@swankinnovations.com wrote:
  

I just tried installing radiant 0.8.1 and all went well until I performed a
rake radiant:freeze:gems  Now starting mongrel on my development machine
produces the following error:

** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:902:in
`read': No such file or directory -
my_project/vendor/radiant/config/database.yml (Errno::ENOENT)
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:902:in
`database_configuration'
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:437:in
`initialize_database'
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:141:in
`process'
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in
`send'
  from
my_project/vendor/radiant/vendor/rails/railties/lib/initializer.rb:113:in
`run'
  from my_project/vendor/radiant/lib/radiant/initializer.rb:148:in `run'
  from my_project/vendor/radiant/config/environment.rb:12
  from .../ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
   ... 12 levels...
  from ...\ruby\bin\mongrel_rails:19:in `load'
  from ...\ruby\bin\mongrel_rails:19
  from -e:2:in `load'
  from -e:2

If I step through the initializer.rb, it clearly thinks the RAILS_ROOT
should be my_project/vendor/radiant I can make it happy by copying my
database.yml to where it's looking, but then the app wants my
development.sqlite3.db in the radiant directory and it creates a tmp/
directory for the cache down in vendor/radiant/ too.

What am I missing?

-Chris



Is this on an existing application?
And if so, have you run rake radiant:update?


  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with IE error

2009-06-24 Thread rustam mamat
thank all of your help
i work out  with validation errors as David Cato segessted and it comes out
without massagebox.
it seems like all of the problems are theme`s problems.
i did it work out. thank you.


On Wed, Jun 24, 2009 at 6:59 PM, Haselwanter Edmund
edm...@haselwanter.comwrote:


 On 24.06.2009, at 07:58, Mohit Sindhwani wrote:

 rustam mamat wrote:

 I have checked , certainly there are validates errors but can not be
 counted
 as too many to  be holded up by IE.
 and these validates errors created by radiant , it should be counted as
 bugs
 or what.?


 It is most likely that you get a non css page (e.g. 404) for a css page
 configured in your layout. Check with firebug or similar tools that all
 files you reference can be accessed (HTTP 200/302 OK)

 If I remember correctly I had this same error while using the new radiant
 style.

 cu edi

 --
 DI Edmund Haselwanter, edm...@haselwanter.com,
 http://edmund.haselwanter.com/




 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with IE error

2009-06-24 Thread Mohit Sindhwani
rustam mamat wrote:
 thank all of your help
 i work out  with validation errors as David Cato segessted and it comes out
 without massagebox.
 it seems like all of the problems are theme`s problems.
 i did it work out. thank you.
   
You may want to consider submitting a patch or at least instructions/
comments on what was wrong? That way, it would help someone in the future.

Thanks,
Mohit.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with IE error

2009-06-24 Thread rustam mamat
thank you for your sugestion and your help
First i have create the Roaster styled App , then enter the admin site to
change all of the theme .
put the tag meta http-equiv=Content-type content=text/html;
charset=utf-8 / into Normal  Layouts .(maybe this didn`t any sense but i
have added)
then deleted the all of the image sources from  the img tag on snippets
and pages(Homepage) checed validate errors and i has
mentioned only one error and without warning .
i have deleted image sourcesimg tags because image sources from other
sites. so it makes to less validate errors.
at the end open my IE(version 7.0 and 8.0) ,it did came out without massage
box or Error massages on TaskBar.
so it is definetly theme`s problem. not the radiant`s .



2009/6/24 Mohit Sindhwani t...@onghu.com

 rustam mamat wrote:
  thank all of your help
  i work out  with validation errors as David Cato segessted and it comes
 out
  without massagebox.
  it seems like all of the problems are theme`s problems.
  i did it work out. thank you.
 
 You may want to consider submitting a patch or at least instructions/
 comments on what was wrong? That way, it would help someone in the future.

 Thanks,
 Mohit.

 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with IE error

2009-06-23 Thread David Cato
rustam mamat wrote ...

  http://www.yodacom.com was created with radiant ,you can find it from
 radiant user`s site. if you try to open this you will get
 Error massage (IE 7.0) if you don`t get the Error massage ,refresh it for
 several times then you will get the massage.
  with IE 8.0 it works normally but with the error massage on task bar of IE.
 is there any bug on Radiant itself ?what should i do with this.
 but raidant styled version is fine with any of the cases above, all of the
 problems came with Roasters Coffee styled one.

I don't have IE available at the moment but I noticed that that page
generates a number of validation errors as reported by
http://validator.w3.org/check?verbose=1uri=http%3A%2F%2Fwww.yodacom.com%2F

I've had past experiences where IE refuses to display pages that have
too many, or certain kinds of, validation errors. Some validation errors
it seems to let pass but others it doesn't. Fix those errors and see if
IE still has trouble rendering the page.

-- 
David Cato
o...@crunchyfrog.net

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with IE error

2009-06-23 Thread Mohit Sindhwani

rustam mamat wrote:
 http://www.yodacom.com http://www.yodacom.com/ was created with 
radiant ,you can find it from radiant user`s site. if you try to open 
this you will get
Error massage (IE 7.0) if you don`t get the Error massage ,refresh 
it for several times then you will get the massage.
 with IE 8.0 it works normally but with the error massage on task bar 
of IE.

is there any bug on Radiant itself ?what should i do with this.
but raidant styled version is fine with any of the cases above, all of 
the problems came with Roasters Coffee styled one.


OK, if that is the case, it may be what D Cato suggested - it could be 
that there are validation errors that cause IE to stop using the page 
sufficiently.  You may need to track down the validation errors and see 
if something specific is holding it up.


Cheers,
Mohit.
6/24/2009 | 12:01 PM.



___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with IE error

2009-06-23 Thread rustam mamat
I have checked , certainly there are validates errors but can not be counted
as too many to  be holded up by IE.
and these validates errors created by radiant , it should be counted as bugs
or what.?

On Wed, Jun 24, 2009 at 12:46 PM, David Cato o...@crunchyfrog.net wrote:

 rustam mamat wrote ...

   http://www.yodacom.com was created with radiant ,you can find it from
  radiant user`s site. if you try to open this you will get
  Error massage (IE 7.0) if you don`t get the Error massage ,refresh it for
  several times then you will get the massage.
   with IE 8.0 it works normally but with the error massage on task bar of
 IE.
  is there any bug on Radiant itself ?what should i do with this.
  but raidant styled version is fine with any of the cases above, all of
 the
  problems came with Roasters Coffee styled one.

 I don't have IE available at the moment but I noticed that that page
 generates a number of validation errors as reported by
 http://validator.w3.org/check?verbose=1uri=http%3A%2F%2Fwww.yodacom.com%2F

 I've had past experiences where IE refuses to display pages that have
 too many, or certain kinds of, validation errors. Some validation errors
 it seems to let pass but others it doesn't. Fix those errors and see if
 IE still has trouble rendering the page.

 --
 David Cato
 o...@crunchyfrog.net


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with IE error

2009-06-23 Thread Mohit Sindhwani

rustam mamat wrote:

I have checked , certainly there are validates errors but can not be counted
as too many to  be holded up by IE.
and these validates errors created by radiant , it should be counted as bugs
or what.?
  
Technically, if you have problems accessing the main Radiant admin 
portion of your site, I would imagine that that could count as bugs.  
However, I believe that is not the case.


You seem to have problems due to the theme.  It's true that the theme is 
bundled with Radiant - but it's worth checking why there are these 
errors.  It's quite likely that Radiant itself is not generating out 
something that gives this problem - but something in the theme is 
causing the problem.


Cheers,
Mohit.
6/24/2009 | 1:58 PM.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help!! - SQLite3::BusyException (database is locked)

2009-01-15 Thread Anton Aylward
Andreas Roedl said the following on 01/15/2009 12:46 PM:

 
 Try to set a timeout in your database.yml as described in the last
 post of this thread:
 
 http://www.ruby-forum.com/topic/138904

Done that.  Restarted Passenger ...
Still locked.  Now it takes about 10 seconds to come back with the 500
page instead of being immediate.

How do I unlock it?

This is the tail end of the log file:

  Page Load (0.004572)   SELECT * FROM pages WHERE (pages.id = 1)

  PagePart Load (0.007668)   SELECT * FROM page_parts WHERE
(page_parts.page_id = 3) ORDER BY id

WARNING: Can't mass-assign these protected attributes: id

WARNING: Can't mass-assign these protected attributes: id

  Page Load (0.005181)   SELECT * FROM pages WHERE (pages.slug = 'rss'
AND pages.parent_id = 1 AND pages.id  3) LIMIT 1
  Page Update with optimistic locking (0.006955)UPDATE pages

 SET keywords = '', created_at = '2007-01-19 03:04:44',
event_datetime = NULL, layout_id = 3, created_by_id = 1, virtual
= 'f', posi
tion = 12, updated_by_id = 2, title = 'RSS ', published_at =
'2007-01-18 22:04:44', breadcrumb = 'RSS ', class_name = 'Page',
descrip
tion = '', parent_id = 1, updated_at = '2009-01-15 18:15:55',
status_id = 100, lock_version = 3, slug = 'rss'

 WHERE id = 3

 AND lock_version = 2




SQLite3::BusyException (database is locked):

/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/errors.rb:94:in
`check'
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/resultset.rb:76:in
`check'
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/resultset.rb:68:in
`commence'
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/resultset.rb:61:in
`initialize'
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/statement.rb:163:in
`new'
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/statement.rb:163:in
`execute'
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/database.rb:212:in
`execute'
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/database.rb:187:in
`prepare'
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/database.rb:211:in
`execute'
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/database.rb:611:in
`commit'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:160:in
`commit_db
_transaction'



-- 
Make up your mind to act decidedly and take the consequences. No good is
ever done in this world by hesitation.
Thomas H. Huxley
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help!! - SQLite3::BusyException (database is locked)

2009-01-15 Thread Anton Aylward
Sean Cribbs said the following on 01/15/2009 03:27 PM:
 Do you have a rogue/zombie process that has a lock on the SQLite3 db? 
 I'd say sweep out any mongrel processes (or restart Apache if you're
 using Passenger) and try again.

Its hosted at Dreamhost but I've tried killing everything in my ID
except the login shell.

NIX

-- 
Life is full of contradictions No it isn't.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help!! - SQLite3::BusyException (database is locked)

2009-01-15 Thread Nate Turnage
On Thu, Jan 15, 2009 at 2:53 PM, Anton Aylward anton.aylw...@rogers.comwrote:

 Sean Cribbs said the following on 01/15/2009 03:27 PM:
  Do you have a rogue/zombie process that has a lock on the SQLite3 db?
  I'd say sweep out any mongrel processes (or restart Apache if you're
  using Passenger) and try again.

 Its hosted at Dreamhost but I've tried killing everything in my ID
 except the login shell.

 NIX



Have you submitted a support request to Dreamhost?


~Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help!! - SQLite3::BusyException (database is locked)

2009-01-15 Thread Anton Aylward
Nate Turnage said the following on 01/15/2009 03:27 PM:

 
 Ah, sorry. This begs the question then, is there any kind of way of
 accessing an SQLite from the terminal to run SQL statements on it?

./scripts/console production

a = Page.find(:first)

Yup, works.

a.save

Nope, busyexception message.

I can also do

$ sqlite3 radiant_live.sqlite.db
SQLite version 3.2.1
Enter .help for instructions
sqlite


What now?


-- 
...there is no reason anyone would want a computer in their home.
Ken Olson, President, Chairman, and Founder of DEC, 1977
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] help

2008-11-24 Thread Sean Cribbs

Anything specific we can help with?

Sean

Chris Hoad wrote:


Chris Hoad

Email: [EMAIL PROTECTED]
Tel: +44 1763 852361
Mob: +44 7905 475916

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] help

2008-11-24 Thread Adam van den Hoven

Some how this conjures up a scene from a John Wayne movie for me.

Adam
On 24-Nov-08, at 2:24 PM, Sean Cribbs wrote:


Anything specific we can help with?

Sean

Chris Hoad wrote:


Chris Hoad

Email: [EMAIL PROTECTED]
Tel: +44 1763 852361
Mob: +44 7905 475916

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] help with dynamic_image extension

2008-11-19 Thread Sean Cribbs

Adam van den Hoven wrote:

I'll jump on IRC soonest (any suggestions for a good mac client?)


Colloquy is what everyone I know uses.

Sean
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] help with dynamic_image extension

2008-11-19 Thread Adam van den Hoven

yeah that's what I'm using now...

Thx, by the way, for the help.

Adam

On 19-Nov-08, at 6:31 AM, Sean Cribbs wrote:


Adam van den Hoven wrote:

I'll jump on IRC soonest (any suggestions for a good mac client?)


Colloquy is what everyone I know uses.

Sean
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] help with dynamic_image extension

2008-11-19 Thread Jerry Hilts

Colloquy

http://colloquy.info/


On 18 Nov, 2008, at 23:42, Adam van den Hoven wrote:


I'll jump on IRC soonest (any suggestions for a good mac client?)


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant/Rails Implementation

2008-11-19 Thread Mohit Sindhwani

Chris Parrish wrote:

   * Your idea here...



Probably way out on a limb here (blame it on the time), but how about 
keeping that 1 table for that 1 column!  OK, before you relegate it to 
Junk Mail :) here's an explanation:


If I remember correctly (and I may be completely wrong), SnS supports 
certain types of extensions?  If that's the case, then it could be that 
all extensions using/ relying on SnS can assume the existence of this 1 
table for storing information that is updated via callbacks and is 
intended to bypass all the other callbacks that you mentioned?


(Even if you're not supporting extensions, this could be a model/ table 
that general extensions can use for storing exactly this kind of thing).


Cheers
Mohit.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help recovering a lost snippet

2008-10-07 Thread Sean Cribbs

John,

That is a really odd error!  Is the ResponseCache expiration set to 
something ridiculously huge?


Sean

john wrote:
Today I logged into a client's Radiant site to do some maintenance and 
found that a snippet central to running their website was not there 
anymore. I called the client to see if they had been mucking about, 
they lost their password about 3-4 months ago so definitely wasn't them.


Now the fun part! The snippet is still functioning just fine on their 
site! Thinking maybe the mongrels were at fault I restarted each one 
to no avail. Restart nginx, no luck. Finally I went into the mysql 
command line and did,


use radiant_db;
select * from snippets where name=order-form;

and get back empty set so apparently the snippet is not even in the 
database. Yet there are pages clearly using r:snippet 
name=order-form/ that are not returning the tag error page you'd 
get when calling a non-existent snippet.


Does anyone have any idea what could possibly be happening here? This 
is a Radiant 0.6.6 install with only the old mailer extension installed.


thanks

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help recovering a lost snippet

2008-10-07 Thread john
Very odd. All ResponseCache settings are the defaults. I even rebooted  
the server and still encountered the phantom snippet. When I finally  
got over the magic of it all, I dumped the db, loaded the dump file  
locally and could see the snippet in there. Taking what I found in  
there (namely the snippet code that I'd long since forgot) I just  
created a new snippet (on the live site) of the exact same name with  
no validation errors; so no more missing snippet and still no broken  
pages. Looking at the logs I can see visitors using pages that would  
require that snippet error free since forever. Who knows what freaky  
mysql gremlins are at work.



On 2008/10/07, at 18:18, Sean Cribbs wrote:


John,

That is a really odd error!  Is the ResponseCache expiration set to  
something ridiculously huge?


Sean

john wrote:
Today I logged into a client's Radiant site to do some maintenance  
and found that a snippet central to running their website was not  
there anymore. I called the client to see if they had been mucking  
about, they lost their password about 3-4 months ago so definitely  
wasn't them.


Now the fun part! The snippet is still functioning just fine on  
their site! Thinking maybe the mongrels were at fault I restarted  
each one to no avail. Restart nginx, no luck. Finally I went into  
the mysql command line and did,


use radiant_db;
select * from snippets where name=order-form;

and get back empty set so apparently the snippet is not even in  
the database. Yet there are pages clearly using r:snippet  
name=order-form/ that are not returning the tag error page you'd  
get when calling a non-existent snippet.


Does anyone have any idea what could possibly be happening here?  
This is a Radiant 0.6.6 install with only the old mailer extension  
installed.


thanks

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with artofmission comments extension

2008-09-03 Thread john

On 2008/09/02, at 00:19, Mohit Sindhwani wrote:


john wrote:
Nevermind, a little patching and it's up and running, now just to  
figure out what To enable spam protection, you will need to set  
your Akismet key and url in the Radiant config. is supposed to  
mean...




Hi John

Can I urge you to please consider writing out the steps and a bit of  
information about the little patching that you did into the Summer  
Reboot Documentation Wiki?  An example of an a page about an  
extension is at:
http://wiki.radiantcms.org/Copy_and_Move - don't worry about  
screenshots.  I need to use comments in the next couple of weeks, so  
I can create them for you when I get to it.


The Summer Reboot wiki is at: http://wiki.radiantcms.org/Summer_Reboot


The patching was mostly to radiant 0.6.6 to get it behaving close  
enough to what the comments extension expects (i.e. 0.6.7+). I'd  
suspect an up to date radiant install would need little or no effort  
to get working.


As for the Akismet key, you can read more about akismet at their  
website: http://akismet.com/ - if I understand it correctly, it will  
help you scan the comments that have just been entered and give you  
back information about whether it is likely to be spam.  You can get  
an Akismet key (free for personal use) by signing up for Wordpress - http://akismet.com/personal/ 
 - a key comprises a key and the URL to which it applies.  You'll  
get both of these when you sign up.




You need to enter this key into the Radiant configuration so that  
the comments extension can use it to probe Akismet if comments are  
spam.  For changing items in the Radiant config, there's an example  
here: http://wiki.radiantcms.org/Customizations_II in the first  
section.


I looked at the source of the extension and found this:

def akismet
  @akismet ||= Akismet.new(Radiant::Config['comments.akismet_key'],  
Radiant::Config['comments.akismet_url'])

end

I'm guessing you need to set:  
Radiant::Config['comments.akismet_key'] and  
Radiant::Config['comments.akismet_url'] Hope this helps. Also, hope  
that you'll seriously consider documenting the steps on Summer  
Reboot :) Cheers, Mohit. 9/2/2008 | 2:19 PM.


Thanks, about as soon as I hit send I realized that Askimet must be  
something external to radiant, so now I've got my key/url pair but no  
time to work to that project. I should have some time this week (or  
next) to return to this issue and maybe even document the process.




___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with artofmission comments extension

2008-09-02 Thread Mohit Sindhwani

john wrote:
Nevermind, a little patching and it's up and running, now just to 
figure out what To enable spam protection, you will need to set your 
Akismet key and url in the Radiant config. is supposed to mean...




Hi John

Can I urge you to please consider writing out the steps and a bit of 
information about the little patching that you did into the Summer 
Reboot Documentation Wiki?  An example of an a page about an extension 
is at:
http://wiki.radiantcms.org/Copy_and_Move - don't worry about 
screenshots.  I need to use comments in the next couple of weeks, so I 
can create them for you when I get to it.


The Summer Reboot wiki is at: http://wiki.radiantcms.org/Summer_Reboot

As for the Akismet key, you can read more about akismet at their 
website: http://akismet.com/ - if I understand it correctly, it will 
help you scan the comments that have just been entered and give you back 
information about whether it is likely to be spam.  You can get an 
Akismet key (free for personal use) by signing up for Wordpress - 
http://akismet.com/personal/ - a key comprises a key and the URL to 
which it applies.  You'll get both of these when you sign up.


You need to enter this key into the Radiant configuration so that the 
comments extension can use it to probe Akismet if comments are spam.  
For changing items in the Radiant config, there's an example here: 
http://wiki.radiantcms.org/Customizations_II in the first section.


I looked at the source of the extension and found this:

 def akismet
   @akismet ||= Akismet.new(Radiant::Config['comments.akismet_key'], 
Radiant::Config['comments.akismet_url'])
 end I'm guessing you need to set: 
Radiant::Config['comments.akismet_key'] and 
Radiant::Config['comments.akismet_url'] Hope this helps. Also, hope that 
you'll seriously consider documenting the steps on Summer Reboot :) 
Cheers, Mohit. 9/2/2008 | 2:19 PM.



___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with artofmission comments extension

2008-09-01 Thread john
Nevermind, a little patching and it's up and running, now just to  
figure out what To enable spam protection, you will need to set your  
Akismet key and url in the Radiant config. is supposed to mean...



On 2008/08/31, at 12:22, john wrote:

If there is any actual documentation for the artofmission comments  
extension could someone please point me to it. If not maybe someone  
who has experience with it knows where I'm going wrong. So far I've  
done


1. Installed the latest will_paginate from mislav
2. Installed the fastercsv gem
3. Installed the comments extension
4. Ran the comments extension migration
5. Restarted the server
6. Added `r:snippet name=comment/` to my blog page template

After #6 I check the site and get the following instead of a comment  
block:


undefined method `author_url' for nil:NilClass
undefined method `author' for nil:NilClass
undefined method `author_url' for nil:NilClass
said on
undefined method `created_at' for nil:NilClass
:
undefined method `content_html' for nil:NilClass
undefined method `approved?' for nil:NilClass
undefined method `approved?' for nil:NilClass

The logs don't show anything unusual or errorish.

I also tried `r:snippet name=comments/`  `r:snippet  
name=comment_form/` in my template but those don't show anything  
when the page is rendered not even the above error.


Anyone have an idea what is going on here?

Thanks.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-07-03 Thread Andrea Franz
On Wed, Jul 2, 2008 at 7:36 PM, Alfredo Perez [EMAIL PROTECTED] wrote:
 Andrea

 This is what the log says, do you see any problems?

 Processing GalleryImportingsController#import (for XXX.XXX.XXX.XXX at 
 2008-06-30 17
 :18:21) [PUT]
  Session ID: 092afe677c170c91bee73aa211da297b
  Parameters: {gallery_id=1, action=import, _method=put, 
 id=1
 , controller=gallery_importings}


 ActionController::InvalidAuthenticityToken 
 (ActionController::InvalidAuthenticit
 yToken):

Yes, the authenticity_token is not sent with the form. I fixed this
bug in the latest version, maybe you aren't using the latest gallery
extension.
Try to pull from github and let me know ;)

-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-07-03 Thread Alfredo Perez
WOW, it works... finally it works... I was about to give up on rails

Now I have figure out how to create the gallery and put it on the net

Big thanks my friend Andreas

Alfredo

On Thu, Jul 03, 2008 at 06:39:17PM +0200, Andrea Franz wrote:
 On Thu, Jul 3, 2008 at 5:29 PM, Alfredo Perez [EMAIL PROTECTED] wrote:
  I pulled the latest from github and replaced the folder gallery on my 
  server.
 
  Do I have to re-create the the whole project with the new gallery data?
 
 You just need to run the radiant:extensions:gallery:install task.
 It should update the db and the configuration files. Images will not
 be removed, let me know.
 
 
  Alfredo
 
  BTW: I wanted to thank you for your help
 
  On Thu, Jul 03, 2008 at 10:46:32AM +0200, Andrea Franz wrote:
  On Wed, Jul 2, 2008 at 7:36 PM, Alfredo Perez [EMAIL PROTECTED] wrote:
   Andrea
  
   This is what the log says, do you see any problems?
  
   Processing GalleryImportingsController#import (for XXX.XXX.XXX.XXX at 
   2008-06-30 17
   :18:21) [PUT]
Session ID: 092afe677c170c91bee73aa211da297b
Parameters: {gallery_id=1, action=import, _method=put, 
   id=1
   , controller=gallery_importings}
  
  
   ActionController::InvalidAuthenticityToken 
   (ActionController::InvalidAuthenticit
   yToken):
 
  Yes, the authenticity_token is not sent with the form. I fixed this
  bug in the latest version, maybe you aren't using the latest gallery
  extension.
  Try to pull from github and let me know ;)
 
  --
  Andrea Franz
  http://gravityblast.com - http://nimboo.net
  ___
  Radiant mailing list
  Post:   Radiant@radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
 
  ___
  Radiant mailing list
  Post:   Radiant@radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
 
 
 
 
 -- 
 Andrea Franz
 http://gravityblast.com - http://nimboo.net
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-07-02 Thread Alfredo Perez
Andrea sorry for the question

Which log should I look for errors?

Thanks

Alfredo

Andrea Franz [EMAIL PROTECTED] wrote: On Tue, Jul 1, 2008 at 6:01 PM, Alfredo 
Perez  wrote:
 Same problem with both method (uploading and importing)


Have you got errors in the log file?

-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-07-02 Thread Andrea Franz
On Wed, Jul 2, 2008 at 3:30 PM, Alfredo Perez [EMAIL PROTECTED] wrote:
 Andrea sorry for the question

 Which log should I look for errors?


It should be the production.log file  if you are running radiant with
production environment.

-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-07-02 Thread Alfredo Perez
Andrea

This is what the log says, do you see any problems?

Processing GalleryImportingsController#import (for XXX.XXX.XXX.XXX at 
2008-06-30 17
:18:21) [PUT]
  Session ID: 092afe677c170c91bee73aa211da297b
  Parameters: {gallery_id=1, action=import, _method=put, id=1
, controller=gallery_importings}


ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticit
yToken):
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/request_forgery_protection.rb:79:in `verify_authenticity_token'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/filters.rb:469:in `send!'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/filters.rb:469:in `call'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/filters.rb:441:in `run'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/filters.rb:716:in `run_before_filters'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/filters.rb:695:in `call_filters'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/filters.rb:689:in `perform_action_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/rescue.rb:199:in `perform_action_without_caching'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/caching.rb:678:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/acti
ve_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/acti
ve_record/query_cache.rb:8:in `cache'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/caching.rb:677:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/base.rb:524:in `send'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/base.rb:524:in `process_without_filters'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/filters.rb:685:in `process_without_session_management_support'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/session_management.rb:123:in `sass_old_process'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/plugins/haml/lib/sass/plugi
n/rails.rb:19:in `process'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/base.rb:388:in `process'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/dispatcher.rb:171:in `handle_request'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/dispatcher.rb:115:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/dispatcher.rb:126:in `dispatch_cgi'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/actionpack/lib/action
_controller/dispatcher.rb:9:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/railties/lib/webrick_
server.rb:112:in `handle_dispatch'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/railties/lib/webrick_
server.rb:78:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/railties/lib/webrick_
server.rb:62:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/railties/lib/commands
/servers/webrick.rb:66
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_
require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activesupport/lib/act
ive_support/dependencies.rb:496:in `require'
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activesupport/lib/act

Re: [Radiant] Help with Radiant Gallery

2008-07-01 Thread Andrea Franz
On Mon, Jun 30, 2008 at 11:25 PM, Alfredo Perez [EMAIL PROTECTED] wrote:
 On Mon, Jun 30, 2008 at 08:01:21PM +0200, Andrea Franz wrote:
 On Mon, Jun 30, 2008 at 7:15 PM, Alfredo Perez [EMAIL PROTECTED] wrote:
  Hi
 
  I was wondering if there is anybody who can
  point me to the right direction.
 
  I havent been able to upload pictures to my
  server where radiant gallery is installed.
 
  There are instructions on how to import files by creating an import folder.
 
  My question is:
 
  Where in the server should I create this folder?

 You should create it under the public/galleries folder.
 Let me know if everything work.

 It didn't work, I created a public/galleries/import folder and I put
 pic in there.

Have you got the same problem uploading files or you have the problem
only importing?

-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-07-01 Thread Alfredo Perez
Same problem with both method (uploading and importing)

Andrea Franz [EMAIL PROTECTED] wrote: On Mon, Jun 30, 2008 at 11:25 PM, 
Alfredo Perez  wrote:
 On Mon, Jun 30, 2008 at 08:01:21PM +0200, Andrea Franz wrote:
 On Mon, Jun 30, 2008 at 7:15 PM, Alfredo Perez  wrote:
  Hi
 
  I was wondering if there is anybody who can
  point me to the right direction.
 
  I havent been able to upload pictures to my
  server where radiant gallery is installed.
 
  There are instructions on how to import files by creating an import folder.
 
  My question is:
 
  Where in the server should I create this folder?

 You should create it under the public/galleries folder.
 Let me know if everything work.

 It didn't work, I created a public/galleries/import folder and I put
 pic in there.

Have you got the same problem uploading files or you have the problem
only importing?

-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-06-30 Thread Steven Southard
This happened too me when I used the gallery.  The problem for me was  
that I didn't have the RMagick installed on my server.  Might check  
that.


--Steven

Steven Southard
http://www.stevensouthard.com

On Jun 30, 2008, at 12:15 PM, Alfredo Perez wrote:


Hi

I was wondering if there is anybody who can
point me to the right direction.

I havent been able to upload pictures to my
server where radiant gallery is installed.

There are instructions on how to import files by creating an import  
folder.


My question is:

Where in the server should I create this folder?

Thanks in advance

Alfredo

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-06-30 Thread Andrea Franz
On Mon, Jun 30, 2008 at 7:15 PM, Alfredo Perez [EMAIL PROTECTED] wrote:
 Hi

 I was wondering if there is anybody who can
 point me to the right direction.

 I havent been able to upload pictures to my
 server where radiant gallery is installed.

 There are instructions on how to import files by creating an import folder.

 My question is:

 Where in the server should I create this folder?

You should create it under the public/galleries folder.
Let me know if everything work.

-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-06-30 Thread Andrea Franz
On Mon, Jun 30, 2008 at 7:15 PM, Alfredo Perez [EMAIL PROTECTED] wrote:
 Hi

 I was wondering if there is anybody who can
 point me to the right direction.

 I havent been able to upload pictures to my
 server where radiant gallery is installed.


Did you install rmagick?

-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with Radiant Gallery

2008-06-30 Thread Alfredo Perez
On Mon, Jun 30, 2008 at 08:01:21PM +0200, Andrea Franz wrote:
 On Mon, Jun 30, 2008 at 7:15 PM, Alfredo Perez [EMAIL PROTECTED] wrote:
  Hi
 
  I was wondering if there is anybody who can
  point me to the right direction.
 
  I havent been able to upload pictures to my
  server where radiant gallery is installed.
 
  There are instructions on how to import files by creating an import folder.
 
  My question is:
 
  Where in the server should I create this folder?
 
 You should create it under the public/galleries folder.
 Let me know if everything work.

It didn't work, I created a public/galleries/import folder and I put
pic in there.

I tried to import it but nothing happened.

I also made sure rmagick was install on my ubuntu system

I issue command: sudo gem install rmagick and it was successfull

Is there anyother thing I could do?

Thanks

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with r:children:each and r:snippet

2008-06-27 Thread Alex Wayne
Turns our I am getting this when rendering ANY snippet, and ANY  
context :(


-Alex
http://beautifulpixel.com

On Jun 27, 2008, at 2:24 PM, Alex Wayne wrote:

I am trying to render a blog post snippet iteratively on a blog  
index page.  When when I view the blog page, I get wrong number of  
arguments (2 for 1)


First off, any way I can get info about that error?  Radiant seems  
to trap all errors from bubbling up, and they don't even appear in  
my log file.


Here's the markup in question
http://www.pastie.org/223693

Also, I just discovered if I render a blank snippet, it still  
errors.  It's as if r:snippet inside r:children:each just  
crashes.  Any ideas?



-Alex
http://beautifulpixel.com

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Help with r:children:each and r:snippet

2008-06-27 Thread Jim Gay
I saw an error like this when trying to upgrade an app from rails  
1.2.6 to rails 2.0 and it had to do (in my case) with any method that  
used url_options_for (if I recall the name of the method correctly).
I don't know if that helps, but do you have some setup where a  
different version of rails is being loaded than the one provided with  
the Radiant gem?


-Jim

On Jun 27, 2008, at 5:37 PM, Alex Wayne wrote:

Turns our I am getting this when rendering ANY snippet, and ANY  
context :(


-Alex
http://beautifulpixel.com

On Jun 27, 2008, at 2:24 PM, Alex Wayne wrote:

I am trying to render a blog post snippet iteratively on a blog  
index page.  When when I view the blog page, I get wrong number of  
arguments (2 for 1)


First off, any way I can get info about that error?  Radiant seems  
to trap all errors from bubbling up, and they don't even appear in  
my log file.


Here's the markup in question
http://www.pastie.org/223693

Also, I just discovered if I render a blank snippet, it still  
errors.  It's as if r:snippet inside r:children:each just  
crashes.  Any ideas?



-Alex
http://beautifulpixel.com

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant