Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
505 problem "storeSheets" stylesheet_link_tag problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sgehrman  
View profile  
 More options Jan 19, 10:45 pm
From: sgehrman <sgehr...@gmail.com>
Date: Thu, 19 Jan 2012 19:45:51 -0800 (PST)
Local: Thurs, Jan 19 2012 10:45 pm
Subject: 505 problem "storeSheets" stylesheet_link_tag problem
Just updated to the latest master code

I put it on heroku and it doesn't like this "storeSheets" thing

        <%= stylesheet_link_tag "store", "mytheme", :media => "all", :cache
=> "storeSheets" %>

Anyone know what is happening?  This code is fairly new.

2012-01-20T03:28:59+00:00 app[web.1]: ActionView::TemplateError
(Permission denied - /app/public/stylesheets/storeSheets.css) on line
#7 of app/views/layouts/store.html.erb:
2012-01-20T03:28:59+00:00 app[web.1]: 4:     <meta http-equiv="Content-
Type" content="text/html; charset=UTF-8"/>
2012-01-20T03:28:59+00:00 app[web.1]: 5:     <title><%=
$STORE_PREFS['store_name']%></title>
2012-01-20T03:28:59+00:00 app[web.1]: 7:        <%=
stylesheet_link_tag "store", "mytheme", :media => "all", :cache =>
"storeSheets" %>
2012-01-20T03:28:59+00:00 app[web.1]: 6:     <link rel="icon" href="/
favicon.png" type="image/png"/>
2012-01-20T03:28:59+00:00 app[web.1]: 8: <!--[if lt IE 7]>
2012-01-20T03:28:59+00:00 app[web.1]: 9: <script
language="JavaScript">window.attachEvent("onload", correctPNG);</
script>
2012-01-20T03:28:59+00:00 app[web.1]: 10: <![endif]-->
2012-01-20T03:28:59+00:00 app[web.1]:
2012-01-20T03:28:59+00:00 app[web.1]:     app/views/layouts/
store.html.erb:7
2012-01-20T03:28:59+00:00 app[web.1]:     app/controllers/store/
order_controller.rb:9:in `index'
2012-01-20T03:28:59+00:00 app[web.1]:     /home/heroku_rack/lib/
static_assets.rb:9:in `call'
2012-01-20T03:28:59+00:00 app[web.1]:     /home/heroku_rack/lib/
last_access.rb:15:in `call'
2012-01-20T03:28:59+00:00 app[web.1]:     /home/heroku_rack/lib/
date_header.rb:14:in `call'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
connection.rb:74:in `catch'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
connection.rb:74:in `pre_process'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
connection.rb:76:in `pre_process'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
connection.rb:57:in `process'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
connection.rb:42:in `receive_data'
2012-01-20T03:28:59+00:00 app[web.1]:     eventmachine (0.12.10) lib/
eventmachine.rb:256:in `run_machine'
2012-01-20T03:28:59+00:00 app[web.1]:     eventmachine (0.12.10) lib/
eventmachine.rb:256:in `run'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
server.rb:156:in `start'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
controllers/controller.rb:80:in `start'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
runner.rb:177:in `run_command'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
runner.rb:177:in `send'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
backends/base.rb:57:in `start'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) lib/thin/
runner.rb:143:in `run!'
2012-01-20T03:28:59+00:00 app[web.1]:     thin (1.2.6) bin/thin:6
2012-01-20T03:28:59+00:00 app[web.1]:     /usr/ruby1.8.7/bin/thin:
19:in `load'


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sgehrman  
View profile   Translate to Translated (View Original)
 More options Jan 19, 11:34 pm
From: sgehrman <sgehr...@gmail.com>
Date: Thu, 19 Jan 2012 20:34:21 -0800 (PST)
Local: Thurs, Jan 19 2012 11:34 pm
Subject: Re: 505 problem "storeSheets" stylesheet_link_tag problem
Seems the latest code is not compatible with Heroku.

"Heroku is a read-only deployment environment. Because of that, Rails
can't write all.css to /public/stylesheets/ and fails silently. The
stylesheet_link_tag still links to all.css as long as you use cache =>
true, so the quick fix is not to cache stylesheets on Heroku."

So, I would recommend removing this or fixing it to work on Heroku.

-steve

On Jan 19, 7:45 pm, sgehrman <sgehr...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »