Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Usage  >  Troubleshooting  >  Thread
   
2 of 2
Prev
1
2
Stats doesn’t work, everything else does
 
ridiz
Posted: 13 June 2009 12:35 PM   [ Ignore ]   [ # 16 ]  
Newbie
Rank
Total Posts:  2
Joined  2009-06-13

I’m experiencing the same thing on DH.  The stats page used to work a while back (maybe in 1.6?), but I don’t really use it much.  Today I decided to take a look and experienced the same issue you have.  I’m not sure if this is a result of a change in Tracks or something that DH just started doing.

Profile
 
griffinm
Posted: 18 June 2009 12:15 AM   [ Ignore ]   [ # 17 ]  
Newbie
Rank
Total Posts:  1
Joined  2009-06-18

I ran into this problem as well and managed to fix it.
There are just a couple of lines to add to the config/routes.rb file

map.statistics 'statistics', :controller => 'stats', :action => 'index'
map.connect 'statistics/:action', :controller => 'stats', :action =>':action' 

I added them just before

map.resources :recurring_todos, 

which was around line 70 originally.

Hope this helps some people, the stats look really nice when they’re working.

Profile
 
ridiz
Posted: 18 June 2009 12:37 AM   [ Ignore ]   [ # 18 ]  
Newbie
Rank
Total Posts:  2
Joined  2009-06-13

Thanks griffinm, that worked a charm!

Profile
 
Reinier Balt
Posted: 18 June 2009 08:55 AM   [ Ignore ]   [ # 19 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

this explains a lot grin

Perhaps you could try to change the rule in config/routes.rb

map.stats ‘statistics’, :controller => ‘stats’, :action => ‘index’

Profile
 
Reinier Balt
Posted: 18 June 2009 08:56 AM   [ Ignore ]   [ # 20 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

whoeps, sorry guys. Didn’t notice the second page.

Profile
 
Reinier Balt
Posted: 18 June 2009 08:59 AM   [ Ignore ]   [ # 21 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

added solution to wiki

Profile
 
bjones
Posted: 26 June 2009 04:45 PM   [ Ignore ]   [ # 22 ]  
Newbie
Rank
Total Posts:  12
Joined  2009-06-10

Fixed the issue for me as well. Thanks for the help, everyone. Much appreciated.

Profile
 
deadman
Posted: 15 July 2009 09:43 AM   [ Ignore ]   [ # 23 ]  
Newbie
Rank
Total Posts:  1
Joined  2009-07-15

alternatively, you can edit your .htaccess file to include this code:

<IfModule mod_rewrite.c>
 
RewriteEngine On
 RewriteBase 
/
 
RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$ [NC]
 RewriteRule 
. - [L]
 
</IfModule> 

taken from their wiki here: http://wiki.dreamhost.com/Making_stats_accessible_with_htaccess

Profile
 
   
2 of 2
Prev
1
2
 
‹‹ NoMethodError in Recurring_todos#index      Printing tasks ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.1171 seconds

Atom Feed
RSS 2.0