svenfuchs / adva_cms
- Source
- Commits
- Network (49)
- Issues (2)
- Downloads (9)
- Wiki (5)
- Graphs
-
Branch:
master
-
uninitialized constant BaseController::OutputFilter
3 comments Created 7 months ago by galenkingHi guys,
When I try to run the rake tasks, I get this error every time: "uninitialized constant BaseController::OutputFilter"
Any ideas?
Cheers,
Galen
Comments
-
When doing a:
rake adva:install engines=adva_newsletter
The rake will fail with "no such file to load -- addressable/uri". There is a missing gem "addressable" that should be integrated somehow. This is important as it trips up a simple adva:install:all besides the obvious single engine install. This also trips an adva:install plugins=all . The simple answer is to install the gem locally, but this fails to bring in the ease and nature of keeping engines easily installable and removable. Perhaps we should think about a hook that checks each engines environment.rb for required engines, installing them, before installing the engine.
Comments
Late answer but anyway,
addressable is now removed from adva_newsletter sho this problem should not exist anymore.
m3talsmith
Tue Aug 04 20:37:25 -0700 2009
| link
Late answer back .. Thanks :)
-
this can be fixed by changing
config.plugin_gem 'rubypants', :version => '~> 0.2.0', :lib => 'ruby_pants'
to
config.plugin_gem 'rubypants', :version => '~> 0.2.0', :lib => 'rubypants'
Comments
Hi Mischa,
I cannot reproduce the original error.
Here is my console log - as you see with the fix it breaks for me:
http://pastie.org/private/z2gzwlfgpkxbr4cojp47g
-- Marko
-
Ok, I'm new to the adva CMS so it took me some time to figure this out. But since my last name is Aßmann it really bothered me. :)
in adva_cms/engines/adva_cms/public/javascripts/adva_cms/application.js at line 4 you try to unescape the values from a cookie. It seems Rails uses URI encode for values stored in cookies so you need to call decodeURIComponent instead of unescape.
Regards
Florian Aßmann !(Florian AÃmann :)Comments
Hi Florian,
thanks for pointing this out. The proposed fix doesn't seem to work for me though:
http://skitch.com/svenfuchs/n8fxw/adva-cms-cookie-encoding
Any further ideas?
Ah, my fail. Forgot that I changed authentication_user.rb, too. I've wrapped user.name in a CGI.escape before assignment to cookies[:uname]. This works for me in FF 3.5.5 and Safari 4.0.3.
Ah, alright, pushed: http://github.com/svenfuchs/adva_cms/commit/c139e0ef0bfa380061ad2c045798df4d5658da91
Does that work for you?
-
Installation Error when installing on Windows XP
0 comments Created 2 months ago by marcricI have tried the two installations alternatives:
The "using a template" one returns a "non git repository" error.
And the "manually" alternative, give me the same error already reported by Shree in the Google discussion group.
http://groups.google.com/group/adva-cms/browse_thread/thread/42361bc4373a5e52
Apparently the installation procedure is not properly tested...
Unfortunately I'm a newbie in Rails, and don't know how to help.
MarcRic
Comments
-
$ rails app_name -m http://github.com/svenfuchs/adva_cms/raw/master/templates/adva-cms.0.3.0.rb
...
Switched to a new branch 'tag/0.3.0'
rake adva:install:core -R vendor/adva/engines/adva_cms/lib/tasks
rake aborted!
no such file to load -- action_mailer
Comments





Yeah I ran in to this a few days back. It looks like the load_path is off some how. I think it might be a race condition because the module and class definitely exist.
Add this after line 5 of engines/adva_cms/lib/tasks/adva_cms.rake
ENV['plugins'] = %w(adva_cells).join(',')Awesome, that did it. Thanks.