I've just updated my Radiant installation on a shared server
(RailsPlayground) from a 0.6.x version to 0.8.0.
www.milleunacoda.it
Update and migration ended correctly (not a bootstrap) but the result
is:
- pages are not loaded at first time, they show the css file. Forcing
browser to recharge them they load correctly.
- admin page don't works. After login I receive the "Application error
(Apache)" page. Log says:
Processing Admin::WelcomeController#login (for 80.174.197.81 at
2009-06-28 15:54:47) [GET]
Parameters: {"action"=>"login", "controller"=>"admin/welcome"}
Rendering template within layouts/application
Rendering admin/welcome/login
Completed in 9ms (View: 6, DB: 1) | 200 OK
[http://www.milleunacoda.it/admin/login]
/!\ FAILSAFE /!\ Sun Jun 28 15:54:55 -0500 2009
Status: 500 Internal Server Error
wrong number of arguments (1 for 2)
/home/seuck/radiant/vendor/radiant/vendor/rack-cache/lib/rack/cache/metastore.rb:94:in
`restore_response'
/home/seuck/radiant/vendor/radiant/vendor/rack-cache/lib/rack/cache/metastore.rb:94:in
`invalidate'
/home/seuck/radiant/vendor/radiant/vendor/rack-cache/lib/rack/cache/metastore.rb:93:in
`map'
/home/seuck/radiant/vendor/radiant/vendor/rack-cache/lib/rack/cache/metastore.rb:93:in
`invalidate'
/home/seuck/radiant/vendor/radiant/vendor/rack-cache/lib/rack/cache/context.rb:137:in
`invalidate'
/home/seuck/radiant/vendor/radiant/vendor/rack-cache/lib/rack/cache/context.rb:69:in
`call!'
/home/seuck/radiant/vendor/radiant/vendor/rack-cache/lib/rack/cache/context.rb:50:in
`call'
Any clue?
Thanks a lot
Antonio
on 2009-06-29 00:37
on 2009-06-30 22:49
Toni Bianchetti wrote: > I've just updated my Radiant installation on a shared server > (RailsPlayground) from a 0.6.x version to 0.8.0. > www.milleunacoda.it > > Update and migration ended correctly (not a bootstrap) but the result > is: > - pages are not loaded at first time, they show the css file. Forcing > browser to recharge them they load correctly. > - admin page don't works. After login I receive the "Application error > (Apache)" page. Log says: I am experiencing the exact same issue with a fresh 0.8.0 install on shared hosting. Looks to be some incompatibility of Rack::Cache and the FastCGI execution enviroment.
on 2009-08-01 03:44
Lorand Bruhacs wrote: > Toni Bianchetti wrote: >> I've just updated my Radiant installation on a shared server >> (RailsPlayground) from a 0.6.x version to 0.8.0. >> www.milleunacoda.it >> >> Update and migration ended correctly (not a bootstrap) but the result >> is: >> - pages are not loaded at first time, they show the css file. Forcing >> browser to recharge them they load correctly. >> - admin page don't works. After login I receive the "Application error >> (Apache)" page. Log says: > > I am experiencing the exact same issue with a fresh 0.8.0 install on > shared hosting. Looks to be some incompatibility of Rack::Cache and the > FastCGI execution enviroment. yes im having the same problem. although it kinda work when i refresh the page.
on 2009-08-17 19:33
Anyone solved this? I am getting problem in a shared hosting environment. Cpx Cpx wrote: > Lorand Bruhacs wrote: >> Toni Bianchetti wrote: >>> I've just updated my Radiant installation on a shared server >>> (RailsPlayground) from a 0.6.x version to 0.8.0. >>> www.milleunacoda.it >>> >>> Update and migration ended correctly (not a bootstrap) but the result >>> is: >>> - pages are not loaded at first time, they show the css file. Forcing >>> browser to recharge them they load correctly. >>> - admin page don't works. After login I receive the "Application error >>> (Apache)" page. Log says: >> >> I am experiencing the exact same issue with a fresh 0.8.0 install on >> shared hosting. Looks to be some incompatibility of Rack::Cache and the >> FastCGI execution enviroment. > > yes im having the same problem. although it kinda work when i refresh > the page.
on 2009-08-17 19:38
Here is a workaround. This works. http://lists.radiantcms.org/pipermail/radiant/2009... Geordee Naliyath wrote: > Anyone solved this? I am getting problem in a shared hosting > environment. > > Cpx Cpx wrote: >> Lorand Bruhacs wrote: >>> Toni Bianchetti wrote: >>>> I've just updated my Radiant installation on a shared server >>>> (RailsPlayground) from a 0.6.x version to 0.8.0. >>>> www.milleunacoda.it >>>> >>>> Update and migration ended correctly (not a bootstrap) but the result >>>> is: >>>> - pages are not loaded at first time, they show the css file. Forcing >>>> browser to recharge them they load correctly. >>>> - admin page don't works. After login I receive the "Application error >>>> (Apache)" page. Log says: >>> >>> I am experiencing the exact same issue with a fresh 0.8.0 install on >>> shared hosting. Looks to be some incompatibility of Rack::Cache and the >>> FastCGI execution enviroment. >> >> yes im having the same problem. although it kinda work when i refresh >> the page.
on 2009-08-17 22:14
Thanks a lot. It's the fist real help of this post. Btw, I've tryed to apply the same change in /lib/radiant/cache.rb described in the linked post, restart the server but nothing have changed. My modified production file is located in: /home/seuck/radiant/vendor/ The last post of the linked discussion regarding "mailer.post_to_page? = true" is quite obscure. Please, can someone explaing exactly what to do? Cheers Toni Geordee Naliyath wrote: > Here is a workaround. This works. > > http://lists.radiantcms.org/pipermail/radiant/2009...
on 2009-08-18 06:06
Here is the diff. Change the 48th line in cache.rb. It worked for me in
Site5.
diff --git a/lib/radiant/cache.rb b/lib/radiant/cache.rb
index a825555..2e16de9 100644
--- a/lib/radiant/cache.rb
+++ b/lib/radiant/cache.rb
@@ -48,7 +48,7 @@ module Radiant
end
private
- def restore_response(hash, body)
+ def restore_response(hash, body=nil)
# Cribbed from the Rack::Cache source
status = hash.delete('X-Status').to_i
response = Rack::Cache::Response.new(status, hash, body)
Toni Bianchetti wrote:
> Thanks a lot. It's the fist real help of this post.
>
> Btw, I've tryed to apply the same change in
> /lib/radiant/cache.rb
> described in the linked post, restart the server but nothing have
> changed.
>
> My modified production file is located in:
> /home/seuck/radiant/vendor/
>
> The last post of the linked discussion regarding "mailer.post_to_page? =
> true" is quite obscure.
>
> Please, can someone explaing exactly what to do?
>
> Cheers
> Toni
>
>
> Geordee Naliyath wrote:
>> Here is a workaround. This works.
>>
>> http://lists.radiantcms.org/pipermail/radiant/2009...
on 2009-09-20 23:42
Geordee Naliyath wrote: > Here is the diff. Change the 48th line in cache.rb. It worked for me in > Site5. > > > diff --git a/lib/radiant/cache.rb b/lib/radiant/cache.rb > index a825555..2e16de9 100644 > --- a/lib/radiant/cache.rb > +++ b/lib/radiant/cache.rb > @@ -48,7 +48,7 @@ module Radiant > end > private > - def restore_response(hash, body) > + def restore_response(hash, body=nil) > # Cribbed from the Rack::Cache source > status = hash.delete('X-Status').to_i > response = Rack::Cache::Response.new(status, hash, body) This change finally entered in 0.8.1. Unfortunatelly I've updated my Radiant installation to version 0.8.1 and nothing have changed. I'm experimenting the same problem as before, maybe more predictable: - the home page end all other pages appear like the Radiant generated main site css: /main.css - deleting tmp/cache and restarting dispatch.fcgi shows the home page without css in place of whatever page I try to load Any clue? Thanks in advance.
on 2009-11-29 01:46
As a temporary solution, simply disabling page cache it works again: In "config/environment.rb", comments "config.middleware.use ::Radiant::Cache"
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.