New issue report by carl.leiby:
What steps will reproduce the problem?
1. run the app in an apache fcgi environment like Dreamhost
2. go to the stats page
What is the expected output? What do you see instead?
Expected output is stats. I'm getting a 500 error
What version of the product are you using? On what operating system?
eXPlainPMT-20070423.0.tar.gz on linux.
Please provide any additional information below.
Basically it's down to this line in your stats controller:
graph.render(:width => 600, :min_value => 0, :to =>
"public/images/#{@project.name}burndown.svg")
It's the last line in the index method. Changing it to:
graph.render(:width => 600, :min_value => 0, :to => File.join(RAILS_ROOT,
"public", "images", "#{@project.name}burndown.svg"))
solves my problem. It seems that in my fcgi environment the directory in
which the app is running isn't necessarily one above public.
Let me know if this doesn't work for you.
Thanks
Carl
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings